{"_id":"@takehub/mcp","_rev":"3-397d490c55f31c9e34c54c0fa2f1421c","name":"@takehub/mcp","dist-tags":{"latest":"1.1.2"},"versions":{"1.1.0":{"name":"@takehub/mcp","version":"1.1.0","keywords":["mcp","model-context-protocol","takehub","ai-agents","claude"],"author":{"name":"takehub"},"license":"MIT","_id":"@takehub/mcp@1.1.0","maintainers":[{"name":"mauur","email":"dev@mauur.com"}],"homepage":"https://github.com/mauurda/takehub#readme","bugs":{"url":"https://github.com/mauurda/takehub/issues"},"bin":{"mcp":"dist/index.js","takehub-mcp":"dist/index.js"},"dist":{"shasum":"120eaa467e3fad3268857c445f595ec91a727b8e","tarball":"https://registry.npmjs.org/@takehub/mcp/-/mcp-1.1.0.tgz","fileCount":32,"integrity":"sha512-dv7XfUHbVirKEYnjPIA1Tv1dROvGaynDAlAwXLbFkY3b0jv2aE7qV9vtRAROMcg6FZzTESMVvnmoVjxH7Ns4+w==","signatures":[{"sig":"MEQCIHO9WAOx5PvWFvHtbrV8FpFcLYeIVCsdfaLTRzz18cg5AiBtwYY77iKotxy4eUW7VcmntG2+LuszhoHU+cqdAI2YoA==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":81386},"main":"dist/index.js","type":"module","types":"./dist/index.d.ts","engines":{"node":">=18"},"gitHead":"b7e6f48c9e6048a1f9d8b102cc461dccebd1f994","scripts":{"dev":"tsc --watch","build":"tsc","smoke":"node scripts/smoke.mjs","start":"node dist/index.js","quality":"npm run type-check","type-check":"tsc --noEmit","prepublishOnly":"npm run build"},"_npmUser":{"name":"mauur","email":"dev@mauur.com"},"repository":{"url":"git+https://github.com/mauurda/takehub.git","type":"git","directory":"packages/mcp"},"_npmVersion":"11.6.2","description":"MCP server for AI agent access to the takehub API","directories":{},"_nodeVersion":"24.13.0","dependencies":{"zod":"^3.24.4","@modelcontextprotocol/sdk":"^1.12.1"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"~5.9.2","@types/node":"^22.15.0"},"_npmOperationalInternal":{"tmp":"tmp/mcp_1.1.0_1780583096480_0.9688251416487517","host":"s3://npm-registry-packages-npm-production"}},"1.1.1":{"name":"@takehub/mcp","version":"1.1.1","keywords":["mcp","model-context-protocol","takehub","ai-agents","claude"],"author":{"name":"takehub"},"license":"MIT","_id":"@takehub/mcp@1.1.1","maintainers":[{"name":"mauur","email":"dev@mauur.com"}],"homepage":"https://github.com/mauurda/takehub#readme","bugs":{"url":"https://github.com/mauurda/takehub/issues"},"bin":{"mcp":"dist/index.js","takehub-mcp":"dist/index.js"},"dist":{"shasum":"1b4399cddaeb537306736ca8ce6ede84419cc306","tarball":"https://registry.npmjs.org/@takehub/mcp/-/mcp-1.1.1.tgz","fileCount":32,"integrity":"sha512-6H3YWkBg/9CcDtDlBMpO3fujou4ZUo/wEcbY+Z29zBA45PV1x5EBXYY3lhGmXfYMRBLKOgFexQZPXrjpIw0F8Q==","signatures":[{"sig":"MEQCIAOVA1RqDAue5Q2DTGunhyFeu3kKr+Oa9YTsQGeshQroAiBLiXsKj4yh1MniLichcXkoomoyVCTDlaA1Fo3AH0CzUA==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":82464},"main":"dist/index.js","type":"module","types":"./dist/index.d.ts","engines":{"node":">=18"},"gitHead":"ae04cdd6b380ebcb78f506cbeb5d1fbbcdfa1bb0","mcpName":"app.takehub/mcp","scripts":{"dev":"tsc --watch","build":"tsc","smoke":"node scripts/smoke.mjs","start":"node dist/index.js","quality":"npm run type-check","pack:mcpb":"bash scripts/build-mcpb.sh","type-check":"tsc --noEmit","prepublishOnly":"npm run build"},"_npmUser":{"name":"mauur","email":"dev@mauur.com"},"repository":{"url":"git+https://github.com/mauurda/takehub.git","type":"git","directory":"packages/mcp"},"_npmVersion":"11.6.2","description":"MCP server for AI agent access to the takehub API","directories":{},"_nodeVersion":"24.13.0","dependencies":{"zod":"^3.24.4","@modelcontextprotocol/sdk":"^1.12.1"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"~5.9.2","@types/node":"^22.15.0"},"_npmOperationalInternal":{"tmp":"tmp/mcp_1.1.1_1780584082481_0.9905747284809445","host":"s3://npm-registry-packages-npm-production"}},"1.1.2":{"name":"@takehub/mcp","version":"1.1.2","mcpName":"app.takehub/mcp","type":"module","publishConfig":{"access":"public"},"description":"MCP server for AI agent access to the takehub API","main":"dist/index.js","bin":{"takehub-mcp":"dist/index.js","mcp":"dist/index.js"},"scripts":{"build":"tsc","dev":"tsc --watch","start":"node dist/index.js","type-check":"tsc --noEmit","smoke":"node scripts/smoke.mjs","quality":"npm run type-check","prepublishOnly":"npm run build","pack:mcpb":"bash scripts/build-mcpb.sh"},"keywords":["mcp","model-context-protocol","takehub","ai-agents","claude"],"author":{"name":"takehub"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/mauurda/takehub.git","directory":"packages/mcp"},"engines":{"node":">=18"},"dependencies":{"@modelcontextprotocol/sdk":"^1.12.1","zod":"^3.24.4"},"devDependencies":{"@types/node":"^22.15.0","typescript":"~5.9.2"},"types":"./dist/index.d.ts","bugs":{"url":"https://github.com/mauurda/takehub/issues"},"homepage":"https://github.com/mauurda/takehub#readme","gitHead":"5a008208fd94ee7b4c0082f23ffd1fc1302863ed","_id":"@takehub/mcp@1.1.2","_nodeVersion":"24.13.0","_npmVersion":"11.6.2","dist":{"integrity":"sha512-s0/jWJ68EWi5fGilUz/FOdmvWXxyKAwCTDeh/6vJ9SNb3YJFXWQl7xvKuAm9ZGtjraa3hgcgD5wWeaRHEBxjgA==","shasum":"8c2f6c6751fac8262fb697bbff663dc39001863b","tarball":"https://registry.npmjs.org/@takehub/mcp/-/mcp-1.1.2.tgz","fileCount":32,"unpackedSize":82484,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCICNQtdDKcytJqGpo15f3U8Gm0y7swpV5cyc1snG6Nsn5AiEAkFs9h0d3m6G9DjBMY9AL1gjrw7Lgfz5aAaiAHvjJvYw="}]},"_npmUser":{"name":"mauur","email":"dev@mauur.com"},"directories":{},"maintainers":[{"name":"mauur","email":"dev@mauur.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/mcp_1.1.2_1780584825748_0.05074288176006703"},"_hasShrinkwrap":false}},"time":{"created":"2026-06-04T14:24:56.351Z","modified":"2026-06-04T14:53:46.081Z","1.1.0":"2026-06-04T14:24:56.621Z","1.1.1":"2026-06-04T14:41:22.633Z","1.1.2":"2026-06-04T14:53:45.921Z"},"bugs":{"url":"https://github.com/mauurda/takehub/issues"},"author":{"name":"takehub"},"license":"MIT","homepage":"https://github.com/mauurda/takehub#readme","keywords":["mcp","model-context-protocol","takehub","ai-agents","claude"],"repository":{"type":"git","url":"git+https://github.com/mauurda/takehub.git","directory":"packages/mcp"},"description":"MCP server for AI agent access to the takehub API","maintainers":[{"name":"mauur","email":"dev@mauur.com"}],"readme":"# @takehub/mcp\n\nMCP (Model Context Protocol) server giving AI agents authenticated access to the\ntakehub API — topic create/manage, voting results, AI insights, and invites.\n\nPublished on npm as [`@takehub/mcp`](https://www.npmjs.com/package/@takehub/mcp).\nNo API key or config needed — you log in at runtime via the `authenticate` tool\n(browser flow), so every install below works as-is.\n\n## Install\n\n**Claude Code** (one command, no config file):\n\n```bash\nclaude mcp add takehub -- npx -y @takehub/mcp\n# --scope user   → all your projects\n# --scope project → shared, committed to .mcp.json for your team\n```\n\n**Claude Desktop** — install the one-click `.mcpb` bundle (see\n[`mcpb/`](./mcpb)), or add this to `claude_desktop_config.json`\n(`~/Library/Application Support/Claude/` on macOS,\n`%APPDATA%\\Claude\\` on Windows):\n\n```json\n{\n  \"mcpServers\": {\n    \"takehub\": { \"command\": \"npx\", \"args\": [\"-y\", \"@takehub/mcp\"] }\n  }\n}\n```\n\n**Any other MCP client** — point it at `npx -y @takehub/mcp` (stdio).\n\n## Build & run\n\n```bash\n# From repo root\nnpx turbo run build --filter=@takehub/mcp\n\n# Offline smoke test (asserts the full tool surface boots over stdio)\ncd packages/mcp && npm run smoke\n```\n\nBy default the server talks to **production** (`api.takehub.app` /\n`takehub.app`). Override with `VP_API_BASE_URL` / `VP_CLIENT_BASE_URL` to point\nat a local or preview backend.\n\n## Auth\n\nCall the `authenticate` tool: it opens a browser to the takehub web app, you log\nin, and tokens are POSTed back to a temporary localhost callback server. Tokens\nare held **in memory for the life of the server process** — login and any\nsubsequent tool calls must happen against the same running process. See\n`src/tools/auth.ts`.\n\n## Root `.mcp.json` points at the local build (intentional)\n\nThe repo's `/.mcp.json` registers the `takehub` server as:\n\n```json\n{ \"command\": \"node\", \"args\": [\"packages/mcp/dist/index.js\"] }\n```\n\nrather than the published package (`npx @takehub/mcp`). This is **deliberate**:\nin this monorepo we want the MCP server to reflect the code in the working tree\n(including in-flight changes on a branch), not whatever version is published to\nnpm. The trade-off: you must run the build above before the server will start\n(or after pulling changes), since it runs `dist/`, not source.\n\nIf you need the released package instead, temporarily switch the command back to\n`npx @takehub/mcp`.\n","readmeFilename":"README.md"}