Corcava logo The Only Business Tool You Need Corcava
Menu

Corcava MCP Setup for Cursor: Connect Tasks and Projects to Your Editor

Connect Cursor to Corcava via MCP to bring project management directly into your IDE. This guide shows you how to add Corcava as an MCP server, restart/reload, and test with your first workflow.

Prerequisites

Step 1: Get Your Corcava API Key

  1. Log in to Corcava
  2. Navigate to SettingsIntegrations
  3. Find the Public API section
  4. Click Add API Key
  5. Copy the key immediately (it's only shown once)
  6. Store it securely - you'll need it in the next step

💡 Tip

Name your API key descriptively (e.g., "Cursor - Work Laptop") so you can manage multiple keys easily.

Step 2: Locate Your MCP Configuration File

Cursor stores MCP server configuration in a single file across all platforms:

Configuration File Location

~/.cursor/mcp.json

The ~ symbol refers to your home directory:

  • macOS/Linux: /Users/yourusername/.cursor/mcp.json
  • Windows: C:\Users\yourusername\.cursor\mcp.json

If the File Doesn't Exist

If ~/.cursor/mcp.json doesn't exist:

  1. Create the .cursor directory in your home folder (if it doesn't exist)
  2. Create a new file named mcp.json
  3. Start with an empty JSON object: {}

Step 3: Add Corcava MCP Server Configuration

Open ~/.cursor/mcp.json in a text editor and add the Corcava MCP server configuration.

If This Is Your First MCP Server

If the file is empty or doesn't have an mcpServers section, use this structure:

{
  "mcpServers": {
    "corcava": {
      "url": "https://app.corcava.com/mcp",
      "headers": {
        "Authorization": "Bearer YOUR_API_KEY"
      }
    }
  }
}

If You Already Have Other MCP Servers

If you already have MCP servers configured, add Corcava to the existing mcpServers object:

{
  "mcpServers": {
    "existing-server": {
      ...
    },
    "corcava": {
      "url": "https://app.corcava.com/mcp",
      "headers": {
        "Authorization": "Bearer YOUR_API_KEY"
      }
    }
  }
}

⚠️ Important

  • Replace YOUR_API_KEY with the actual API key you copied in Step 1
  • There must be a space between "Bearer" and your API key
  • Do not include quotes around the API key in the header value
  • Ensure the JSON is valid (no trailing commas, proper quotes)

Step 4: Save and Restart Cursor

  1. Save the mcp.json file
  2. Completely quit Cursor (not just close the window)
  3. Restart Cursor
  4. Wait for Cursor to fully initialize

Alternative: Reload Window

Some Cursor versions support reloading without a full restart:

  • Press Cmd+Shift+P (macOS) or Ctrl+Shift+P (Windows/Linux)
  • Type "Reload Window" and select it

Note: A full restart is more reliable. Use reload only if restart doesn't work.

Step 5: Verify Tools Are Available

After restarting, verify that Cursor's AI can see Corcava's MCP tools:

Verification Prompt

In Cursor's chat, ask:

"What MCP tools are available from Corcava?"

Expected Response:

The AI should list tools like:

  • list_tasks
  • get_task
  • create_task
  • update_task
  • list_projects
  • start_time_tracking
  • And more...

Step 6: First Test Workflow

Try these workflows to test your connection:

1. List Tasks

Prompt:

"What tasks do I have in Corcava?"

Expected: AI lists your tasks or says there are none.

2. Open a Task

Prompt:

"Show me details for the [task name] task"

Expected: AI retrieves and displays task details including description, status, and comments.

3. Add a Progress Comment

Prompt:

"Add a comment to task [task name] that says 'API changes completed, ready for review'"

Expected: AI adds the comment to the task.

Note: This is a write operation. The AI should ask for confirmation before adding the comment.

IDE-Focused Workflows

Cursor's integration with Corcava enables powerful IDE workflows:

Code-to-Task Linking

Link your code changes to Corcava tasks:

"I'm working on the login feature task. Help me implement it and then add a comment when done."

Task Context in Editor

Get task requirements while coding:

"What are the acceptance criteria for the dashboard task?"

Progress Updates

Log progress directly from your editor:

"Update the API refactor task status to in progress and add a comment about the changes I made."

Troubleshooting

❌ Connection or Auth Failures

Possible Causes:

  • Invalid API key or incorrect header format
  • API key was revoked
  • Network connectivity issues

Fix:

  1. Verify API key is active in Corcava Settings → Integrations
  2. Check header format: "Authorization": "Bearer YOUR_API_KEY"
  3. Ensure there's a space after "Bearer"
  4. Try regenerating the API key

Read 401 troubleshooting guide →

Read connection troubleshooting guide →

❌ Changes Not Applied After Editing Config

Possible Causes:

  • Didn't fully restart Cursor
  • Config file in wrong location
  • JSON syntax errors

Fix:

  1. Verify config file is at ~/.cursor/mcp.json
  2. Validate JSON syntax
  3. Completely quit and restart Cursor (not just reload)
  4. Check Cursor logs for error messages

Read Cursor reload troubleshooting →

❌ Tools Not Showing Up

Possible Causes:

  • MCP server connection failed
  • Auth failure that still allows connection
  • Client caching issue

Fix:

  1. Check connection and auth first
  2. Try a full restart (not just reload)
  3. Verify the endpoint URL is correct

Read tools troubleshooting guide →

Next Steps

Connect Cursor to Corcava

Bring project management into your IDE

No credit card required