Connect MemoryCode to OpenClaw (MCP)

OpenClaw supports MCP through mcporter or a built-in MCP bridge. MemoryCode is added as a normal MCP server — not as an OpenClaw Skill package (SKILL.md style skills are a separate mechanism).

Important

Skill packages and MCP servers are different paths. For MemoryCode, always use the MCP server configuration so tools such as get_user_profile and get_expertise are registered as MCP tools.

Typical config paths

  • macOS / Linux: ~/.config/openclaw/mcp.json
  • Windows: %APPDATA%\openclaw\mcp.json

OpenClaw evolves quickly; confirm paths in the OpenClaw project documentation if yours differ.

Steps (high level)

  1. Export memorycode-mcp.json from MemoryCode and save it on disk.
  2. Open OpenClaw MCP settings (mcporter or built-in MCP bridge, depending on your setup).
  3. Add a server named memorycode using the stdio configuration below.
  4. Restart or reload MCP, then confirm the tool list includes the MemoryCode tools you expect.

Configuration snippet

{
  "mcpServers": {
    "memorycode": {
  "command": "npx",
  "args": [
    "-y",
    "@memorycode/mcp-server",
    "--file",
    "/absolute/path/to/memorycode-mcp.json"
  ]
}
  }
}

The exact JSON shape may depend on how OpenClaw wraps MCP servers — align field names with your OpenClaw version while keeping the same command and args.

Full reference

More clients, diagnostics, and path copy buttons.

Open MCP setup guide →
MemoryCode MCP for OpenClaw — Via MCP, Not Skill Packages