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)
- Export
memorycode-mcp.jsonfrom MemoryCode and save it on disk. - Open OpenClaw MCP settings (mcporter or built-in MCP bridge, depending on your setup).
- Add a server named
memorycodeusing the stdio configuration below. - 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.