Preparing your workspace...

assistant-chat.tsx2.5k
utils.ts850
button.tsx720
Quick Actions
codmir
Docs
Discord
Get started
API
  • Introduction
  • Installation
  • Your First Project
  • Your First Agent

MCP Integration

The Model Context Protocol (MCP) lets AI assistants interact with Codmir directly—creating tickets, listing to-do items, running tasks, and querying production errors without leaving your editor.

Quick start

Three steps to get Codmir tools inside your AI assistant:

  1. Authenticate — run codmir login in your terminal.
  2. Add the MCP config to your editor (see below).
  3. Use it — ask your AI to “list my to-do items” or “create a bug ticket for the login crash.”

Claude Code (recommended)

If you use Claude Code (CLI, VS Code extension, or desktop app), Codmir integrates as an MCP skill. Ask Claude to create tickets, list tasks, run AI jobs, and track your work—all from the same conversation.

One-command setup

Terminal
# Install Codmir as a Claude Code MCP server
codmir install claude

# That's it. Claude can now use all Codmir tools.

Or set it up manually

Run this in your terminal to register the MCP server directly:

Terminal
claude mcp add codmir -- npx @codmir/mcp

Or add it to .claude/settings.json in your project:

.claude/settings.json
{
  "mcpServers": {
    "codmir": {
      "command": "npx",
      "args": ["@codmir/mcp"]
    }
  }
}

What you can do

Once installed, just talk to Claude naturally:

“Create a ticket for the login page crash on mobile”
“Show me my open tickets”
“Mark TKT-42 as done”
“Run an AI task to add input validation to the signup form”
“Save this conversation as project context”

Let Claude set it up for you

Already in Claude Code? Copy this prompt and paste it directly into your conversation. Claude will handle the rest.

Auto-setup prompt

Claude will install the CLI, authenticate, and register the MCP server.

Paste into Claude Code
Set up Codmir in this project so I can manage tickets and tasks from here.

1. Check if the overseer CLI is installed (run: codmir --version). If not, install it globally: npm install -g @codmir/cli
2. Authenticate: run codmir login and follow the prompts
3. Register Codmir as an MCP server: run codmir install claude
4. Verify by running: codmir mcp tools

After setup, list my current to-do items to confirm everything works.

Other editors

Windsurf

Terminal
codmir install windsurf

Or add manually to .windsurf/mcp.json:

.windsurf/mcp.json
{
  "mcpServers": {
    "codmir": {
      "command": "npx",
      "args": ["@codmir/mcp"]
    }
  }
}

Cursor

Terminal
codmir install cursor

Or add manually to .cursor/mcp.json:

.cursor/mcp.json
{
  "mcpServers": {
    "codmir": {
      "command": "npx",
      "args": ["@codmir/mcp"]
    }
  }
}

Claude Desktop

Add to ~/Library/Application Support/Claude/claude_desktop_config.json:

claude_desktop_config.json
{
  "mcpServers": {
    "codmir": {
      "command": "npx",
      "args": ["@codmir/mcp"]
    }
  }
}

VS Code Extension

The Codmir VS Code extension includes a built-in To-Do List sidebar that connects to the same API. Install the extension from the marketplace, sign in, and the to-do tree view appears automatically under the Codmir sidebar.

Authentication

The MCP server loads credentials in this order:

  1. ~/.codmir/credentials.json — written by codmir login
  2. Environment variables: CODMIR_API_TOKEN, CODMIR_USER_ID, CODMIR_API_URL (optional)
Terminal
# Recommended: interactive login
codmir login

# Or set env vars for CI / headless environments
export CODMIR_API_TOKEN="your-token"
export CODMIR_USER_ID="your-user-id"

Available MCP tools

ToolDescription
list_todoList actionable to-do tickets (open, in-progress, review)
update_todo_statusMark a ticket as done, in-progress, or reopen it
execute_taskExecute an AI-powered code task
get_sprint_tasksGet sprint tasks with status filter
create_ticketCreate a bug, feature, task, or improvement ticket
list_project_tasksList all project tasks
check_task_statusCheck a running task’s status
get_project_contextProject overview, tech stack, team info
store_conversationSave conversation as project docs
lookup_errorLook up a production error by any reference
list_recent_errorsList recent production errors
get_error_contextEnriched error context for debugging
get_sdk_referenceSDK API reference for a topic
generate_sdk_codeGenerate ready-to-use SDK code

CLI usage

