> ## Documentation Index
> Fetch the complete documentation index at: https://docs.poix.io/llms.txt
> Use this file to discover all available pages before exploring further.

# VS Code

> Connect VS Code (GitHub Copilot Chat) to the Poix MCP server

VS Code's Copilot Chat agent mode supports remote MCP servers over Streamable HTTP via an `mcp.json` file. VS Code's schema uses a `servers` key (not `mcpServers`) with an explicit `"type": "http"`.

<Steps>
  <Step title="Get a Poix Token">
    If you don't already have one, create a `poix-` Token in the [Dashboard](https://app.poix.io/mcp). See [Authentication](/mcp/authentication) for details.
  </Step>

  <Step title="Create or open your MCP config">
    Run **MCP: Add Server** from the Command Palette, or create `.vscode/mcp.json` in your workspace directly.
  </Step>

  <Step title="Add the Poix server">
    <CodeGroup>
      ```json mcp.json theme={null}
      {
        "servers": {
          "poix": {
            "type": "http",
            "url": "https://mcp.poix.io",
            "headers": {
              "Authorization": "Bearer poix-…"
            }
          }
        }
      }
      ```
    </CodeGroup>

    Replace `poix-…` with your actual Token, then save the file.
  </Step>

  <Step title="Verify the connection">
    Open Copilot Chat, switch to **Agent** mode, and check the tools icon — `poix` should appear with its tools listed. You can now ask Copilot to search YouTube, pull video or channel details, or fetch captions directly.
  </Step>
</Steps>
