Cursor MCP Setup

Configure Cursor IDE to connect to the Aether MCP server.

๐Ÿค–๐Ÿค– Your Agent Has Access to All This

Once the Cursor MCP is connected, your agent will have full access to these docs. No need to learn this yourself...unless you want to! ๐Ÿ‘€

Prerequisites

  • Cursor IDE installed
  • Aether bridge running (see Quickstart)
  • Unity project with Aether SDK installed

Configuration

Create a file called .cursor/mcp.json in your project root:

1{ 2 "mcpServers": { 3 "aether": { 4 "command": "node", 5 "args": [ 6 "-e", 7 "const WebSocket = require('ws'); const ws = new WebSocket('ws://localhost:7891'); ws.on('open', () => { process.stdin.pipe(ws); ws.pipe(process.stdout); });" 8 ] 9 } 10 } 11}
โ„น๏ธSimpler Alternative

If the above doesn't work, try this simpler configuration:

1{ 2 "mcpServers": { 3 "aether": { 4 "url": "ws://localhost:7891" 5 } 6 } 7}

Method 2: Cursor Settings UI

  1. Open Cursor Settings
  2. Navigate to Features โ†’ MCP Servers
  3. Click Add Server
  4. Enter:
    • Name: aether
    • URL: ws://localhost:7891
  5. Click Save

Verification

After configuration, verify the connection:

  1. Restart Cursor (required after configuration changes)
  2. Open the AI chat in Cursor
  3. Type: @aether snapshot
  4. You should see a GTML snapshot response
โœ…Connection Success

If you see a structured response with game state, the connection is working!

Available Tools

Once connected, you can use these MCP tools in Cursor:

  • @aether snapshot - Get current Unity state
  • @aether tail - Stream recent events
  • @aether mark - Create a markpoint
  • @aether clip - Get a clip of events
  • @aether package - Create a capsule
  • @aether viewCapsule - View a capsule

See the Tools Reference for complete documentation.

Troubleshooting

Connection Refused

Problem: Cursor can't connect to the bridge.

Solutions:

  1. Verify the bridge is running: Check terminal for MCP server listening on 127.0.0.1:7891
  2. Check firewall: Ensure localhost connections aren't blocked
  3. Verify port: Make sure port 7891 isn't in use by another application

Tools Not Appearing

Problem: Aether tools don't show up in Cursor.

Solutions:

  1. Restart Cursor completely
  2. Check .cursor/mcp.json syntax (valid JSON, no trailing commas)
  3. Verify the bridge is running before starting Cursor
  4. Check Cursor's MCP server logs for errors

Invalid Configuration

Problem: Cursor shows configuration errors.

Solutions:

  1. Validate JSON syntax in .cursor/mcp.json
  2. Ensure the file is in the project root
  3. Check Cursor's console for specific error messages

For more help, see the Troubleshooting Guide.