Cursor Integration

Connect ContextGate MCP Server to Cursor AI Editor

Cursor, the AI-first code editor, supports the Model Context Protocol (MCP). Configure CloudSlurp to give Cursor instant access to your business data from Salesforce, QuickBooks, HubSpot, and more.

Once configured, Cursor's AI can directly query your connected apps using natural language, helping you build features, analyze data, and generate reports with real business context.

📋 Prerequisites

  • Cursor editor installed (latest version)
  • ContextGate account with at least one connected app
  • Node.js installed (for MCP server runtime)
1

Get Your ContextGate Bearer Token

Navigate to the Install page in your ContextGate workspace. Click "View API Token" and copy your bearer token. You'll need this for authentication.

💡 Your token can be found on the Install page .

Keep your bearer token secure! Never commit it to version control.

2

Configure Your Toolbox (Optional)

On the Install page, you can customize which tools, connections, and datasets are available through the MCP server. This allows you to:

  • Limit access to specific connections (e.g., only Salesforce, not QuickBooks)
  • Enable only certain tools or operations
  • Control which datasets are accessible

Toolbox Manager Interface:

Toolbox Manager Configuration
3

Locate Cursor MCP Config File

Find and edit your Cursor MCP configuration file:

macOS:

Windows:

Linux:

4

Add ContextGate MCP Server Configuration

Edit the MCP config file and add the CloudSlurp server configuration:

Replace YOUR_BEARER_TOKEN_HERE with your actual ContextGate bearer token.

5

Restart Cursor

Completely quit and restart Cursor to apply the MCP server configuration. The CloudSlurp MCP server should now be available in Cursor's AI context.

Important: Use Cmd+Q (macOS) or fully close all Cursor windows. A simple reload won't load the MCP configuration.

6

Test with Cursor Chat

Open Cursor Chat (Cmd/Ctrl + L) and try these prompts:

"Use CloudSlurp to show me the top 5 Salesforce opportunities by amount"

"Query ContextGate for recent QuickBooks invoices"

"Get HubSpot contacts created this month from CloudSlurp"

✓ If Cursor responds with data from your connected apps, the integration is working!

🔧 Troubleshooting

MCP Server Not Appearing

  • Check the config file path is correct for your OS
  • Verify JSON syntax is valid (no trailing commas, proper quotes)
  • Ensure you fully quit and restarted Cursor (not just reloaded)
  • Check Cursor's developer console for MCP loading errors

Authentication Errors

  • Verify your bearer token is correct and not expired
  • Check for extra spaces or quotes around the token
  • Ensure the token has the required permissions in ContextGate

Connection Timeouts

  • Check your network connection and firewall settings
  • Verify ContextGate API is accessible from your machine
  • Try increasing timeout values in the MCP config

🚀 Next Steps

  • Connect More Apps: Add more data sources to your ContextGate workspace
  • Build with Context: Use Cursor to generate code with real business data
  • Explore Composer: Use Cursor's Composer mode for multi-file edits with CloudSlurp data