Skip to content
Cockpit0.29.0
A snapshot: read at commit 707a04c7ce8 on 2026-10-18T00:06:01Z by majordomus 0.29.0. Nothing on this page is read again. See it live

majordomus mcp

Serve the repository's AI layer to an MCP client over stdio

What it is

read only

Serve the repository's AI layer to an MCP client over stdio

Identity
executable.mcp
Program
executable
Runs
long running
Requires
repositorylayer
No machine surface carries this command: serves until it is stopped; a request/response surface cannot carry it

Where it appears

Command line
majordomus mcp
Workflow
just mcp
MCP tool
—
HTTP
—
Declared in
apps/majordomus-cli/src/cli.rs
Capability
—

Arguments

argumentvalues fromrequiredhelp
--repo—Start the search for the repository root here (default: the current directory)
--discovery—How declarative files are enumerated
--strict—Refuse to proceed when any file of the layer carries an error diagnostic
--share—The tool distribution's share directory (kinds.yaml, schemas/); default: $MAJORDOMUS_SHARE, then the repository's own share/, then the one beside the executable
--inspect—Print what would be served, and every diagnostic, then exit without serving
--format—Output shape of --inspect
--transport—The transport to serve on
--standalone—Serve this client alone: no shared server, no HTTP, no Swagger UI, no peers, and nothing written anywhere. The default is the shared server (below)
--http-host—Interface the shared server binds when this process is the one that starts it; without it, the one `MAJORDOMUS_HTTP_HOST` names on this machine, and loopback (`127.0.0.1`) when that is unset
--http-port—Port the shared server binds when this process starts it; without it, the port this checkout derives (8741 for the primary checkout). When it is taken, a free port is used instead and the URL is logged on stderr either way