coding-mcp is primarily used when your agent should work on repositories remotely, without cloning source code or doing per-repository setup on the agent machine.
Prerequisites:
  • Node.js 20 or newer
  • At least one folder containing project repositories (for example /projects)

Install

Install globally from npm:
npm install -g @kieutrongthien/coding-mcp

Initialize the project registry

Use the CLI to scan and add all projects in a folder:
cd /my-projects
coding-mcp init
or add projects from an explicit path:
coding-mcp init /other-projects
Add or remove roots later:
coding-mcp add /projects/my-repo
coding-mcp remove /projects/my-repo

Start the server

HTTP mode (for remote agents):
coding-mcp serve --transport http --host 0.0.0.0 --port 4000 --mode streamable
STDIO mode (for local agents like Cursor or Claude Desktop):
coding-mcp serve --transport stdio

Connect an agent

Claude Desktop (STDIO)

{
  "mcpServers": {
    "coding-mcp": {
      "command": "node",
      "args": ["/absolute/path/to/coding-mcp/dist/src/main/stdio.js"],
      "env": {
        "PROJECTS_ROOTS": "/projects"
      }
    }
  }
}

Cursor (STDIO)

{
  "mcpServers": {
    "coding-mcp": {
      "command": "node",
      "args": ["/absolute/path/to/coding-mcp/dist/src/main/stdio.js"],
      "env": {
        "PROJECTS_ROOTS": "/projects,/srv/repos",
        "ENABLE_STDIO": "true",
        "ENABLE_HTTP": "false"
      }
    }
  }
}

Generic HTTP MCP client

{
  "mcpServers": {
    "coding-mcp-http": {
      "url": "http://your-host:4000",
      "headers": {
        "x-api-key": "editor-key"
      }
    }
  }
}

Next steps