Integrations
Cursor
Connect Cursor to Memax via MCP. Step-by-step configuration guide.
Cursor supports MCP servers, giving it direct access to Memax tools.
Setup
Create MCP config
Create or edit .cursor/mcp.json in your project root:
{
"mcpServers": {
"memax": {
"command": "npx",
"args": ["-y", "memax-cli", "mcp", "serve"]
}
}
}Restart Cursor
Cursor picks up MCP config changes on restart.
Verify
Ask Cursor: "What Memax tools do you have?"
It should list the available tools: memax_recall, memax_push, memax_search, etc.
Usage
Once connected, Cursor can:
- Recall relevant context when working on code
- Push discoveries and decisions to your hub
- Search your knowledge base for specific information
Example
You: "How should I implement the auth middleware?"
Cursor: [calls memax_recall with "auth middleware implementation"]
"Based on your team's knowledge base, the auth middleware should use
JWT verification with the shared secret from environment variables..."CLI piping fallback
If MCP isn't available, use CLI piping:
memax recall "auth middleware" | pbcopy
# Paste into Cursor chat