Reference
CLI: MCP
Let an MCP-compatible AI client use Legra commands as tools.
legra system mcp serve
The client normally launches this command and communicates over standard input and output. It is not an interactive terminal session.
Set the intended workspace in the client's environment or command arguments:
legra --workspace research system mcp serve
The client uses the account access available to the CLI. Workspace permissions still apply. Review the client's tool approvals before allowing updates or membership changes.
For configuration examples and troubleshooting, see AI tools with MCP.