Cursor talks to SourceMCP over Streamable HTTP. Use an API key in the Authorization header, or
OAuth with your SourceMCP account. Your server's Connect tab has these snippets with the URL filled
in. See Connecting clients for other apps and API keys and OAuth
for auth details.
Add the server to ~/.cursor/mcp.json (every project) or .cursor/mcp.json (one project):
{
"mcpServers": {
"acme-api": {
"url": "https://…/mcp/proj_ab12Cd34Ef56Gh78",
"headers": { "Authorization": "Bearer mcpk_live_…" }
}
}
}
Leave out headers. Cursor then shows Needs login next to the server; choose it and sign in with the
SourceMCP account that owns the server.