JSPM

@captain-sdk/captain-mcp

0.1.0
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 44
  • Score
    100M100P100Q88550F
  • License MIT

MCP server for Captain — multimodal RAG search and live project search. Usable from Claude Code, Cursor, and any MCP-aware client.

Package Exports

  • @captain-sdk/captain-mcp
  • @captain-sdk/captain-mcp/dist/server.js

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@captain-sdk/captain-mcp) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

@captain-sdk/captain-mcp

MCP server for Captain — multimodal RAG search and persistent project search. Usable from Claude Code, Cursor, and any MCP-aware client.

What it does

Exposes 18 tools:

Core search & collection management (16, ported from the OpenClaw plugin):

  • captain_search, captain_list_collections, captain_create_collection, captain_delete_collection
  • captain_list_documents, captain_delete_document, captain_wipe_documents
  • captain_job_status, captain_cancel_job
  • captain_index_url, captain_index_youtube, captain_index_text
  • captain_index_s3, captain_index_gcs, captain_index_azure, captain_index_r2

Live-search sugar (2, new in MCP):

  • captain_save — save a short note (decision, gotcha, bug repro, design constraint) to a per-project collection with a timestamped, slugified filename. Auto-creates the collection on first use.
  • captain_find — semantic search over saved notes, with timestamps surfaced so stale notes are obvious.

Install

npm install -g @captain-sdk/captain-mcp

Or run directly via npx (recommended — what the Claude Code and Cursor integrations use):

npx -y @captain-sdk/captain-mcp

Config (env vars)

CAPTAIN_API_KEY=cap_...                # required
CAPTAIN_ORGANIZATION_ID=019a...        # required
CAPTAIN_BASE_URL=https://api.runcaptain.com  # optional, default shown

Get an API key at runcaptain.com/studio.

Use from Claude Code

Install the companion plugin: claude-code-plugin-captain. It bundles the .mcp.json pointing at this package.

Use from Cursor

Use the one-click deeplink or manual .cursor/mcp.json in cursor-plugin-captain.

Use from any MCP client

Add to your client's MCP config:

{
  "mcpServers": {
    "captain": {
      "command": "npx",
      "args": ["-y", "@captain-sdk/captain-mcp"],
      "env": {
        "CAPTAIN_API_KEY": "cap_...",
        "CAPTAIN_ORGANIZATION_ID": "019a..."
      }
    }
  }
}

Smoke test

CAPTAIN_API_KEY=... CAPTAIN_ORGANIZATION_ID=... \
  npx @modelcontextprotocol/inspector npx @captain-sdk/captain-mcp