MCP clientsAI

Connect VS Code to thirds.ai

Use with your agent

Give this prompt to your AI agent. The agent does the task for you.

Read https://thirds.ai/docs/mcp/vs-code and help me connect VS Code to thirds.ai with secure API key input

VS Code can connect to the thirds.ai Streamable HTTP server and ask for your API key when it starts. Create a key on the API keys page.

Install the server

Run MCP: Open User Configuration from the Command Palette. Add this setup to mcp.json:

JSON
{
  "inputs": [
    {
      "type": "promptString",
      "id": "thirds-api-key",
      "description": "thirds.ai API key",
      "password": true
    }
  ],
  "servers": {
    "thirds": {
      "type": "http",
      "url": "https://thirds.ai/mcp",
      "headers": {
        "Authorization": "Bearer ${input:thirds-api-key}"
      }
    }
  }
}

VS Code stores the secret input after it asks for the value. This format follows the VS Code MCP configuration reference.

Check the connection

Run MCP: List Servers, select thirds, and start it. Enter your API key when VS Code asks. Open Chat, select Configure Tools, and enable the tools you need.

Interactive inputs are not forwarded to Agent Host sessions. Use a local VS Code chat session for this setup. Read the VS Code MCP guide for the current Agent Host rules.

Read the main MCP guide before you start a paid tool.

FAQ

Where does VS Code save the API key?

VS Code treats a password input as secret input and stores it for later use. The key does not appear in mcp.json.

Why are the tools missing in an Agent Host session?

VS Code does not forward server setups that use interactive inputs to Agent Host. Open a local chat session or use a setup that your team manages for Agent Host.

How do I replace a revoked key?

Remove the saved input for the server, then restart it from MCP: List Servers. VS Code asks for the new key.

Ready to make your first file?

Start in the playground with a gallery template, or get an API key and send your first request from your own terminal.