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 is now called Grok Build (cursor.com); the steps below and the .cursor/ paths are unchanged, and its MCP documentation is at docs.grok.com.

  • Cursor with MCP enabled under Customize in the sidebar.
  • For a key in the header or the skill, a developer key from Connect › Developer keys › Create key.

On Connect’s AI apps tab, the Cursor card opens these steps (the card is there until Cursor is connected). Add to Cursor opens Cursor with the server filled in; confirm it. Then approve the sign-in, and its tools appear under Available Tools in chat.

To add it by hand instead, merge this into .cursor/mcp.json in the project, or ~/.cursor/mcp.json for every project, keeping any servers already there:

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

Open Customize in the sidebar, enable Membase and complete the OAuth sign-in: the browser opens Membase’s consent screen, where you choose the access level, the Memories Cursor may use and whether it may read Your profile, then press Approve access. If Cursor asked only to read, Read is the only level offered. Check that its tools appear under Available Tools in chat, then ask “List my available Membase Memories.”

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

{ "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 › Developer keys › Use a key › Skill 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.

What its access level allows, the same with consent or a key: Read, Read & write or Full. 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 Memories it can use 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 Revoke… Cursor’s connection, or the key, on its page in Connect.

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; open the Output panel and select MCP Logs for 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 create a new key and update the file
it can use no memories connected, no Memory switched on Memories it can use on Cursor’s page in Connect
a project file with a key was committed the token is public Revoke… it now and create another