---
title: "Cursor / Windsurf / VS Code"
method: GET
path: "/setup/cursor"
tags: ["Quickstart"]
---

# Cursor / Windsurf / VS Code

`GET /setup/cursor`

## Request

- Base URL: `https://compabase.com/api/mcp`
- URL: `https://compabase.com/api/mcp/setup/cursor`
- Auth: none required

Add a remote MCP server entry to your project or user MCP config
(Cursor: `.cursor/mcp.json`; VS Code / Copilot and Windsurf use the same JSON shape).
You can connect **without a key**. Ask the agent to sign you up (`request_signup`);
after you click the email it writes `mcpk_…` into this config. Restart the client
if it does not hot-reload MCP config.
The sample on the right is a local config file. Compabase does not serve this path over HTTP.

## Response `200`

Example client config (local file)

- McpClientConfig
  - `mcpServers` object, required

---

[API](https://skmtc.dev/compabase/apis/compabase-mcp.md) · [All operations](https://skmtc.dev/compabase/apis/compabase-mcp/llms.txt) · [OpenAPI document](https://skmtc.dev/compabase/apis/compabase-mcp/revisions/43169ccbb0f7?raw)
