Skip to main content
Glama
@memlane/mcp
by danii1

@memlane/mcp

Connect Memlane, your personal library of saved links and notes, to AI assistants that support local MCP servers.

Prerequisites

  1. A Memlane account

  2. An API key from Manage → Connections → API keys in the app

  3. Node.js 18+ (for npx)

Related MCP server: memos-mcp-server

Configuration

This server runs locally via stdio. Most compatible hosts use the same JSON shape:

{
  "mcpServers": {
    "memlane": {
      "command": "npx",
      "args": ["-y", "@memlane/mcp"],
      "env": {
        "MEMLANE_API_KEY": "ml_live_…"
      }
    }
  }
}

Variable

Required

Default

MEMLANE_API_KEY

Yes

n/a

MEMLANE_API_URL

No

https://api.memlane.io

After npm install -g @memlane/mcp, you can use "command": "memlane-mcp" instead of npx.

Supported hosts

Host

Where to add the config

Cursor

Settings → MCP, or .cursor/mcp.json in a project

Claude Code

claude mcp add memlane -- npx -y @memlane/mcp (pass -e MEMLANE_API_KEY=…)

Windsurf

~/.codeium/windsurf/mcp_config.json

VS Code + Copilot

.vscode/mcp.json — see below

Gemini CLI

~/.gemini/settings.json

For ChatGPT and Claude Desktop, use the remote MCP endpoint instead (OAuth, no API key).

Restart the host app after editing config files.

VS Code

VS Code uses "servers" as the root key (not "mcpServers"):

{
  "servers": {
    "memlane": {
      "command": "npx",
      "args": ["-y", "@memlane/mcp"],
      "env": {
        "MEMLANE_API_KEY": "ml_live_…"
      }
    }
  }
}

Enable MCP in VS Code settings: "chat.mcp.enabled": true.

ChatGPT and remote MCP hosts

ChatGPT, Claude Desktop, Claude on the web, and other remote MCP clients cannot run npx. Use Memlane's hosted endpoint instead:

URL: https://api.memlane.io/mcp

  1. In your AI app, add a custom MCP connector with that URL.

  2. Complete the OAuth sign-in flow (Memlane account: magic link or future social providers).

  3. Approve access on the consent screen.

No API key required. Disconnect by removing the connector in your AI app's settings.

Tools

The local server exposes 10 MCP tools. Full function reference:

  • docs/TOOLS.md — what each tool does, parameters, return shapes, and workflow tips

  • docs/API.md — REST mappings, auth scopes, and curl examples

Tool

Description

search_saves

Semantic search over your library

list_saves

Browse saves with filters (project, topic, kind, status)

get_save

Fetch metadata; optional full markdown body

capture_url

Save a URL (enrichment runs in the background)

create_note / update_note

Create or edit markdown notes

list_projects / list_topics

List projects and topics

add_topic_to_save / remove_topic_from_save

Tag or untag a save

Security

API keys are secrets. Store them in your MCP host's environment config. Never commit them to version control. Revoke a leaked key in Manage → Connections → API keys.

License

MIT

Available Tools

10 tools
add_topic_to_saveC

Attach a topic to a saved link or note

Inputs: itemId (required), topicId (required).

capture_urlB

Save a URL to Memlane (background enrichment: extract, embed, classify)

Inputs: url (required), projectId.

create_noteC

Create a markdown note in Memlane

Inputs: title (required), content (required), projectId.

get_saveB

Get a saved link or note by id, optionally including full markdown content

Inputs: id (required), includeContent.

list_projectsA

List Memlane projects

Inputs: no named parameters.

list_savesC

List saved links and notes, newest first

Inputs: limit, cursor, projectId, topicName, +3 more.

list_topicsB

List Memlane topics (general and project-scoped)

Inputs: no named parameters.

remove_topic_from_saveC

Remove a topic from a saved link or note

Inputs: itemId (required), topicId (required).

search_savesC

Semantic search over your saved links and notes in Memlane

Inputs: query (required), limit.

update_noteB

Update a note's title and/or markdown body

Inputs: id (required), title, content.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    B3.2/5.0

    Scored across 10 tools

    Disambiguation5/5

    Each tool targets a distinct action (capture, create, update, get, list, search, add/remove topic) on distinct resources (saves, notes, topics, projects). No overlap or ambiguity.

    Naming Consistency5/5

    All tool names follow a consistent verb_noun pattern in snake_case (e.g., capture_url, list_saves, remove_topic_from_save). No mixing of conventions.

    Tool Count5/5

    With 10 tools covering core operations for save/note management, topic organization, and project listing, the count is well-scoped and appropriate for the server's purpose.

    Completeness3/5

    Notable gaps: no delete tool for saves/notes, no create or update tools for topics or projects. The surface covers basic CRUD for notes and saves but misses lifecycle operations.

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      Not graded
      maintenance
      Integrates the Mem0 Memory API with MCP-compatible clients to provide AI agents with persistent, long-term memory capabilities. It enables users to add, search, update, and delete memories to maintain context and personalization across different interactions.
      Apache 2.0
    • A
      license
      Not graded
      quality
      D
      maintenance
      Enables AI assistants to access and search your local browsing knowledge graph via MCP resources and tools.
      11
      MIT
    • A
      license
      A
      quality
      D
      maintenance
      Enables AI assistants to manage memories via the mem9 memory service, supporting memory storage, semantic search, retrieval, update, and deletion across multiple platforms.
      5
      Apache 2.0