Connect to Cursor
Use the Ascend Gateway V5 as an MCP server in Cursor IDE for AI-powered GTM operations alongside your code.
Setup
Option 1: Project-Level (Recommended)
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:
- Settings → MCP → Add Remote Server
- Enter:
https://ascend-gateway-v5.ascendgtm.workers.dev/mcp - 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
fieldsandformatparameters to reduce response size. Cursor's context window benefits from compact responses. - Multiple projects: Use project-level
.cursor/mcp.jsonwith different tenant tokens per project.
Troubleshooting
| Issue | Fix |
|---|---|
| Tools not appearing | Restart Cursor after adding mcp.json |
| "Connection failed" | Verify token: curl -H "Authorization: Bearer TOKEN" .../health |
| Slow responses | Use format: "compact" to reduce response size |