Cursor IDE Setup
Connect Cursor IDE to graph8 Studio so you can ask questions about your campaigns, accounts, and intelligence while coding.
Prerequisites
- Cursor IDE installed (download)
- A graph8 Studio account
- MCP support enabled in Cursor (available in recent versions)
Setup Steps
-
Connect in graph8 Studio
Go to Profile and click “Connect” in the MCP card. Complete the sign-in flow.
-
Copy the configuration
After connecting, expand “Setup Instructions” and select the Cursor IDE tab. Copy the JSON configuration.
-
Open Cursor’s MCP config
The MCP configuration file is located at:
~/.cursor/mcp.json%USERPROFILE%\.cursor\mcp.json~/.cursor/mcp.jsonCreate the file if it doesn’t exist.
-
Add the G8 Studio server
Paste the configuration you copied. It should look like:
{"mcpServers": {"g8studio": {"transport": "sse","url": "https://mcp-production-c2f3.up.railway.app/mcp?session_id=YOUR_SESSION_ID"}}} -
Restart Cursor
Quit and reopen Cursor to load the new configuration.
-
Verify the connection
Open Cursor’s AI chat and ask: “What campaigns do I have in G8 Studio?”
Example Questions
Once connected, try asking Cursor:
Show me my active campaigns in G8 StudioWhat accounts are in the healthcare industry?Get the intelligence report for [account name]Search G8 Studio for content about enterprise pricingTroubleshooting
Cursor specifics live here. Generic MCP issues (auth, permissions, JSON parse, “tool not found”) are answered in the MCP FAQ.
”MCP server not found”
- Make sure the
mcp.jsonfile is in the correct location for your OS (see Setup Steps above) - Restart Cursor after making changes (the MCP daemon only reloads on restart)
Other issues
- Session expired or authentication failed -> FAQ
- Permission denied -> FAQ
- Tool not found -> FAQ
- OAuth redirect loop -> FAQ
Multiple Accounts
If you have access to multiple graph8 organizations, the AI uses the organization you had active when you connected. To switch organizations:
- Switch organizations in graph8 Studio
- Create a new connection from the Profile page
- Update your
mcp.jsonwith the new session ID
Updating Your Session
Sessions expire after 24 hours of inactivity. To refresh:
- Go to Profile
- Your session will auto-refresh if still valid
- If expired, click “Connect” for a new session
- Update
mcp.jsonwith the new session ID
Frequently Asked Questions
Does MCP work in Cursor’s chat and composer?
MCP tools are available in Cursor’s AI chat panel. When you ask about graph8 data, Cursor will automatically invoke the appropriate MCP tools to fetch information.
How do I know if my connection is working?
Ask Cursor “What campaigns do I have in G8 Studio?” If you see campaign data, the connection works. If you get an error, check your session ID and restart Cursor.
Can multiple team members share the same session?
No, each session is tied to your personal graph8 account and permissions. Each team member should create their own session from their Profile page.
What happens if I’m offline?
MCP requires internet connectivity to reach graph8 Studio. Cursor won’t be able to fetch graph8 data while offline, but will work normally once connectivity is restored.
How do I disconnect Cursor from graph8?
Remove the g8studio entry from your mcp.json file and restart Cursor. You can also revoke the session from your Profile page in graph8 Studio.