Skip to main content

Connect to Cursor

Use the Ascend Gateway V5 as an MCP server in Cursor IDE for AI-powered GTM operations alongside your code.

Setup

Create .cursor/mcp.json in your project root:

{
"mcpServers": {
"ascend-gateway": {
"type": "http",
"url": "https://ascend-gateway-v5.ascendgtm.workers.dev/mcp",
"headers": {
"Authorization": "Bearer YOUR_TOKEN_HERE"
}
}
}
}

Option 2: Global

Add to ~/.cursor/mcp.json (applies to all projects):

{
"mcpServers": {
"ascend-gateway": {
"type": "http",
"url": "https://ascend-gateway-v5.ascendgtm.workers.dev/mcp",
"headers": {
"Authorization": "Bearer YOUR_TOKEN_HERE"
}
}
}
}

Option 3: OAuth (Auto-Discovery)

Cursor also supports the OAuth flow:

  1. SettingsMCPAdd Remote Server
  2. Enter: https://ascend-gateway-v5.ascendgtm.workers.dev/mcp
  3. Complete the OAuth authorization (paste your bearer token)

Test It

In Cursor's AI chat, ask:

Use the discover_apis tool to list my connected APIs

Or:

Search HubSpot for recent contacts using the hubspot_crm tool

Available Tools

All 18 MCP tools are available — same as Claude and ChatGPT. See MCP Tools Reference for the complete list.

Tips

  • Use with code context: Cursor can combine gateway data with your codebase. Ask: "Based on the HubSpot contact data, generate a TypeScript interface for the contact schema."
  • Response trimming: Use fields and format parameters to reduce response size. Cursor's context window benefits from compact responses.
  • Multiple projects: Use project-level .cursor/mcp.json with different tenant tokens per project.

Troubleshooting

IssueFix
Tools not appearingRestart Cursor after adding mcp.json
"Connection failed"Verify token: curl -H "Authorization: Bearer TOKEN" .../health
Slow responsesUse format: "compact" to reduce response size