#Connect Cursor / Windsurf (MCP)
StateSync exposes a native MCP JSON-RPC 2.0 server. Drop the block below into your MCP config and every agent shares the same brain.
{
"mcpServers": {
"statesync": {
"url": "https://api.statesync.dev/api/mcp",
"headers": { "Authorization": "Bearer sync_..." }
}
}
}Config file locations: ~/.cursor/mcp.json (Cursor), ~/.codeium/windsurf/mcp_config.json (Windsurf).
Restart the editor after editing the file. The tools will appear in your agent's tool picker.