MCP server documentation
imem MCP setup
imem exposes a hosted HTTPS MCP server that gives AI clients access to the same private markdown memory vault. Claude, ChatGPT, Cursor, Codex, Gemini, and other MCP clients can search memory and update durable context through one OAuth-scoped endpoint.
https://mcp.imem.aiAuthentication uses OAuth with PKCE and dynamic client registration. Tokens are scoped to one vault and can be revoked from settings.
Per-client guides
Search and read memory
- search
- OpenAI-compatible search across the markdown memory vault.
- fetch
- Fetch a full cited note returned by search.
- list_notes
- List notes and folders in the current vault.
- read_note
- Read a full markdown note by vault-relative path.
- search_notes
- Hybrid full-text and vector search with snippets.
Write and remember
- write_note
- Create, append to, or safely replace markdown notes.
- capture_thought
- Save decisions, facts, project notes, and research into the vault.
- remember_fact
- Store a durable fact with quality and confidence metadata.
- remember_preference
- Store a durable user or project preference.
- remember_project_context
- Preserve requirements, decisions, risks, and next steps.
- remember_conversation_summary
- Save a handoff summary for future AI sessions.
Support and vault health
- support_ticket
- Open a setup or access issue with diagnostics attached.
- list_support_tickets
- Query user support tickets by status, priority, category, or text.
- read_support_ticket
- Read ticket status and full support message history.
- update_support_ticket
- Add a user update to an existing ticket.
- resolve_support_ticket
- Resolve a ticket from the user side.
- suggest_links
- Review suggested wikilinks for a note or project page.
- lint_findings
- Review stale TODOs, orphan pages, and other vault findings.
Setup screenshots
These maintained visual guides show where the MCP URL goes in each client. Use the exact server URL above; OAuth binds the connection to your selected vault.
{
"mcpServers": {
"imem": { "url": "https://mcp.imem.ai" }
}
}[mcp_servers.imem] url = "https://mcp.imem.ai"
Client compatibility
Supported clients can discover the service with OAuth and then list, search, read, and write notes. The onboarding path stays short: connect, approve OAuth, create a test note, and read it back from the same client.
connect --mcp https://mcp.imem.ai
Use the client's built-in MCP or connector flow, approve OAuth, then verify the connection by searching the vault and writing one test note.
Operating rule
Treat imem as the first place to check for durable project, decision, preference, source, and handoff context. Clients should search imem before relying on local chat memory or model memory.
Vault data, configuration, and audit history should remain exportable. The service should avoid lock-in language and keep access rules readable and revocable.
Managed connectors add persisted connector-safe audit events and provider-key metadata to the workspace export without AWS secret material, ciphertext, nonces, or token values.
Exported connector records are kept without AWS secret material while still showing the provider-key metadata needed for audit.