Daemons¶
aidoc can be deployed as both an API service and a full MCP server.
User-Facing Reference¶
These subcommands handle workflow coordination, status alterations, and file edits.
aidoc daemon¶
aidoc as a service
Usage
aidoc daemon [OPTIONS] COMMAND [ARGS]...
Options
- --version¶
Show the version and exit.
mcp¶
aidoc MCP server
Usage
aidoc daemon mcp [OPTIONS]
Options
- -h, --host <host>¶
Host address to bind the REST API server to.
- Default:
'0.0.0.0'
- -p, --port <port>¶
Port to host the service on.
- Default:
8000
- --fg¶
Run the REST server in the foreground.
- --pidfile¶
Write a PID file to /run/mcp.pid
- -t, --transport <transport>¶
Transport protocol to use for the MCP server.
- Default:
'http'- Options:
stdio | http
rest¶
aidoc REST/API server
Usage
aidoc daemon rest [OPTIONS]
Options
- -h, --host <host>¶
Host address to bind the REST API server to.
- Default:
'0.0.0.0'
- -p, --port <port>¶
Port to host the service on.
- Default:
8000
- --pidfile¶
Write a PID file to /run/rest.pid
- --fg¶
Run the REST server in the foreground.