Connect Cursor and other MCP clients

Configuration for Cursor, Windsurf, VS Code and any client that supports Streamable HTTP MCP servers.

Any MCP client that supports the Streamable HTTP transport can use SyncFreedom. The endpoint is:

https://syncfreedom.com/mcp

Authorization is either OAuth 2.1 (the client registers itself, you approve on a consent page) or a bearer API key from Dashboard → API keys.

Cursor

Add to ~/.cursor/mcp.json (global) or .cursor/mcp.json (project):

{
  "mcpServers": {
    "syncfreedom": {
      "url": "https://syncfreedom.com/mcp",
      "headers": { "Authorization": "Bearer sf_live_XXXXXXXX" }
    }
  }
}

Leave out headers to use OAuth; Cursor opens the consent page the first time you use a tool.

VS Code (GitHub Copilot agent mode)

{
  "servers": {
    "syncfreedom": {
      "type": "http",
      "url": "https://syncfreedom.com/mcp",
      "headers": { "Authorization": "Bearer sf_live_XXXXXXXX" }
    }
  }
}

Python (mcp SDK)

import asyncio
import httpx
from mcp.client.streamable_http import streamable_http_client
from mcp import ClientSession

async def main():
    headers = {"Authorization": "Bearer sf_live_XXXXXXXX"}
    async with httpx.AsyncClient(headers=headers) as http:
        async with streamable_http_client("https://syncfreedom.com/mcp", http_client=http) as (read, write, _):
            async with ClientSession(read, write) as session:
                await session.initialize()
                result = await session.call_tool("list_companies", {})
                print(result.content)

asyncio.run(main())

Metadata endpoints

  • https://syncfreedom.com/.well-known/oauth-protected-resource/mcp (RFC 9728)
  • https://syncfreedom.com/.well-known/oauth-authorization-server (RFC 8414)
  • Dynamic client registration: https://syncfreedom.com/register (RFC 7591)

View as Markdown