Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.codeant.ai/llms.txt

Use this file to discover all available pages before exploring further.

The CodeAnt CLI is MCP-compatible — you can expose every CodeAnt command as a tool to any Model Context Protocol client (Claude Desktop, Cursor, Windsurf, VS Code, Zed, etc.) with a single command. Under the hood we use any-cli-mcp-server, which reads the CLI’s --help output and turns each subcommand into an MCP tool. No extra configuration, no wrapper code — your AI assistant gets the same surface area as the CLI.

Prerequisites

  1. CodeAnt CLI installed and authenticated — follow the CLI setup guide
  2. Node.js 18 or later — required by npx

Quick Start

Run CodeAnt as an MCP server:
npx -y any-cli-mcp-server codeant
That’s it — every CodeAnt command (review, pr comments, pr resolve, pr list, …) is now available as an MCP tool.

Add to Your MCP Client

Drop this into your client’s MCP config (for example, ~/.cursor/mcp.json, claude_desktop_config.json, or .vscode/mcp.json):
{
  "mcpServers": {
    "codeant": {
      "command": "npx",
      "args": ["-y", "any-cli-mcp-server", "codeant"]
    }
  }
}
Restart your client and CodeAnt will appear as an available MCP server. Building a cache once skips the --help introspection on every launch:
# Build the cache
npx -y any-cli-mcp-server --cache-build codeant

# Point the MCP server at the cache
npx -y any-cli-mcp-server codeant_cache.json
Then reference the cache file in your MCP config. Use an absolute path — MCP clients launch the server from their own working directory, so a relative filename will not resolve:
{
  "mcpServers": {
    "codeant": {
      "command": "npx",
      "args": ["-y", "any-cli-mcp-server", "/absolute/path/to/codeant_cache.json"]
    }
  }
}

What You Can Do

Once connected, ask your assistant things like:
  • “Run a CodeAnt review on my uncommitted changes.”
  • “List open PRs on this repo and fetch unresolved CodeAnt comments on #42.”
  • “Resolve the CodeAnt comments I just fixed.”
The assistant calls the matching CodeAnt CLI commands directly through MCP — same auth, same output, same behavior as running them in your terminal.
For first-class Claude Code and Cursor integrations with curated slash commands and verdict-based fix flows, see Claude Code and Cursor. The MCP server is the right choice when you want raw CLI access from any other MCP client.