{"_id":"@agenthub-mcp/mcp","_rev":"2-2778f2f77625cd4c7a210f6e392cb2c2","name":"@agenthub-mcp/mcp","dist-tags":{"latest":"0.1.1"},"versions":{"0.1.0":{"name":"@agenthub-mcp/mcp","version":"0.1.0","license":"MIT","_id":"@agenthub-mcp/mcp@0.1.0","maintainers":[{"name":"baighakeemyar","email":"info.beeneural@gmail.com"}],"bin":{"agenthub-mcp":"dist/cli.js"},"dist":{"shasum":"72d894e1fe593b516514254055df62c17837346e","tarball":"https://registry.npmjs.org/@agenthub-mcp/mcp/-/mcp-0.1.0.tgz","fileCount":30,"integrity":"sha512-u6qW1HTIBQNYv8DftJPCYa679z7LJpnPvxKwF4g5Rffgq46h1YS0gfiesAZiph4JPZ8DFA71xAP1v1ZEQnDeDQ==","signatures":[{"sig":"MEYCIQDgE1XC7FWd8kzomXIpklKQBZhus4e+7J692NL+ad5ergIhAId9w/JCzaK0UqaUEryjOIXSNHG/cViZJP7nhyXuPe57","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":72993},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","engines":{"node":">=18"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"}},"gitHead":"c106c4134bf2467af7775947de12e668c2c6552d","scripts":{"dev":"tsc -p tsconfig.json --watch","test":"vitest run","build":"tsc -p tsconfig.json","test:watch":"vitest","prepublishOnly":"npm run build"},"_npmUser":{"name":"baighakeemyar","email":"info.beeneural@gmail.com"},"_npmVersion":"11.16.0","description":"Agent Hub MCP server — connect coding agents to skills, agents, rules, and prompts","directories":{},"_nodeVersion":"24.18.1","dependencies":{"zod":"^3.25.76","yaml":"^2.8.1","@modelcontextprotocol/sdk":"^1.30.0"},"_hasShrinkwrap":false,"devDependencies":{"vitest":"^3.2.4","typescript":"^5.9.2","@types/node":"^22.17.2"},"_npmOperationalInternal":{"tmp":"tmp/mcp_0.1.0_1787224879896_0.06388344844733251","host":"s3://npm-registry-packages-npm-production"}},"0.1.1":{"name":"@agenthub-mcp/mcp","version":"0.1.1","description":"Agent Hub MCP server — connect coding agents to skills, agents, rules, and prompts","license":"MIT","type":"module","bin":{"agenthub-mcp":"dist/cli.js"},"main":"./dist/index.js","types":"./dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"}},"scripts":{"build":"tsc -p tsconfig.json","dev":"tsc -p tsconfig.json --watch","test":"vitest run","test:watch":"vitest","prepublishOnly":"npm run build"},"engines":{"node":">=18"},"dependencies":{"@modelcontextprotocol/sdk":"^1.30.0","yaml":"^2.8.1","zod":"^3.25.76"},"devDependencies":{"@types/node":"^22.17.2","typescript":"^5.9.2","vitest":"^3.2.4"},"gitHead":"6a64221c44a648bc08bbf59e08da8a190bfd36bf","_id":"@agenthub-mcp/mcp@0.1.1","_nodeVersion":"24.18.1","_npmVersion":"11.16.0","dist":{"integrity":"sha512-2zODoJpBIWvBDDcVoVXOoT5FLvv1muFtSKf7iqO/soJXZzIH39B9LkV40B+effCC7tEasziu0t6NkLFiSKS7mw==","shasum":"2706163db0f85d47499e1cd0bd8c72c8c5ad1480","tarball":"https://registry.npmjs.org/@agenthub-mcp/mcp/-/mcp-0.1.1.tgz","fileCount":30,"unpackedSize":73122,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIAYOkbF/K98ijb59FB0al0YOODytHj3ZJwex5ZuAEsqhAiEAz50nXPZxlRFfFw1ixBEHMVJXc209Bd6BPfFP2qzCeLI="}]},"_npmUser":{"name":"baighakeemyar","email":"info.beeneural@gmail.com"},"directories":{},"maintainers":[{"name":"baighakeemyar","email":"info.beeneural@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/mcp_0.1.1_1787227648039_0.8730706458842088"},"_hasShrinkwrap":false}},"time":{"created":"2026-08-20T11:21:19.753Z","modified":"2026-08-20T12:07:28.354Z","0.1.0":"2026-08-20T11:21:20.032Z","0.1.1":"2026-08-20T12:07:28.206Z"},"license":"MIT","description":"Agent Hub MCP server — connect coding agents to skills, agents, rules, and prompts","maintainers":[{"name":"baighakeemyar","email":"info.beeneural@gmail.com"}],"readme":"# @agenthub-mcp/mcp\n\nMCP server for Agent Hub — connect Cursor, Claude Code, Copilot, or any MCP client to skills, agents, rules, and prompts.\n\n> **Getting started:** see [doc/deployment-guide.md](../../../doc/deployment-guide.md) §5.\n\n## Quick start\n\n```powershell\n# 1. Install catalog via Python CLI\npip install agenthub\nagenthub install --bundle r-and-d --target .\\.agenthub --source C:\\path\\to\\agenthub-repo\n\n# 2. Run TypeScript MCP server\ncd packages\\npm\\mcp && npm install && npm run build\n$env:AGENTHUB_CATALOG_PATH = \"C:\\path\\to\\.agenthub\"\nnpx agenthub-mcp --stdio\n```\n\n## Install\n\n```bash\nnpm install -g @agenthub-mcp/mcp\n# or: npx @agenthub-mcp/mcp --stdio\n# or from this repo:\ncd packages/npm/mcp && npm install && npm run build\n```\n\n## Download catalog\n\nUse the Python CLI (or copy from repo) to install a catalog:\n\n```bash\npip install agenthub\nagenthub install --bundle r-and-d --target ./.agenthub --source /path/to/agenthub-repo\n```\n\nThis writes `.agenthub/` plus `agenthub-lock.json`.\n\n## Run locally (PowerShell)\n\nFrom repo root after building the package:\n\n```powershell\ncd packages/npm/mcp\nnpm install\nnpm run build\n\n$env:AGENTHUB_CATALOG_PATH = \"C:\\path\\to\\.agenthub\"\nnode .\\dist\\cli.js --stdio\n```\n\nOr use the bin entry:\n\n```powershell\n$env:AGENTHUB_CATALOG_PATH = \"C:\\path\\to\\.agenthub\"\nnpx agenthub-mcp --stdio\n```\n\n## Connect in `mcp.json`\n\n```json\n{\n  \"mcpServers\": {\n    \"agenthub\": {\n      \"type\": \"stdio\",\n      \"command\": \"npx\",\n      \"args\": [\"-y\", \"@agenthub-mcp/mcp\", \"--stdio\"],\n      \"env\": {\n        \"AGENTHUB_CATALOG_PATH\": \".agenthub\"\n      }\n    }\n  }\n}\n```\n\nGlobal install alternative:\n\n```bash\nnpm install -g @agenthub-mcp/mcp\n# then command: agenthub-mcp  (Windows may need the full path to the bin)\n```\n\nIf `AGENTHUB_BUNDLE` is unset, bundles are read from `agenthub-lock.json` in the catalog root.\n\n## CLI\n\n```text\nagenthub-mcp --stdio [--catalog <path>]\n```\n\n| Flag | Description |\n|------|-------------|\n| `--stdio` | Run stdio MCP transport (default) |\n| `--catalog <path>` | Catalog directory (overrides `AGENTHUB_CATALOG_PATH`) |\n\n## Environment\n\n| Variable | Required | Purpose |\n|----------|----------|---------|\n| `AGENTHUB_CATALOG_PATH` | Yes* | Installed catalog dir (`.agenthub/`) |\n| `AGENTHUB_CACHE_PATH` | No | Fetch cache dir (default: `<catalog>/.agenthub-cache/`) |\n| `AGENTHUB_BUNDLE` | No | Comma-separated bundle ids |\n| `AGENTHUB_TOOL_DESC_MODE` | No | `active` (default) or `passive` |\n\n\\*Or pass `--catalog <path>` on the CLI.\n\n## MCP tools\n\nSame surface as the Python server:\n\n- `list_skills`, `get_skill`, `get_skill_file`\n- `list_agents`, `get_agent`, `get_agent_file`\n- `list_rules`, `get_rule`, `get_rule_file`\n- `list_prompts`, `get_prompt`, `get_prompt_file`\n- `list_bundles`\n\n`get_*` handlers cache bodies and supporting files locally (`agenthub-cache-lock.json` under `.agenthub-cache/` by default). Set `AGENTHUB_CACHE_PATH` to override.\n\n## Test\n\n```powershell\ncd packages/npm/mcp\nnpm test\n```\n","readmeFilename":"README.md"}