memex
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| MEMEX_DB_PATH | No | Override the database path. Defaults to ~/Library/Application Support/memex (macOS), %LOCALAPPDATA%\memex (Windows), or ~/.local/share/memex (Linux). | |
| MEMEX_SYNC_AUTO | No | Set to 'true' to enable auto-sync (default false unless setup --sync used). | |
| ANTHROPIC_API_KEY | No | Anthropic API key required for auto-summaries. | |
| MEMEX_EXPORTS_DIR | No | Override the exports directory. | |
| MEMEX_EMBED_BACKEND | No | Embedding backend: 'fastembed' (default) or 'ollama'. | |
| MEMEX_SUMMARY_MODEL | No | Model for summaries (default 'claude-haiku-4-5-20251001'). | |
| MEMEX_REMOTE_BASE_URL | No | Public HTTPS base URL for the remote MCP connector (required for remote mode). | |
| MEMEX_SUMMARY_ENABLED | No | Set to 'true' to enable auto-summaries (default off). | |
| MEMEX_SYNC_ON_CAPTURE | No | Set to 'false' to disable sync on capture (default true). | |
| MEMEX_EMBED_BATCH_SIZE | No | Batch size for embedding. Lower to reduce memory usage (default 32). | |
| MEMEX_GITHUB_CLIENT_ID | No | GitHub OAuth App Client ID (required for remote mode). | |
| MEMEX_SUMMARY_MAX_TOKENS | No | Max tokens for summaries (default 200). | |
| MEMEX_GITHUB_CLIENT_SECRET | No | GitHub OAuth App Client Secret (required for remote mode). | |
| MEMEX_SYNC_MAX_BATCH_BYTES | No | Max bytes per sync batch transfer (default 8 MB). | |
| MEMEX_INGEST_MAX_BODY_BYTES | No | Max body bytes for ingest (default from sync batch). | |
| MEMEX_SYNC_INTERVAL_SECONDS | No | Interval between automatic syncs (default 900). | |
| MEMEX_REMOTE_ALLOWED_GITHUB_LOGINS | No | Comma-separated list of allowed GitHub usernames (required for remote mode). | |
| MEMEX_SYNC_ON_CAPTURE_DEBOUNCE_SECONDS | No | Debounce window in seconds for sync on capture (default 10). |
Capabilities
Features and capabilities supported by this server
| Capability | Details |
|---|---|
| tools | {
"listChanged": true
} |
| logging | {} |
| prompts | {
"listChanged": false
} |
| resources | {
"subscribe": false,
"listChanged": false
} |
| extensions | {
"io.modelcontextprotocol/ui": {}
} |
| experimental | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| search_chatsA | Access to the user's persistent memory: ALL their past Claude.ai chats. This is the only tool available to access the user's real history. Your native memory starts empty in every Claude Code session; anything the user has discussed on claude.ai lives only here. USE PROACTIVELY (without the user asking explicitly) when:
BEFORE saying things like "I have no record", "I do not remember", "this is the first time I hear about that", "this is not in my memory" or similar, invoke this tool and check the results. The likelihood the data is indexed is high. |
| get_chatA | Fetch a specific conversation from history by uuid (with pagination). USE when:
DO NOT use to discover new chats without searching first. To find
chats by topic or keyword, use If the chat is long, call again with |
| list_recent_chatsA | Chronological browse of the user's most recent Claude.ai chats. USE when:
For targeted topic/keyword searches use |
| find_relatedA | Find chats related to a free-form context (not to a short query). Different from USE when:
For short-keyword searches, use |
| index_terminal_sessionsA | Index the user's local Claude Code / terminal sessions into Memex now. Runs the same incremental scan as USE when the user asks to index / capture / save their terminal or Claude
Code work into their memory ("indexá esta charla", "index my sessions",
"guardá esta conversación en memex"). To also send it to the user's other
devices, follow with Returns:
JSON with |
| sync_nowA | Sync Memex with the user's other devices now (paired peers + shared folder). Runs an immediate two-way reconcile with every paired device and, if a
shared sync folder is configured (the dual-boot mode), a file sync. It
propagates what is ALREADY indexed locally, so to include the CURRENT
terminal session, call USE when the user asks to sync / push / send their conversations to their
other devices now ("sincronizá con mis dispositivos", "sync now", "mandá
esto a la mac"). Requires sync to be enabled ( Returns:
JSON with |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/dioniipereyraa/memex'
If you have feedback or need assistance with the MCP directory API, please join our Discord server