{"_id":"@captain-sdk/captain-mcp","_rev":"6-d8410dc4917b00caed89668ef52ec189","name":"@captain-sdk/captain-mcp","dist-tags":{"latest":"0.1.4"},"versions":{"0.1.0":{"name":"@captain-sdk/captain-mcp","version":"0.1.0","keywords":["mcp","captain","rag","search","multimodal","claude-code","cursor"],"license":"MIT","_id":"@captain-sdk/captain-mcp@0.1.0","maintainers":[{"name":"edgarbabajanyan","email":"edgar@runcaptain.com"}],"homepage":"https://github.com/runcaptain/captain-mcp#readme","bugs":{"url":"https://github.com/runcaptain/captain-mcp/issues"},"bin":{"captain-mcp":"dist/server.js"},"dist":{"shasum":"e8451ccdb84a8a5a3a54d49a04ba2445b63593a1","tarball":"https://registry.npmjs.org/@captain-sdk/captain-mcp/-/captain-mcp-0.1.0.tgz","fileCount":14,"integrity":"sha512-r4mhtnRLmbEmTy8DEv9ZHEIVfFIf/YJqaJ1kKhmGXzZiT5+z7di2v0Uy2JoQpu4HuhHTWAqL2l0QB7NqVxmnGw==","signatures":[{"sig":"MEQCIHrp693JyCwhypIL/0S/N8Z0aOun0eRbJNqCURIWehTMAiBazNjtrV8qJnWDocrrqgvmHenbuoGrzPIDJt0DtazlBg==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":60383},"main":"./dist/server.js","type":"module","types":"./dist/server.d.ts","engines":{"node":">=18"},"gitHead":"a6e5d29f14bf538150a6074bc622fc1f83ab52b7","scripts":{"dev":"tsc --watch","build":"tsc","start":"node dist/server.js","prepublishOnly":"npm run build"},"_npmUser":{"name":"edgarbabajanyan","email":"edgar@runcaptain.com"},"repository":{"url":"git+https://github.com/runcaptain/captain-mcp.git","type":"git"},"_npmVersion":"11.11.0","description":"MCP server for Captain — multimodal RAG search and live project search. Usable from Claude Code, Cursor, and any MCP-aware client.","directories":{},"_nodeVersion":"24.14.1","dependencies":{"zod":"^3.23.8","@modelcontextprotocol/sdk":"^1.0.4"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"^5.6.0","@types/node":"^22.0.0"},"_npmOperationalInternal":{"tmp":"tmp/captain-mcp_0.1.0_1776536343144_0.6199588717416717","host":"s3://npm-registry-packages-npm-production"}},"0.1.1":{"name":"@captain-sdk/captain-mcp","version":"0.1.1","keywords":["mcp","captain","rag","search","multimodal","claude-code","cursor"],"license":"MIT","_id":"@captain-sdk/captain-mcp@0.1.1","maintainers":[{"name":"edgarbabajanyan","email":"edgar@runcaptain.com"}],"homepage":"https://github.com/runcaptain/captain-mcp#readme","bugs":{"url":"https://github.com/runcaptain/captain-mcp/issues"},"bin":{"captain-mcp":"dist/server.js"},"dist":{"shasum":"096c3b4d945f9cf6c462c749e2c6b8e905ad0fe0","tarball":"https://registry.npmjs.org/@captain-sdk/captain-mcp/-/captain-mcp-0.1.1.tgz","fileCount":14,"integrity":"sha512-AhKhxCT57SAaf22OJm5R4sS5g4yRmVnqSI4ZcbQg11iYtxtFXHgggxTsuCgOT2ZTd/bdPOz53n/hhLz6y2GikA==","signatures":[{"sig":"MEUCIQCYpZaR6/iCDFh45D8osK7aqndPuFElMaz081crHgtO9AIgNYuogEBopT0SWpcUVGDkiODyTwS8g9kRh7sD+OowP9g=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":59959},"main":"./dist/server.js","type":"module","types":"./dist/server.d.ts","engines":{"node":">=18"},"gitHead":"3ecb444c4e13db3983e54e8865ac894bee321b81","scripts":{"dev":"tsc --watch","build":"tsc","start":"node dist/server.js","prepublishOnly":"npm run build"},"_npmUser":{"name":"edgarbabajanyan","email":"edgar@runcaptain.com"},"repository":{"url":"git+https://github.com/runcaptain/captain-mcp.git","type":"git"},"_npmVersion":"11.11.0","description":"MCP server for Captain — multimodal RAG search and live project search. Usable from Claude Code, Cursor, and any MCP-aware client.","directories":{},"_nodeVersion":"24.14.1","dependencies":{"zod":"^3.23.8","@modelcontextprotocol/sdk":"^1.0.4"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"^5.6.0","@types/node":"^22.0.0"},"_npmOperationalInternal":{"tmp":"tmp/captain-mcp_0.1.1_1776537861538_0.5883690581004815","host":"s3://npm-registry-packages-npm-production"}},"0.1.2":{"name":"@captain-sdk/captain-mcp","version":"0.1.2","keywords":["mcp","captain","rag","search","multimodal","claude-code","cursor"],"license":"MIT","_id":"@captain-sdk/captain-mcp@0.1.2","maintainers":[{"name":"edgarbabajanyan","email":"edgar@runcaptain.com"}],"homepage":"https://github.com/runcaptain/captain-mcp#readme","bugs":{"url":"https://github.com/runcaptain/captain-mcp/issues"},"bin":{"captain-mcp":"dist/server.js"},"dist":{"shasum":"2a24e06f1b5a7dcfc62c6e32c59b7460430ac1f4","tarball":"https://registry.npmjs.org/@captain-sdk/captain-mcp/-/captain-mcp-0.1.2.tgz","fileCount":14,"integrity":"sha512-2Omfv2JRfsrcjc+SK0gjoJZL/a2eiGCsC7Kr46I8uheipCyWz87E+wBrmBFkv1Vr8pu1AMfZOiGPOs8WoJFt+A==","signatures":[{"sig":"MEUCIQDkHgFbKoEU6OFhb9JI9IojlB0h9ifo1f9Z07P6BOVBsQIgKvm1DLk3k7KUQJUkn6DhPDdQMqLgFBpIh+kXShESCjE=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":61088},"main":"./dist/server.js","type":"module","types":"./dist/server.d.ts","engines":{"node":">=18"},"gitHead":"4455403006648c9dc581c2b8ea03b6cde2920b26","scripts":{"dev":"tsc --watch","build":"tsc","start":"node dist/server.js","prepublishOnly":"npm run build"},"_npmUser":{"name":"edgarbabajanyan","email":"edgar@runcaptain.com"},"repository":{"url":"git+https://github.com/runcaptain/captain-mcp.git","type":"git"},"_npmVersion":"11.11.0","description":"MCP server for Captain — multimodal RAG search and live project search. Usable from Claude Code, Cursor, and any MCP-aware client.","directories":{},"_nodeVersion":"24.14.1","dependencies":{"zod":"^3.23.8","@modelcontextprotocol/sdk":"^1.0.4"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"^5.6.0","@types/node":"^22.0.0"},"_npmOperationalInternal":{"tmp":"tmp/captain-mcp_0.1.2_1776540176714_0.015078890427177027","host":"s3://npm-registry-packages-npm-production"}},"0.1.3":{"name":"@captain-sdk/captain-mcp","version":"0.1.3","keywords":["mcp","captain","rag","search","multimodal","claude-code","cursor"],"license":"MIT","_id":"@captain-sdk/captain-mcp@0.1.3","maintainers":[{"name":"edgarbabajanyan","email":"edgar@runcaptain.com"}],"homepage":"https://github.com/runcaptain/captain-mcp#readme","bugs":{"url":"https://github.com/runcaptain/captain-mcp/issues"},"bin":{"captain-mcp":"dist/server.js"},"dist":{"shasum":"17e862eacb5c6e4ac1f3e70e48e3ee2db69be3c7","tarball":"https://registry.npmjs.org/@captain-sdk/captain-mcp/-/captain-mcp-0.1.3.tgz","fileCount":14,"integrity":"sha512-K+yVNa/BTU8PZ1LdLM8y83U5Jyfj3rv+qWRFPQZhPx9xd1tMtsh3ncY47F4DDTHPzuhEdN0FA8iDPRQyqQpGKA==","signatures":[{"sig":"MEUCIQDvEC9A01PtB3A/2/42t8rj/53iHGGnjekbW7wdecZuJQIgAS73l5ppkuQK7CTgL8zxbBdCApnBCHdxr3nsimb0htc=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":61094},"main":"./dist/server.js","type":"module","types":"./dist/server.d.ts","engines":{"node":">=18"},"gitHead":"a3e7a197ded0f76fd440ba7738466026b1706e1f","scripts":{"dev":"tsc --watch","build":"tsc","start":"node dist/server.js","prepublishOnly":"npm run build"},"_npmUser":{"name":"edgarbabajanyan","email":"edgar@runcaptain.com"},"repository":{"url":"git+https://github.com/runcaptain/captain-mcp.git","type":"git"},"_npmVersion":"11.11.0","description":"MCP server for Captain — multimodal RAG search and live project search. Usable from Claude Code, Cursor, and any MCP-aware client.","directories":{},"_nodeVersion":"24.14.1","dependencies":{"zod":"^3.23.8","@modelcontextprotocol/sdk":"^1.0.4"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"^5.6.0","@types/node":"^22.0.0"},"_npmOperationalInternal":{"tmp":"tmp/captain-mcp_0.1.3_1776540935371_0.7668454457746099","host":"s3://npm-registry-packages-npm-production"}},"0.1.4":{"name":"@captain-sdk/captain-mcp","version":"0.1.4","keywords":["mcp","captain","rag","search","multimodal","claude-code","cursor"],"license":"MIT","_id":"@captain-sdk/captain-mcp@0.1.4","maintainers":[{"name":"edgarbabajanyan","email":"edgar@runcaptain.com"}],"homepage":"https://github.com/runcaptain/captain-mcp#readme","bugs":{"url":"https://github.com/runcaptain/captain-mcp/issues"},"bin":{"captain-mcp":"dist/server.js"},"dist":{"shasum":"a7d411fb635aa5c5b8df01908a8192aba46f5e0c","tarball":"https://registry.npmjs.org/@captain-sdk/captain-mcp/-/captain-mcp-0.1.4.tgz","fileCount":14,"integrity":"sha512-/oqYgbxEYyUte77DAaTXodDc1EkCZuWAbcj+5zv7Q/SMMNcEwec7Bi8KSYLfbAonrshPsSp07njV3mDxWpXrjg==","signatures":[{"sig":"MEUCIBV2kd4/q0I6em9YU636wYUlkxMkXEyqsEBZk6lHaOnMAiEAnBeXesa8yQaf+G+k2T3O0O+foYrc6bUiYzXObbr9IW0=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":68421},"main":"./dist/server.js","type":"module","types":"./dist/server.d.ts","engines":{"node":">=18"},"gitHead":"99e51676a165f883392a02ad3bf6ccf0358fd40c","scripts":{"dev":"tsc --watch","build":"tsc","start":"node dist/server.js","prepublishOnly":"npm run build"},"_npmUser":{"name":"edgarbabajanyan","email":"edgar@runcaptain.com"},"repository":{"url":"git+https://github.com/runcaptain/captain-mcp.git","type":"git"},"_npmVersion":"11.11.0","description":"MCP server for Captain — multimodal RAG search and live project search. Usable from Claude Code, Cursor, and any MCP-aware client.","directories":{},"_nodeVersion":"24.14.1","dependencies":{"zod":"^3.23.8","@modelcontextprotocol/sdk":"^1.0.4"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"^5.6.0","@types/node":"^22.0.0"},"_npmOperationalInternal":{"tmp":"tmp/captain-mcp_0.1.4_1776541569804_0.7960141483080283","host":"s3://npm-registry-packages-npm-production"}}},"time":{"created":"2026-04-18T18:19:03.020Z","modified":"2026-08-12T05:07:46.592Z","0.1.0":"2026-04-18T18:19:03.267Z","0.1.1":"2026-04-18T18:44:21.697Z","0.1.2":"2026-04-18T19:22:56.846Z","0.1.3":"2026-04-18T19:35:35.514Z","0.1.4":"2026-04-18T19:46:09.940Z"},"bugs":{"url":"https://github.com/runcaptain/captain-mcp/issues"},"license":"MIT","homepage":"https://github.com/runcaptain/captain-mcp#readme","keywords":["mcp","captain","rag","search","multimodal","claude-code","cursor"],"repository":{"url":"git+https://github.com/runcaptain/captain-mcp.git","type":"git"},"description":"MCP server for Captain — multimodal RAG search and live project search. Usable from Claude Code, Cursor, and any MCP-aware client.","maintainers":[{"email":"edgar@runcaptain.com","name":"edgarbabajanyan"},{"email":"lewis@captain.dev","name":"lienpolansky"}],"readme":"# @captain-sdk/captain-mcp\n\nMCP server for [Captain](https://runcaptain.com) — multimodal RAG search and persistent project search. Works with Claude Code, Cursor, Windsurf, and any MCP-aware client.\n\n## What it does\n\nExposes 19 tools:\n\n**Core search & collection management (17):**\n- `captain_search`, `captain_list_collections`, `captain_create_collection`, `captain_delete_collection`\n- `captain_list_documents`, `captain_delete_document`, `captain_wipe_documents`\n- `captain_job_status`, `captain_cancel_job`\n- `captain_index_url`, `captain_index_youtube`, `captain_index_text`, `captain_index_file`\n- `captain_index_s3`, `captain_index_gcs`, `captain_index_azure`, `captain_index_r2`\n\n`captain_index_file` uploads local paths (PDF, DOCX, XLSX, CSV, TXT, images, …) via multipart/form-data — max 20 files, 100MB each.\n\n**Live search (2):**\n- `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.\n- `captain_find` — semantic search over saved notes, with timestamps surfaced so stale notes are obvious.\n\n## Credentials\n\nSet these env vars in your shell (every client reads them the same way):\n\n```bash\nexport CAPTAIN_API_KEY=cap_...\nexport CAPTAIN_ORGANIZATION_ID=019a...\n```\n\nGet an API key at [runcaptain.com/studio](https://runcaptain.com/studio).\n\n## Install — Claude Code\n\nAdd to `~/.claude/settings.json` (user scope) or `.claude/settings.json` (project scope):\n\n```json\n{\n  \"mcpServers\": {\n    \"captain\": {\n      \"command\": \"npx\",\n      \"args\": [\"-y\", \"@captain-sdk/captain-mcp\"],\n      \"env\": {\n        \"CAPTAIN_API_KEY\": \"${CAPTAIN_API_KEY}\",\n        \"CAPTAIN_ORGANIZATION_ID\": \"${CAPTAIN_ORGANIZATION_ID}\"\n      }\n    }\n  }\n}\n```\n\nRestart Claude Code. `/mcp` shows `captain` connected.\n\n## Install — Cursor\n\nAdd to `.cursor/mcp.json` (project) or `~/.cursor/mcp.json` (global):\n\n```json\n{\n  \"mcpServers\": {\n    \"captain\": {\n      \"command\": \"npx\",\n      \"args\": [\"-y\", \"@captain-sdk/captain-mcp\"],\n      \"type\": \"stdio\",\n      \"env\": {\n        \"CAPTAIN_API_KEY\": \"${env:CAPTAIN_API_KEY}\",\n        \"CAPTAIN_ORGANIZATION_ID\": \"${env:CAPTAIN_ORGANIZATION_ID}\"\n      }\n    }\n  }\n}\n```\n\n## Install — any other MCP client\n\n```json\n{\n  \"mcpServers\": {\n    \"captain\": {\n      \"command\": \"npx\",\n      \"args\": [\"-y\", \"@captain-sdk/captain-mcp\"],\n      \"env\": {\n        \"CAPTAIN_API_KEY\": \"cap_...\",\n        \"CAPTAIN_ORGANIZATION_ID\": \"019a...\"\n      }\n    }\n  }\n}\n```\n\n## Usage\n\n```\n> Search runcaptain-docs for how the scientific/medical/ask streaming works\n> Save this to runcaptain: We picked Lambda over CF Worker for PubMed — NCBI doesn't IP-rate-limit.\n> What did we decide about PubMed proxying?\n> Index https://docs.runcaptain.com/api-reference into runcaptain-docs\n```\n\n## Optional: agent guidance\n\nDrop a `.cursor/rules/captain.mdc` (Cursor) or `CLAUDE.md` snippet (Claude Code) in your repo to nudge the agent toward the Captain tools:\n\n```markdown\nWhen searching docs or recalling past decisions, prefer captain_search, captain_save, and captain_find over grep/WebFetch. Use the repo basename as the search collection; captain_save auto-creates it.\n```\n\n## Links\n\n- [Captain API docs](https://docs.runcaptain.com)\n- [npm package](https://www.npmjs.com/package/@captain-sdk/captain-mcp)\n- [OpenClaw Captain plugin](https://github.com/runcaptain/openclaw-plugin-captain) — equivalent tools for the OpenClaw runtime.\n\n## License\n\nMIT.\n","readmeFilename":"README.md"}