Skip to main content

Claude Code Integration

Claude Code is Anthropic's AI coding assistant. Erold integrates via the Model Context Protocol (MCP).

Setup

1. Get Your API Key

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

2. Configure Claude Code

Edit the Claude Code configuration file:

// macOS: ~/.config/claude/claude_desktop_config.json
// Windows: %APPDATA%\Claude\claude_desktop_config.json
// Linux: ~/.config/claude/claude_desktop_config.json

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

3. Restart Claude Code

Fully quit and restart Claude Code to load the new configuration.

4. Verify

Ask Claude: "List my Erold projects"

What Claude Can Do

With the Erold MCP server, Claude can:

  • Manage tasks - Create, update, search, and complete tasks
  • Access knowledge - Read and write to your knowledge base
  • Track progress - Log time, add comments, view activity
  • Understand context - Read project structure and requirements

Example Conversations

Creating Tasks from Code

You: "I just found a bug in the login form - the password
      validation is wrong. Create a task for it."

Claude: "I'll create a bug task for that.

✓ Created MYAPP-48: Fix password validation in login form
  Priority: High
  Labels: bug, auth"

Getting Context

You: "What's the auth architecture for this project?"

Claude: [Searches knowledge base]

"Based on your knowledge base:

Your authentication uses JWT tokens:
- Access tokens expire in 1 hour
- Refresh tokens expire in 7 days
- Tokens are stored in httpOnly cookies
- Password hashing uses bcrypt with cost 12"

Daily Updates

You: "What tasks am I working on?"

Claude: [Lists in-progress tasks]

"You have 2 tasks in progress:

1. MYAPP-45: Fix database timeout (High)
   - Started yesterday
   - 3 hours logged

2. MYAPP-47: Implement JWT auth (High)
   - Started today
   - No time logged yet"

Tips for Best Results

Be Specific

Include project names when you have multiple projects:

"Create a task in MYAPP to..." vs "Create a task to..."

Use Knowledge Base

Store project context so Claude can reference it:

"Save to knowledge base: Our coding style uses..."

Reference Tasks by ID

When discussing specific tasks, use the ID:

"Update MYAPP-45 status to done"

Troubleshooting

Claude doesn't see the MCP tools

  • Verify the config file path is correct for your OS
  • Check JSON syntax - missing commas are common
  • Fully quit Claude (not just close window)
  • Try running npx @erold/mcp-server manually to check for errors

Authentication errors

  • Verify your API key is correct
  • Check the key has Write permissions
  • Ensure no extra spaces in the key

Next Steps