Skip to content

Cursor

Membase in Cursor through mcp.json, in one project or globally, with consent or a developer key.

Cursor reads Membase over MCP from a JSON file, in one project or for every project, and its agent can take the skill as well.

  • Cursor with MCP enabled under Customize in the sidebar.
  • For a write-capable connection, a developer key from Connect › Developer keys › Create key.

.cursor/mcp.json in the project, or ~/.cursor/mcp.json for every project:

{ "mcpServers": { "membase": { "url": "https://api.app.membase.com/mcp-http" } } }

Open Customize in the sidebar, enable Membase and complete the OAuth prompt: the browser opens Membase’s consent screen, where you tick the Memories Cursor may use and, if it may read the profile, Profile access. Check that its tools appear under Available Tools in chat, then ask “Which Membase memories can you use?”.

Add the header; the key’s level applies, up to Full access:

{ "mcpServers": { "membase": {
"url": "https://api.app.membase.com/mcp-http",
"headers": { "Authorization": "Bearer mbk_…" } } } }

The token screen right after Connect › Developer keys › Create key writes this block with the key filled in, on its Cursor / VS Code tab; the key’s page later shows no snippets. Keep a file that holds a key out of version control; the consent form of the file is safe to commit.

Or the skill: paste the sentence from Connect’s Skills tab and Cursor’s agent installs the skill folder in the project, points to it from the rules file and keeps the key. With the MCP tools already present it uses those and keeps the skill for its rules.

With consent: get_capabilities, search_memories, list_memories, get_memory, list_media, get_media, search_media and, when ticked, list_profile_facts, and nothing that writes. With a key: the key’s level; the tools per level are on Any MCP client.

An empty list of memories means no Memory is switched on for this connection. Switch one on under Uses on Cursor’s page in Connect, or on the key’s page, or under Use in on the Memory.

Delete the entry from mcp.json, then Disconnect… on Cursor’s page in Connect or Revoke… the key.

It says What it means Do
the server shows red under MCP the URL is wrong, or consent was not completed check the URL is the exact address, path included; retry the prompt; the Output panel’s MCP Logs has the error
Membase cannot connect, or asks to authenticate, with a key in headers the key is unknown, expired or revoked: the server answers 401 invalid_token to every request, so no tools load mint a new key and update the file
it can use no memories connected, no Memory switched on Uses on Cursor’s page in Connect
a project file with a key was committed the token is public Revoke… it now and mint another