-
Notifications
You must be signed in to change notification settings - Fork 0
02 Quick Start
Théophile Chin-nin edited this page Feb 4, 2026
·
1 revision
Get up and running with Dataverse MCP Toolbox in minutes.
- VS Code: Version 1.85.0 or later
- GitHub Copilot: Active subscription (for AI features)
- Dataverse Environment: Access to a Dataverse environment
- Azure AD App: Or use the default public client application
flowchart TB
Start([Start]) --> Install[Install Extension from Marketplace]
Install --> FirstRun[First Run: Extension Activates]
FirstRun --> Check{Runtime<br/>Binaries<br/>Exist?}
Check -->|No| Download[Download Runtime from NuGet.org]
Check -->|Yes| Spawn
Download --> Extract[Extract Platform-Specific Binaries]
Extract --> Store[Store in globalStorageUri]
Store --> Spawn[Spawn Core Server Process]
Spawn --> Ready[Ready to Use]
style Download fill:#ffe1e1
style Ready fill:#e1ffe1
- Open VS Code
- Go to Extensions (⌘+Shift+X / Ctrl+Shift+X)
- Search for "Dataverse MCP Toolbox"
- Click Install
On first activation, the extension will:
- Download the Core Server and MCP Bridge binaries from NuGet
- Extract the appropriate binaries for your platform
- Store them in VS Code's global storage
- Register the MCP server with GitHub Copilot
- Open the Dataverse MCP sidebar (click the Dataverse icon)
- In the Connections section, click + (Add Connection)
- Enter your connection details:
- Name: A friendly name (e.g., "Dev Environment")
-
Environment URL: Your Dataverse URL (e.g.,
https://yourorg.crm.dynamics.com)
- Click Create
sequenceDiagram
participant User
participant Extension
participant Core
participant Browser
participant AAD as Azure AD
participant DV as Dataverse
User->>Extension: Create Connection
Extension->>Core: CreateConnection Request
Core->>Browser: Open OAuth Flow
Browser->>AAD: Authentication
AAD->>Browser: Auth Code
Browser->>Core: Return to Redirect URI
Core->>AAD: Exchange Code for Token
AAD->>Core: Access Token
Core->>DV: Test Connection (WhoAmI)
DV->>Core: User Info
Core->>Extension: Connection Success
Extension->>User: Connection Ready
- A browser window opens for OAuth authentication
- You sign in with your Microsoft account
- The token is securely stored in VS Code's secret storage
- The connection is tested automatically
- The connection appears in the sidebar
- Open GitHub Copilot Chat (Ctrl+Alt+I / ⌘+Alt+I)
- Make sure you have a connection selected (check sidebar)
- Try a command:
@workspace List all the entities in my Dataverse environment
or
@workspace What is my user information in Dataverse?
sequenceDiagram
participant User
participant Copilot
participant Bridge
participant Core
participant DV as Dataverse
User->>Copilot: "List entities"
Copilot->>Bridge: tools/list (MCP)
Bridge->>Core: DiscoverTools
Core->>Bridge: Tool List
Bridge->>Copilot: Available Tools
Copilot->>Bridge: tools/call (list-entities)
Bridge->>Core: ExecuteTool
Core->>DV: RetrieveAllEntities
DV->>Core: Entity Metadata
Core->>Bridge: Tool Result
Bridge->>Copilot: Result (MCP)
Copilot->>User: Formatted Response
Extend functionality by installing plugins:
- In the Plugins section of the sidebar, click + (Install Plugin)
- Enter the NuGet package ID (e.g.,
DataverseMCPToolBox.Plugins.WhoAmI) - Click Install
- The plugin tools are immediately available
graph LR
A[Sidebar] --> B{Connection<br/>Active?}
B -->|Yes| C[Green Indicator]
B -->|No| D[Grey Indicator]
D --> E[Click to Activate]
E --> C
- Active connection: Green indicator
- Inactive: Click to activate
- Multiple connections: Only one active at a time
Use Copilot to discover tools:
@workspace What tools are available for Dataverse?
In the sidebar:
- Server Info section shows runtime version
- Plugins section lists installed plugins
- Connections section shows all connections
Check:
- VS Code version (must be 1.85.0+)
- Output panel (View → Output → Dataverse MCP Toolbox)
- Error notifications in VS Code
Solutions:
- Check internet connection
- Verify NuGet.org is accessible
- Check proxy settings
- Manual download: Extension settings → Specify local path
Common Issues:
- Incorrect environment URL (must include
https://) - Account doesn't have access to environment
- Firewall blocking OAuth redirect
- Pop-up blocker preventing browser window
Check Connection:
- Test URL in browser first
- Verify you can access environment portal
- Check Azure AD app permissions
Verify:
- Connection is active (green indicator)
- MCP Bridge is registered (check extension output)
- Restart VS Code
- Reload window (⌘+R / Ctrl+R)
Now that you're up and running:
- Core Concepts: Understand how everything works
- Managing Connections: Advanced connection management
- Using Tools: Detailed guide on tool usage
- Creating Plugins: Build your own plugins
| Action | Command |
|---|---|
| Open Sidebar | Click Dataverse icon in Activity Bar |
| Add Connection | Click + in Connections section |
| Activate Connection | Click on connection name |
| Install Plugin | Click + in Plugins section |
| View Logs | Output panel → Dataverse MCP Toolbox |
| Restart Server | Command Palette → "Dataverse: Restart Server" |
After initial installation:
- Extension checks for runtime updates on activation
- Update channel configurable (stable/prerelease)
- Can pin to specific version to prevent auto-updates
- See Server Lifecycle for details