Prerequisites
- A MemContext account at app.memcontext.in
- An API key if you are connecting a coding agent (create one under Settings > API Keys)
Claude.ai & Claude Desktop
Use this path when you want everyday Claude conversations to remember preferences, project context, and recurring details without editing config files. Step 1 - Open Connectors In Claude.ai or Claude Desktop, open Settings → Connectors. Step 2 - Add a custom connector Choose Add custom connector. Step 3 - Enter the production URL Use:Recommended instructions
Paste this into Claude → Settings → Profile → Instructions for Claude:Claude.ai and Claude Desktop use OAuth for this flow. You do not need to paste
API keys, headers, or config files.
Claude Code
Step 1 - Add the MCP server via CLI:~/.claude.json:
~/.claude/CLAUDE.md:
Cursor
Step 1 - Add this to~/.cursor/mcp.json:
OpenCode
Step 1 - Add the MCP server to~/.config/opencode/opencode.json:
~/.config/opencode/AGENTS.md.
Codex CLI
Step 1 - Add the MCP server to~/.codex/config.toml:
~/.codex/instructions.md.
Agent instructions
These instructions tell your AI assistant how and when to use MemContext. Add them to the preferences file for your client (listed above):Available tools
Once connected, your assistant has access to five tools:
See the MCP Tools section for parameter documentation.
Verifying the connection
After setup, ask Claude or your coding assistant:“Search your memory for any information about me.”If the connection is working, it will call
search_memory and return results (or an empty set if no memories exist yet).