One command, one click, done. Claude, Cursor, Windsurf — every MCP-compatible AI gets persistent memory backed by your personal knowledge graph. No API key needed.
The MIND MCP Server is a Model Context Protocol server that connects any MCP-compatible AI agent to your personal MIND knowledge graph — remotely at https://m-i-n-d.ai/mcp, or locally over stdio via the open-source npm package.
Once connected, your AI agent can query your knowledge graph, store memories, manage tasks and goals, track contacts, run deep research, and read your emotional context — with full persistence across sessions, devices, and tools. What you teach Claude Code is available in Cursor. What you decide in one session is remembered in the next.
Your AI Agent ←→ MCP Protocol ←→ MIND MCP Server ←→ MIND Knowledge Graph
(Claude, (HTTP or stdio) (m-i-n-d.ai/mcp) (entities + relationships)
Cursor,
Windsurf...)
No API key. No config files. Sign in once in your browser and you're connected.
claude mcp add --transport http mind https://m-i-n-d.ai/mcp
Then run /mcp in Claude Code. Your browser opens to MIND — click Connect — done. Claude Code now has your full MIND: memory, tasks, contacts, research, everything.
Go to Settings → Connectors → Add custom connector and enter the URL https://m-i-n-d.ai/mcp. Click through the sign-in, hit Connect, and MIND is available in every conversation.
Add MIND to your remote-MCP config (.cursor/mcp.json in Cursor, ~/.codeium/windsurf/mcp_config.json in Windsurf) with the same URL:
{
"mcpServers": {
"mind": {
"url": "https://m-i-n-d.ai/mcp"
}
}
}
On first use, your browser opens for the same one-click Connect.
Prefer to run the server locally over stdio — for self-hosted MIND deployments, air-gapped machines, or setups where you manage keys explicitly? Use the open-source npm package.
Sign up at m-i-n-d.ai (free tier available — no credit card required), then navigate to Settings → Developer → Create API Key. Your key will start with mind_.
Requires Node.js 18 or higher.
npm install -g @astramindapp/mcp-server
Claude Code:
claude mcp add mind -- env MIND_API_KEY=mind_your_key_here mind-mcp
Or any MCP-compatible tool (Claude Desktop, Cursor, Windsurf, VS Code):
{
"mcpServers": {
"mind": {
"command": "mind-mcp",
"env": {
"MIND_API_KEY": "mind_your_key_here",
"MIND_BASE_URL": "https://m-i-n-d.ai" // optional — point at a self-hosted MIND
}
}
}
}
Once connected, your AI agent has access to all 30 MIND tools. Each tool's description below is exactly what the AI sees.
MIND is the persistent memory and knowledge-graph layer for AI agents — identity, memories, decisions, tasks, contacts, and emotional context that survive across every session, every tool, and every agent. The server ships these instructions to every connected agent; the protocol is three moves:
// 1. SESSION START — always do this first
mind_context() → Load identity, operating rules, priorities, recent activity. Never skip it.
// 2. BEFORE deciding or asserting anything
mind_query(topic) → MIND is authoritative memory — do not guess or claim something
does not exist without querying.
// 3. AFTER completing non-trivial work
mind_remember(outcome) → Log the outcome. Unlogged work is invisible to the next session.
Use type: "entry" (PRIVATE — default) for agent outcomes, logs,
decisions, and research.
document and entry (via mind_remember) are private to the user's knowledge graph. feed_post and mind_social create_thought are public — they post to the user's social feed where everyone can see them. Agents should never write to the public feed unless the user explicitly says "post", "share", "tweet", or "feed". Deploy logs, work outcomes, and agent activity belong in private entries.
Runtimes that aren't MCP hosts can call the same surface as a REST API at https://m-i-n-d.ai/developer/v1 with an X-API-Key header — every tool maps 1:1 to an endpoint.
Both flows authenticate with the same thing: a standard MIND API key. The one-paste OAuth flow mints one automatically when you click Connect; the npm flow uses one you create by hand. Either way, every connected tool shows up in m-i-n-d.ai → Settings → Developer → API Keys, where you can see its usage and revoke it instantly. Revoking the key disconnects that tool — nothing else changes.
| Capability | MEMORY.md / flat files | MIND MCP |
|---|---|---|
| Size limit | ~20K chars, then truncated | Unlimited knowledge graph |
| Retrieval | Loads everything every turn | Only retrieves relevant memories |
| Structure | Unstructured text | Entities + relationships + embeddings |
| Search | Keyword on small file | Hybrid semantic + graph traversal |
| Cross-tool | Locked to one tool | Shared across all MCP-compatible agents |
| Documents | Manual | Upload PDFs, Word, URLs, text |
| Tasks | Manual text editing | Structured task management via mind_life |
| Contacts | Not supported | Full CRM via mind_crm |
You can also import the server directly in your own Node.js application:
import { createMindMcpServer, MindClient } from "@astramindapp/mcp-server";
const client = new MindClient({
baseUrl: "https://m-i-n-d.ai",
apiKey: process.env.MIND_API_KEY,
});
const server = createMindMcpServer(client);
// Connect to any MCP transport (stdio, SSE, etc.)
A one-line install that teaches Claude Code exactly when and how to use the MIND MCP tools — session-start protocol, decision protocol, storage protocol, anti-patterns. After installing, Claude Code automatically loads context at session start, queries MIND before decisions, and logs outcomes at session end.
curl -fsSL https://m-i-n-d.ai/developer/mind-skill/install.sh | bash
Installs to ~/.claude/skills/mind/SKILL.md. Pairs with either connection flow above.