Skip to main content
Glama
@dropdat/mcp

@dropdat/mcp

Official
by dropdat

@dropdat/mcp

MCP server for dropdat. Lets any MCP-capable AI client (Claude Code, Cursor, Cline, Claude Desktop) recall, read, and save capsules in the user's dropdat library.

Architecture

Dropdat MCP architecture

Related MCP server: Runar

Python + LangGraph demo

The Python demo exposes the same five tools through FastMCP and routes execution with LangGraph. It supports a local SQLite demo and the existing Go API. See its README for setup and the stdio walkthrough.

Tools

Tool

Purpose

dropdat_recall

Hybrid vector + full-text search over the capsule library.

dropdat_read

Fetch one capsule's full contents by id (optional lineage).

dropdat_list

Browse recent capsules, optional tag filter.

dropdat_capsule

Save the current conversation slice as a new capsule (model picks the messages).

dropdat_autocapsule

Import filtered user/assistant text and nested tool-result text from a Claude Code .jsonl transcript.

dropdat_recall calls the hybrid /capsules/search endpoint (vector cosine ranking + PostgreSQL full-text ranking fused via RRF). Set OPENAI_API_KEY on the API for full semantic recall; without it the endpoint falls back to full-text search.

Install

# from npm (recommended — clients can also `npx -y @dropdat/mcp`)
npm install -g @dropdat/mcp

# or from source
git clone https://github.com/dropdat/mcp.git
cd mcp && npm install && npm run build

Configure

Issue an API key in the dashboard → API Keys (token shown once, shape dk_live_…). Export it:

export DROPDAT_API_KEY=dk_live_xxx
# Optional — defaults to https://dropdat.app, the hosted API.
# Set this only if you're running the API locally or self-hosted.
# export DROPDAT_API_BASE=http://localhost:8080

If you're self-hosting the API and have DEV_AUTH_BYPASS=1 enabled, the API ignores tokens entirely and assumes DEV_USER_ID. Use a real key against any normal deployment.

Wire into a client

Claude Code

Add to ~/.claude/mcp.json (or project .mcp.json):

{
  "mcpServers": {
    "dropdat": {
      "command": "npx",
      "args": ["-y", "@dropdat/mcp"],
      "env": {
        "DROPDAT_API_KEY": "dk_live_xxx"
      }
    }
  }
}

Cursor / Cline / Claude Desktop

Same shape — npx -y @dropdat/mcp as the command, DROPDAT_API_KEY in env. Transport is stdio.

Develop

npm run dev   # tsx, no rebuild
npm run build # emit dist/

The compiled dist/index.js starts with a #!/usr/bin/env node shebang and is chmod +x'd on build — once published, clients can npx -y @dropdat/mcp instead of pinning a path.

Endpoint surface used

All against the Go API under /api/v1:

  • GET /capsules?q=&tag=&limit=

  • POST /capsules/search

  • GET /capsules/{id}

  • GET /capsules/{id}/lineage

  • POST /capsules

Bearer auth — accepts either a Clerk session JWT or a dk_* API key. The MCP server uses the API-key path so it survives long-running agent sessions without a refresh dance.

Available Tools

5 tools
dropdat_autocapsuleA

Save the FULL verbatim Claude Code session as a capsule by reading its on-disk .jsonl transcript directly. Use this instead of dropdat_capsule when the user wants the entire conversation, not just a model-reconstructed slice. The server reads the file itself — no need to pass messages.

Inputs: title (required), summary, tags, transcriptPath, +2 more.

dropdat_capsuleB

Save the current conversation (or a relevant slice of it) as a new capsule. Call when the user says 'remember this', 'save this conversation', or at the end of a meaningful session.

Inputs: title (required), messages (required), summary, source, +2 more.

dropdat_listB

List recent capsules, optionally filtered by tag. Use to browse, not to search.

Inputs: tag, limit.

dropdat_readA

Fetch one capsule's full contents (all messages) by id. Pair with dropdat_recall to drill into a hit.

Inputs: id (required), includeLineage.

dropdat_recallA

Hybrid (vector + keyword) semantic search across the user's dropdat capsule library. Use this whenever the user asks about prior decisions, past sessions, or anything they may have discussed with another AI — even if their phrasing doesn't match exact words from earlier conversations. Returns ranked hits with id, title, summary, tags, and a fused score.

Inputs: query (required), tag, limit.

Tool Schema Changelog

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

Loading tool schema changelog…

    TDQS

    A3.9/5.0

    Scored across 5 tools

    Disambiguation5/5

    Each tool has a clear and distinct purpose: autocapsule saves full sessions, capsule saves current slice, list browses, read fetches by ID, and recall searches. No overlap or ambiguity.

    Naming Consistency4/5

    All tools use the 'dropdat_' prefix followed by a verb (autocapsule, capsule, list, read, recall). 'autocapsule' is a compound but still readable; overall pattern is consistent.

    Tool Count5/5

    5 tools is well-scoped for a capsule management server. Each tool covers an essential operation without unnecessary redundancy.

    Completeness4/5

    Core CRUD-like operations are present: create (capsule, autocapsule), read (list, read), and search (recall). Missing delete or update may cause minor gaps, but the primary workflow is covered.

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      B
      maintenance
      Enables MCP-compatible AI clients to access the NeuronSearchLab recommendation engine for fetching personalized recommendations, tracking user interactions, and managing catalogue items through natural language.
      372 npm
      MIT
    • A
      license
      B
      quality
      C
      maintenance
      Provides AI agents with durable, searchable project memory, session notes, skills, and bounded context packs over MCP while leaving orchestration to the client.
      15
      MIT
    • F
      license
      Not graded
      quality
      C
      maintenance
      Enables AI assistants to capture bookmarks, sticky notes, todos, notes, and web archives, and to search and organize personal knowledge and memory across cloud-synced clients.
      -