imem.ai

Connect imem to Cursor

3 steps · about 60 seconds

Cursor reads MCP servers from a JSON file. The URL transport is the easiest path — no local binary, no token to copy by hand. Authorization is OAuth in the browser — no API key needed.

Server URL
https://mcp.imem.ai

Authentication uses OAuth in the browser with PKCE and dynamic client registration. No API key is needed; tokens are scoped to one vault and can be revoked from settings.

Setup steps

  1. 1

    Open MCP settings

    Open Cursor Settings, then MCP, then Add new MCP server.

  2. 2

    Add the imem server

    Paste this snippet into ~/.cursor/mcp.json (or use the Cursor UI):

    ~/.cursor/mcp.json
    {
      "mcpServers": {
        "imem": {
          "url": "https://mcp.imem.ai"
        }
      }
    }
  3. 3

    Reload and authorize

    Reload Cursor. The first agent prompt that uses imem will open the OAuth window in your browser — approve it and you are connected.

Verify the connection

Paste the test prompt into a Cursor agent chat. Cursor should save and read back a harmless test memory, then tell you imem is ready.

Test prompt
Run the imem setup check now. Use the "setup_imem" tool if it is available.

It should save and read a harmless test memory, then tell me whether imem is ready.

Troubleshooting

  • Tools don't appear — reload Cursor after saving mcp.json so it re-reads the server list.
  • Asked for a token — none is needed. The URL transport handles authorization through browser OAuth.

Ready to remember everything?

Create a free vault, connect Cursor, and your AI keeps durable memory across every session.