Step 1: Open the VS Code App
- Launch the VS Code app on your system.
- Log in with your account if required.
Step 2: Access MCP settings
- Go to Manage button () at the bottom-left corner of the VS Code window.
- Select Profiles.
- In the Profiles window, go to Contents → MCP Servers.
- Open the
mcp.jsonconfiguration file.
Step 3: Add Timbal as a new MCP server
- Add the Timbal MCP URL (
https://api.timbal.ai/mcp). For example, you can set the server name"timbal-mcp":mcp.json - Save the file.
- The Start button appears above the server entry (in this example, “timbal-mcp”). Click it to start the server.
Option 1: Connect via OAuth
-
A browser window will open for authentication.
If the browser does not open automatically, you can start the connection manually from the MCP Servers panel.
- Log in using your preferred OAuth method (GitHub, Google, Microsoft, or Timbal OAuth).
- Accept the requested permissions.
-
Return to VS Code. In the
mcp.jsonfile, the status should change from Start to Running.
Option 2: Connect using a Timbal API Key
- If you add the
"Authorization"header with your"TIMBAL_API_KEY"inmcp.json, VS Code will authenticate automatically. - No browser login is required.
- In the
mcp.jsonfile, the status should display Running instead of Start.
Step 4: Verify the MCP server is running
- Open the left sidebar.
- Go to Extensions.
- At the bottom, under MCP Servers – Installed, you should see Timbal MCP listed.
- Click the Manage button () to view and verify the configuration details.
Step 5: Test the integration
- Open a new chat.
- You can now use Timbal tools in your conversation. VS Code will automatically leverage the MCP integration.