VS Code

VS Code supports MCP servers through GitHub Copilot Chat. You can use Toolcog for API operations directly in your editor.

Prerequisites

Configuration Options

VS Code offers multiple ways to add MCP servers:

Via Command Palette

  1. Open Command Palette (Cmd+Shift+P / Ctrl+Shift+P)
  2. Run MCP: Add Server
  3. Select HTTP as the transport
  4. Enter the URL: https://mcp.toolcog.com
  5. Name it toolcog

Via Workspace Configuration

Create .vscode/mcp.json in your project:

{
"servers": {
"toolcog": {
"type": "http",
"url": "https://mcp.toolcog.com"
}
}
}

Via User Settings

Add to your VS Code settings.json:

{
"mcp.servers": {
"toolcog": {
"type": "http",
"url": "https://mcp.toolcog.com"
}
}
}
  1. Enable the MCP gallery: set chat.mcp.gallery.enabled to true
  2. Open Extensions view (Cmd+Shift+X / Ctrl+Shift+X)
  3. Search for @mcp
  4. Find and install Toolcog

Confirm Server Trust

VS Code prompts you to confirm trust for new MCP servers. When first connecting to Toolcog, confirm that you trust the server.

Using Toolcog

In Copilot Chat, ask:

“Find Salesforce operations for managing leads”

Copilot will use Toolcog to discover operations and help you integrate them into your code.

Authentication

When VS Code needs to access your Toolcog account:

  1. VS Code displays an authorization link
  2. Click to sign in to Toolcog in your browser
  3. Return to VS Code

For downstream services, the same pattern applies.

Auto-Discovery

VS Code can auto-discover MCP servers from other tools like Claude Desktop. If you’ve already configured Toolcog in Claude Desktop, VS Code may detect it automatically.

Catalogs

Connect to specific catalogs:

{
"servers": {
"toolcog-internal": {
"type": "http",
"url": "https://mcp.toolcog.com/mycompany/internal-apis"
}
}
}

Verify It’s Working

In Copilot Chat, ask:

“What GitHub operations are available for repositories?”

If Copilot returns a list of operations, Toolcog is connected.

Troubleshooting

Server not connecting

Tools not appearing

Authentication errors

Next Steps