Docs

Claude Desktop and claude.ai

Add memlane to Claude Desktop or claude.ai as a custom connector that signs in with OAuth, with a request header, or through the mcp-remote bridge.

There are three ways to connect Claude's apps. Sign-in is the simplest: there is no key to copy.

Option A: custom connector with sign-in (OAuth)

  1. In Claude, open Customize > Connectors, select Add, then Add custom connector. On Team and Enterprise plans, an Owner adds it under Organization settings > Connectors.
  2. Enter a name and the URL https://mcp.memlane.sh?tools=chat. Leave the OAuth client settings as they are: Claude uses its own published identity, so there is no client ID or secret to enter.
  3. Select Add, then Connect. memlane's sign-in page opens and names the domain that publishes Claude's identity.
  4. Sign in to your memlane account, or create one (an email and a password). Then pick one of your memories, or Start a new memory. To use a memory that isn't in your account yet, choose Add a memory I already have and paste an invite code.
  5. Continue back to Claude and ask it to call get_context.

?tools=chat lists twelve tools: the core four (get_context, remember, recall, forget), plus memory_import to bring in memories from another app, activity_list to see which app changed what, space_get for usage, sharing, and approvals (which tools are listed). Leave it out for the four core tools only.

Claude joins your memory as a member of its own. How it works, and how to disconnect: Connect with OAuth sign-in.

Or upload the memlane plugin

The plugin bundles the same connector with the memlane skill, so Claude also knows when to remember and recall. Download memlane-claude.zip, then in Claude open Customize > Plugins > Add > Upload plugin and choose the file. It connects to https://mcp.memlane.sh?tools=chat and signs in the same way as above.

Option B: custom connector with a request header

Custom connectors can send static request headers, as a beta that is available to some organizations.

  1. Get a key with device connect: POST https://api.memlane.sh/v1/connect, open the link it returns, then poll for the key (see Quickstart).
  2. In Claude, open Customize > Connectors > Add custom connector. On Team and Enterprise plans, an Owner adds connectors for the organization.
  3. Enter the URL https://mcp.memlane.sh?tools=chat.
  4. Set authentication to No sign-in, then add a Request header:
    • Header: authorization
    • Value: Bearer om_... (include the word Bearer and the space)
  5. Save, then enable the connector in a chat and ask Claude to call get_context.

Header values cannot be edited later. To change the key, remove the connector and add it again. If you do not see a request-header option, your organization does not have the beta. Use option A or C.

Option C: Claude Desktop with mcp-remote

mcp-remote runs locally and forwards to a remote MCP server with any headers you give it. It needs Node.js. Edit claude_desktop_config.json (Settings > Developer > Edit Config):

json
{
  "mcpServers": {
    "memlane": {
      "command": "npx",
      "args": ["mcp-remote", "https://mcp.memlane.sh?tools=chat", "--header", "Authorization:${AUTH_HEADER}"],
      "env": { "AUTH_HEADER": "Bearer om_..." }
    }
  }
}

Keep the key in env as shown. Some clients, including Claude Desktop on Windows, do not escape spaces inside args, so Authorization:${AUTH_HEADER} has no space and the value with the space lives in env.

Restart Claude Desktop, then ask Claude to call get_context.