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_collectioncaptain_list_documents,captain_delete_document,captain_wipe_documentscaptain_job_status,captain_cancel_jobcaptain_index_url,captain_index_youtube,captain_index_textcaptain_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-mcpOr run directly via npx (recommended — what the Claude Code and Cursor integrations use):
npx -y @captain-sdk/captain-mcpConfig (env vars)
CAPTAIN_API_KEY=cap_... # required
CAPTAIN_ORGANIZATION_ID=019a... # required
CAPTAIN_BASE_URL=https://api.runcaptain.com # optional, default shownGet 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-mcpRelated
- Captain API docs
- OpenClaw Captain plugin — equivalent tools for the OpenClaw runtime.