Connect
GitHub Copilot
Copilot's agent mode (VS Code and JetBrains) can call MCP servers just like Claude Code and Cursor. One settings-JSON entry wires Dock in.
Client
GitHub Copilot
VS Code agent mode. MCP via settings.json.
HTTP JSON-RPC (streamable-http)
Dock MCP
trydock.ai/api/mcp
37 tools · OAuth 2.1 + DCR · Bearer
Auth path
1
Mint a
dk_ key in Dock Settings → API keys.2
Paste it as
Authorization: Bearer dk_… in the client config.3
Client calls Dock MCP directly on every request.
Prerequisites
- GitHub Copilot Business or Enterprise seat with agent mode enabled. Personal-plan Copilot does not currently expose MCP.
- VS Code (or JetBrains IDE) with the Copilot extension.
- A Dock
dk_key.
Config file
VS Code
settings.json · key is github.copilot.advanced.mcp.servers.Reload
Reload the VS Code window (Cmd/Ctrl + Shift + P · "Developer: Reload Window") after saving.
VS Code settings.json (user)json
{
"github.copilot.advanced.mcp.servers": {
"dock": {
"url": "https://trydock.ai/api/mcp",
"headers": {
"Authorization": "Bearer dk_live_c914f1c6..."
}
}
}
}Verify
In Copilot Chat (agent mode)text
#dock list my workspacesTroubleshooting
Symptom
Fix
"This feature is not available on your plan"
Confirm your org has Copilot Business or Enterprise, and that the admin has enabled the MCP policy. Personal Copilot plans do not include agent-mode MCP.
Copilot lists Dock but calls time out
Check that your network allows outbound HTTPS to
trydock.ai. Corporate proxies sometimes terminate long-lived connections. Status: status.trydock.ai.