Skip to main content

Overview

Both Cursor and Windsurf support MCP servers, letting you bring live EventGraph data into your development workflow. Query markets, pull price data, and build trading-adjacent applications without ever leaving your editor.

Cursor Setup

1. Complete the MCP quickstart

MCP Quickstart →

Set up the EventGraph MCP server (5 min)

2. Open Cursor MCP settings

Go to Cursor Settings → Features → MCP Servers (or edit ~/.cursor/mcp.json directly).

3. Add EventGraph

4. Restart Cursor

After restarting, open the chat panel (Cmd+L) and you should see EventGraph tools available.

Windsurf Setup

1. Open Windsurf MCP config

Edit ~/.codeium/windsurf/mcp_config.json:

2. Restart Windsurf

Cascade (Windsurf’s AI) will pick up the new server on restart.

Other MCP clients

The same config pattern works for any MCP-compatible client: For Claude Code (CLI):

Use cases in a coding context

Building a trading dashboard?
Writing analysis scripts?
Researching an API integration?

Troubleshooting

  1. Check Cursor version — MCP requires Cursor 0.43+
  2. Verify the JSON in ~/.cursor/mcp.json is valid
  3. Use an absolute path (not ~ or relative paths) for server.js
  4. Check Cursor Settings → MCP to see server status
This usually means an unhandled error in the server. Check your Node.js version (node --version should be 18+) and ensure the server.js file is complete and unmodified.