# Client Setup Guides
> Copy-paste configuration for Claude Code, Cursor, VS Code, Windsurf, and Claude Desktop (stdio).
Source URL: /docs/mcp/clients

Replace `<VIDHI_API_KEY>` with your provisioned `vdh_live_` or `vdh_test_` token carrying the `mcp:connect` scope.

## Claude Code [#claude-code]

```bash
claude mcp add --transport http vidhi https://vidhi-mcp.shamik.app/mcp \
  --header "Authorization: Bearer <VIDHI_API_KEY>"
```

## Cursor (`.cursor/mcp.json`) [#cursor-cursormcpjson]

```json
{
  "mcpServers": {
    "vidhi": {
      "url": "https://vidhi-mcp.shamik.app/mcp",
      "headers": {
        "Authorization": "Bearer <VIDHI_API_KEY>"
      }
    }
  }
}
```

## VS Code (`.vscode/mcp.json`) [#vs-code-vscodemcpjson]

```json
{
  "servers": {
    "vidhi": {
      "type": "http",
      "url": "https://vidhi-mcp.shamik.app/mcp",
      "headers": {
        "Authorization": "Bearer <VIDHI_API_KEY>"
      }
    }
  }
}
```

## Windsurf (`~/.codeium/windsurf/mcp_config.json`) [#windsurf-codeiumwindsurfmcp_configjson]

```json
{
  "mcpServers": {
    "vidhi": {
      "serverUrl": "https://vidhi-mcp.shamik.app/mcp",
      "headers": {
        "Authorization": "Bearer <VIDHI_API_KEY>"
      }
    }
  }
}
```

## Claude Desktop (Local `stdio` via `uvx vidhi-mcp`) [#claude-desktop-local-stdio-via-uvx-vidhi-mcp]

For hosts that require local `stdio` subprocess execution, run the `vidhi-mcp` entrypoint with `VIDHI_API_KEY` and `VIDHI_API_BASE`:

```json
{
  "mcpServers": {
    "vidhi": {
      "command": "uvx",
      "args": ["vidhi-mcp"],
      "env": {
        "VIDHI_API_KEY": "<VIDHI_API_KEY>",
        "VIDHI_API_BASE": "https://api.vidhi.shamik.app"
      }
    }
  }
}
```

For local worktree testing against `dev:wt <slot>`, set `VIDHI_API_BASE` to `http://127.0.0.1:808<slot>` (or connect HTTP clients directly to `http://127.0.0.1:809<slot>/mcp`).