The codmir mcp command gives you direct access to MCP tools from the terminal.

List to-do items

# List all actionable items
codmir mcp todo

# Filter by priority
codmir mcp todo --priority high

# Filter by status
codmir mcp todo --status in_progress

# JSON output for scripting
codmir mcp todo --json

Update ticket status

# Mark a ticket as done
codmir mcp done TKT-42

# Start working on a ticket
codmir mcp start TKT-42

Call any MCP tool

# List available tools
codmir mcp tools

# Call a tool with JSON args
codmir mcp call create_ticket '{"projectId":"proj_123","title":"Fix login crash","type":"BUG","priority":"HIGH"}'

# Execute an AI task
codmir mcp call execute_task '{"projectId":"proj_123","instructions":"Add input validation to signup form"}'

Start the MCP server

# Run the stdio server locally (used by editor configs)
codmir mcp serve

# Or directly via npx
npx @codmir/mcp

SDK usage (programmatic)

Use @codmir/sdk/mcp to call MCP tools from your own TypeScript/JavaScript code.

Install
npm install @codmir/sdk
example.ts
import { MCPClient } from '@codmir/sdk/mcp';

const mcp = new MCPClient({
  apiUrl: 'https://codmir.com',
  token: process.env.CODMIR_API_TOKEN!,
  userId: process.env.CODMIR_USER_ID!,
});

// List to-do items
const todos = await mcp.listTodo({
  projectId: 'proj_123',
  priority: 'high',
});
console.log(todos.data);

// Mark a ticket as done
await mcp.updateTodoStatus({
  projectId: 'proj_123',
  ticketId: 'TKT-42',
  status: 'done',
});

// Execute an AI task
const result = await mcp.executeTask({
  projectId: 'proj_123',
  instructions: 'Add rate limiting to the /api/auth endpoint',
});

// Call any tool generically
const context = await mcp.callTool('get_project_context', {
  projectId: 'proj_123',
});

VS Code extension

The Codmir extension adds a To-Do List tree view to the sidebar. It shows all actionable tickets from your linked project, grouped by status or priority.

Features

  • Tickets grouped by status (default), priority, or flat list
  • Inline actions: mark done, mark in-progress, open in browser
  • Auto-refreshes on workspace open
  • Excludes tickets with auto-execution workflow enabled
  • Priority & type icons with rich markdown tooltips

Commands

CommandAction
Codmir: Refresh To-Do ListRe-fetch tickets from the API
Codmir: Mark as DoneUpdate ticket status to done
Codmir: Mark In ProgressUpdate ticket status to in-progress
Codmir: Open in BrowserOpen the ticket in the Codmir web app
Codmir: Group by Status / PriorityChange how tickets are grouped in the tree

Troubleshooting

“Not authenticated”

Run codmir login and try again. Credentials are stored in ~/.codmir/credentials.json.

MCP server not connecting

Restart your editor after updating the MCP config. Check the output/debug console for errors. You can test the server manually:

# Test the server starts
npx @codmir/mcp

# Or via CLI
codmir mcp serve

Debug mode

# Set DEBUG env var to see request/response logs
DEBUG=codmir:mcp npx @codmir/mcp

See also: SDK docs · CLI reference · Connecting a project

Open in ChatGPTOpen in ClaudeConnect MCP on CursorConnect MCP on WindsurfEdit on GitHub
codmir
Products
Desktop AppMobile AppIDE ExtensionAI AgentsOverseerVoice ModeCortex ProtocolHive MindGame Dev (Godat)PricingDownload
Solutions
AI Code AgentsCode ReviewError TrackingSelf-HealingDeploy TrackingAI Tracking SDKWorkflow AutomationTesting FrameworkTime TrackingVoice Control
Platform
ProjectsTickets & BoardsAgent MarketplaceIntegrationsTemplatesApp HubAdmin PanelAnalytics
Integrations
GitHubSlackDiscordVercelSentryRailwayLinearAll Integrations
Developers
DocumentationAPI ReferenceSDKCLIDeveloper PortalMarketplaceMCP ConnectorsWebhooksExamplesnpm Packages
Resources
BlogChangelogCommunityTutorialsGet StartedSupportStatusFeedback
Company
AboutCareersContact SalesKickstarterReferral Program
Legal
Terms of UsePrivacy PolicyEULATrademarkSecurity
Download on the App StoreGet it on Google Play

Codmir™ 2026. All rights reserved.

Free & open source SDK — Apache 2.0 License