Skip to main content

Cursor Integration

Cursor is an AI-powered IDE. Erold integrates via MCP so you can manage tasks without leaving your editor.

Setup

1. Get Your API Key

Create an API key in Erold under Settings → API Keys.

2. Configure Cursor

Add to your Cursor settings:

// .cursor/settings.json (in your project root)
// Or global: ~/.cursor/settings.json

{
  "mcp": {
    "servers": {
      "yet": {
        "command": "npx",
        "args": ["-y", "@erold/mcp-server"],
        "env": {
          "EROLD_API_KEY": "erold_your_api_key_here"
        }
      }
    }
  }
}

3. Restart Cursor

Restart Cursor or reload the window to activate the MCP server.

4. Verify

Open the AI chat and ask: "List my Erold projects"

Using Erold in Cursor

While Coding

Ask Cursor's AI about your tasks while you code:

You: "What's the next task I should work on?"

AI: [Checks Erold]

"Your highest priority task is MYAPP-45: Fix database timeout.
It's been in progress for 2 days. Would you like me to help
you with the implementation?"

Creating Tasks from Code

Found a TODO or bug? Create a task instantly:

You: "This function needs error handling. Create a task for it."

AI: "Created MYAPP-49: Add error handling to processPayment function
     Priority: Medium
     Labels: tech-debt"

Accessing Project Knowledge

Query your knowledge base for context:

You: "What database are we using and what's the connection setup?"

AI: [Searches knowledge base]

"Based on your project docs:
- PostgreSQL 14 hosted on AWS RDS
- Connection pool size: 20
- Timeout: 30 seconds
- SSL required for all connections"

Project-Specific Configuration

Use a project-level .cursor/settings.json to scope to a specific project:

{
  "mcp": {
    "servers": {
      "yet": {
        "command": "npx",
        "args": ["-y", "@erold/mcp-server"],
        "env": {
          "EROLD_API_KEY": "erold_your_api_key_here",
          "EROLD_DEFAULT_PROJECT": "MYAPP"
        }
      }
    }
  }
}

Workflow Tips

Start of Session

"What tasks are assigned to me in MYAPP?"

Before Committing

"Update MYAPP-45 to done and log 2 hours"

Code Review

"What's the context for MYAPP-45? I'm reviewing the PR."

Troubleshooting

MCP not loading

  • Check the settings.json location
  • Verify JSON syntax is valid
  • Restart Cursor completely

API errors

  • Verify API key is correct
  • Check key permissions
  • Ensure network access to api.erold.dev

Next Steps