Skip to content

archidocs mcp

Serve the Model to AI agents over MCP, from a Workspace checkout or a published Bundle, on stdio or local HTTP.

archidocs mcp [--workspace <dir> | --bundle <url|path>] [--viewer-url <url>]
archidocs mcp --http [--host <loopback>] [--port <n>] [--allow-writes] [--workspace <dir> | --bundle <url|path>] [--viewer-url <url>]

--workspace <dir> · Default: the Workspace found from the current folder.

Serve this Workspace checkout; its write tools edit the YAML in place.

--bundle <url|path>

Serve a published Bundle, read-only, instead of a checkout.

--viewer-url <url>

The published viewer’s base URL; tool results then link to it.

--http · Off by default.

Serve Streamable HTTP at /mcp instead of stdio.

--host <loopback> · Default: 127.0.0.1.

With --http: the loopback address to listen on, 127.0.0.1, localhost or ::1.

--port <n> · Default: 3737.

With --http: the port to serve on.

--allow-writes · Off by default.

With --http: allow the write tools, which are off over HTTP by default.