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

# VS Code

> Add the Affixo MCP connector to VS Code in one click — no API key, no config file.

VS Code installs the connector from a link. In Affixo, open **Settings →
Developer & API → MCP server** and click **Add to VS Code**.

<Steps>
  <Step title="Click Add to VS Code">
    VS Code opens and asks you to confirm a server named `affixo` pointing at
    `https://go.affixo.dev/mcp`. Confirm, then start it.
  </Step>

  <Step title="Sign in">
    VS Code opens Affixo in your browser — sign in, then choose the
    **workspace** and the **access level**:

    * **Read only** — inspect campaigns, commissions, promoters and referrals.
    * **Read & write** — also create/update campaigns, set commission rules
      (including per-product rates), configure product commissions, and invite
      affiliates.

    You must be an **admin** of the workspace to authorize a connector.
  </Step>

  <Step title="Check it loaded">
    Open Copilot Chat in **agent mode** and ask: *"List my Affixo campaigns."*
    The tools show under the tools picker as `affixo`.
  </Step>
</Steps>

## Adding it by hand

Per project, in `.vscode/mcp.json`:

```json theme={null}
{
  "servers": {
    "affixo": {
      "type": "http",
      "url": "https://go.affixo.dev/mcp"
    }
  }
}
```

<Warning>
  Keep `"type": "http"`. Without it VS Code registers the entry as a stdio server,
  tries to run the URL as a command, and the server never connects.
</Warning>

Full tool catalogue and what each one can touch: [MCP Server](/mcp-server).
Installing *tracking* with Copilot instead? See [VS Code](/vibe/copilot).
