Commands
| Command | Description |
|---|---|
coding-mcp init [folder] | Scan a directory for projects and write the registry. Defaults to the current working directory. |
coding-mcp add <folder> | Add a new root directory to the project registry and rescan. |
coding-mcp remove <folder> | Remove a root directory from the registry and rescan remaining roots. |
coding-mcp serve [options] | Start the MCP server. Accepts --transport, --host, --port, and --mode flags. |
Root management
init resets roots to one folder and performs a full scan:
add appends a root and rescans:
remove deletes a root and rescans remaining roots:
Serve options
| Flag | Description |
|---|---|
--transport <http|stdio> | Transport to use. Default is stdio. |
--host <host> | Bind address for HTTP mode. Default is 127.0.0.1. |
--port <port> | Port for HTTP mode. Default is 3000. |
--mode <streamable|sse> | HTTP transport mode. |
--projects-root <path> | Add a project root (repeatable). |
--config <path> | Path to a JSON or YAML config file. |
Structured output
init, add, and remove return structured JSON payloads so agents can parse results programmatically.