Claude Code
Membase in Claude Code: over MCP with consent, over MCP with a developer key, or as the skill alone.
Claude Code reads pages and runs commands, so it can take Membase three ways: over MCP with consent, over MCP with a developer key, or as the skill alone. Pick by what you want it to be able to do.
Before you start
Section titled “Before you start”- Claude Code 2.1.186 or later for
claude mcp login; older versions authorize with/mcpinside a session. - Already connected Membase on claude.ai with the same account? Check
/mcpfirst: your Claude connectors are available there automatically. - For the skill or a key in the header, a developer key from Connect › Developer keys › Create key.
Set up
Section titled “Set up”Over MCP, with consent
Section titled “Over MCP, with consent”On Connect’s AI apps tab, the Claude Code card opens these steps (the card is there until Claude Code is connected) with the address filled in. Add Membase for all your projects, then sign in through your browser:
claude mcp add --transport http --scope user membase https://api.app.membase.com/mcp-httpclaude mcp login membase--scope user makes the server available in every project. The browser opens Membase’s
consent screen: choose the access level, the Memories Claude Code may use and whether it may
read Your profile, then press Approve access. If Claude Code asked only to read, Read
is the only level offered. Use /mcp to check the connection, then ask
“List my available Membase Memories.” If Membase is already configured, skip the add command
and sign in again.
With a developer key
Section titled “With a developer key”No OAuth round-trip, and the key’s level applies, up to Full:
claude mcp add --transport http --scope user membase https://api.app.membase.com/mcp-http \ --header "Authorization: Bearer ${MEMBASE_API_KEY}"The token screen right after Connect › Developer keys › Create key writes this command with the key filled in, on its Claude Code tab. The key’s page later shows no snippets, and a key created from Use a key › Skill shows only the sentence below.
Or the skill alone, with no MCP server at all. On Connect’s Developer keys tab, choose Use a key › Skill › Create key, and paste the sentence it gives you:
Install Membase from https://app.membase.com/skill using key mbk_…
Claude Code fetches the skill folder into ~/.claude/skills/membase/, stores the key as
MEMBASE_API_KEY in the env block of ~/.claude/settings.json, checks it with one call
and reports which Memories it can use. If it already has the MCP tools it uses those and
keeps the skill for its rules.
What it can do
Section titled “What it can do”Over MCP, tools/list shows only what the credential holds. No tool takes a Memory: reads
cover every Memory in reach, and a write lands in the Memory picked under Writes go to (or the one text Memory in reach).
The tools follow the access level, the same for a consent connection and a key:
| Level | Tools |
|---|---|
| Read | get_capabilities, search_memories, list_memories, get_memory, list_documents, get_document, list_media, get_media, search_media; list_profile_facts with Your profile on |
| Read & write | plus add_memory, add_document; add_profile_fact with Your profile on |
| Full | plus forget_memory, delete_document, delete_media; forget_profile_fact with Your profile on. With a key, each runs only with confirm=true after you agreed; over consent, a call only asks |
The skill alone gets the same operations over REST, at the key’s level.
Which Memories it uses
Section titled “Which Memories it uses”The Memories ticked on the consent screen or on the key, switchable later under
Memories it can use on Claude Code’s or the key’s page in Connect, or under Use in on
the Memory. An empty memories list from get_capabilities means nothing is switched on
yet.
Remove it
Section titled “Remove it”claude mcp remove membase. Then Revoke… Claude Code’s connection, or the key, on its
page in Connect: the client may not tell the server.
If something looks wrong
Section titled “If something looks wrong”| It says | What it means | Do |
|---|---|---|
claude mcp list shows membase as needs authentication |
consent not completed | claude mcp login membase, or /mcp in a session |
| List my available Membase Memories. answers none | connected, no Memory switched on | Memories it can use on Claude Code’s page in Connect, or Use in on the Memory |
| the skill says it has no access | no key, or the key reaches nothing | Developer keys › Use a key › Skill › Create key; or switch a Memory on for the key |
| a write comes back as a tool error, This key’s access level does not allow this. | the connection or key is at Read | raise it to Read & write under Access on its page |
| the first search takes a minute | the memory was asleep | nothing; the next one is quick |
| the model asks me to confirm a delete | a Full connection called delete or forget and got its how sentence |
decide; only a developer key at Full can pass confirm=true |