What it does for Cursor
Rules tell Cursor how to behave. Memory tells it what is true about your work: the API you chose last month, the reviewer who wants tests first, and, if you connected Slack or GitHub, what was said there. With Alexein, Cursor’s agent searches that before it answers and saves what you tell it, without being asked.
It’s the same memory Claude Code, ChatGPT and your other assistants use, so switching tools doesn’t mean starting over.
Set it up
- Select Add to Cursor on the setup page in the docs. Cursor opens with the alexein server: select Install. Or add the entry below to
~/.cursor/mcp.jsonyourself. - Open Customize in Cursor’s sidebar. alexein asks you to sign in: select it, sign in to Alexein, keep Read and save, and select Allow.
- Under Customize, then Rules, add the five lines from the docs to your User Rules, so the agent searches first and saves without being asked.
- Ask the agent “What do you remember about me?” It calls
memory_search.
~/.cursor/mcp.json is for every project; .cursor/mcp.json inside a project adds Alexein there only.
{
"mcpServers": {
"alexein": {
"url": "https://api.alexein.ai/v1/mcp"
}
}
}Every step, and a key for scripts and CI, is in the Cursor setup guide.
What you can ask
- “Use the same error format as the billing service.” It searches memory for what you settled on, instead of inventing a new one.
- “What did the team decide about feature flags?” With Slack or Linear connected, it finds the conversation and says who decided and when.
- “I prefer small commits, and tests before the code.” Saved with
memory_add, so next week, in another repository, the agent can find it.
Approvals
By default, Cursor asks you to approve each MCP tool call. A search is a read and changes nothing; a save is a fact you can see, correct or forget on My memory.
Your past Cursor chats
A connector that brings your earlier Cursor sessions into memory is coming soon. Until then, the agent saves what matters as you work.
Questions about Cursor
No. Rules are instructions you write. Alexein is memory: Cursor searches it when a question needs it, saves to it as you work, and shares it with your other AI tools. The two work together: a rule tells the agent to use memory.
No. Cursor signs in to Alexein. A personal key is there for setups where nobody signs in, and Cursor reads it from an environment variable, so it is never written into the file.
Yes, from ~/.cursor/mcp.json and your User Rules. To keep it to one project, use .cursor/mcp.json in that project instead.