MCP guide
MCP guide
Section titled “MCP guide”aictx-mcp is an MCP stdio server. The MCP client must launch it and connect to
its stdin/stdout. An agent generally cannot start aictx-mcp in a shell and
then use it as MCP tools in an already-running session.
Install
Section titled “Install”The simplest setup is a global install:
npm install -g @aictx/memoryConfigure your MCP client to launch:
aictx-mcpIf aictx-mcp is not on PATH, configure the client to launch it through the
project package manager or local binary path:
pnpm exec aictx-mcpnpm exec aictx-mcp./node_modules/.bin/aictx-mcpnpx --package @aictx/memory -- aictx-mcpMCP exposes exactly these tools in v1:
load_memorysearch_memorysave_memory_patchdiff_memory
Use MCP equivalents only when the client already exposes Aictx MCP tools:
load_memory({ task: "<task summary>", mode: "coding" })search_memory({ query: "auth route conventions" })save_memory_patch({ patch: { source, changes } })diff_memory({})If the MCP server was launched globally rather than from the project root, pass the target root explicitly:
load_memory({ project_root: "/path/to/project", task: "<task summary>", mode: "coding"})CLI-only boundaries
Section titled “CLI-only boundaries”The CLI remains the supported path for setup, maintenance, recovery, export, inspection, registry management, local viewing, suggestion, and audit operations.
CLI-only capabilities are not MCP parity gaps. Do not add or ask for MCP tools
solely to mirror these CLI commands. In particular, do not add aictx view to
MCP. Local viewing is a browser inspection surface, not a routine MCP memory
operation.