This guide covers connecting OpenClaw to Neotoma through MCP. OpenClaw is a first-class harness target for neotoma setup and uses a native plugin for permissions rather than a command allowlist.
- Neotoma installation is client-agnostic (
npm install -g neotoma,neotoma init) neotoma setup --tool openclaw --yesauto-installs the MCP server entry and the published skills under.openclaw/skills/- Both stdio and HTTP MCP transports are supported; stdio is recommended for local installs
- Permissions are managed by the OpenClaw native plugin, not by a CLI-managed allowlist (Neotoma's
setupstep skips the allowlist patch for OpenClaw on purpose)
- Neotoma installed and initialized:
npm install -g neotoma
neotoma init- Node.js available on PATH
- OpenClaw environment with MCP client support
neotoma setup --tool openclaw --yesThis installs the Neotoma MCP server entry and the published skills into .openclaw/skills/. Permissions are not patched (OpenClaw uses its native plugin instead).
Alternatively, run the MCP config command directly:
neotoma mcp config --user-level --yesIf your OpenClaw environment cannot spawn neotoma setup, configure the MCP server entry manually. OpenClaw reads the same mcpServers JSON format as Cursor:
{
"mcpServers": {
"neotoma": {
"command": "neotoma",
"args": ["mcp", "stdio"],
"env": {}
}
}
}If neotoma is not on PATH from OpenClaw's launch environment, use the absolute path (run which neotoma to find it) or the launcher script:
{
"mcpServers": {
"neotoma": {
"command": "/absolute/path/to/neotoma/scripts/run_neotoma_mcp_stdio_prod.sh"
}
}
}Run npm run build:server once after cloning the repo if you use the launcher script.
Use HTTP when OpenClaw cannot spawn local stdio processes or when Neotoma runs remotely.
- Start Neotoma API/MCP in the target environment
- Configure OpenClaw to connect to the Neotoma MCP HTTP endpoint
- Provide required auth headers/tokens for your environment
For remote transport and auth details, see:
If OpenClaw in your environment does not expose MCP yet, run Neotoma via CLI:
neotoma entities list --type task
neotoma store --json='[{"entity_type":"task","title":"Follow up","status":"open"}]'- OpenClaw can see Neotoma MCP tools (or CLI commands succeed)
retrieve_entitiesreturns datastorecreates a test record and can be read back
- If tools do not appear, verify path and executable permissions for the stdio script
- If HTTP fails, verify base URL, auth token/header, and reachable port
- If startup fails after updates, rebuild server with
npm run build:server