# Cursor, VS Code, Windsurf and Cline

> Configuration snippets for Cursor, VS Code / GitHub Copilot, Windsurf and Cline — same endpoint, different JSON keys.

Source: https://sinapsi.wiki/docs/cursor-vscode/

The endpoint is the same everywhere; only the JSON key for the URL changes between clients.

## Cursor

`~/.cursor/mcp.json` (or `.cursor/mcp.json` in a project):

```json
{ "mcpServers": { "sinapsi": { "url": "https://sinapsi.wiki/mcp/hub/" } } }
```

## VS Code / GitHub Copilot

`.vscode/mcp.json` — note that the top-level key is `servers`:

```json
{ "servers": { "sinapsi": { "type": "http", "url": "https://sinapsi.wiki/mcp/hub/" } } }
```

For a private space, use `https://sinapsi.wiki/mcp/` and add a header:

```json
{ "servers": { "sinapsi": { "type": "http", "url": "https://sinapsi.wiki/mcp/",
  "headers": { "Authorization": "Bearer YOUR_TOKEN" } } } }
```

## Windsurf and Cline

Same endpoint and header. The URL key is `serverUrl` in Windsurf; in Cline set `"type": "streamableHttp"`.

Ready-made files are in the [sinapsi-mcp repository](https://github.com/salesmartmabros/sinapsi-mcp/tree/main/examples).
