{"_id":"@bank.sudhipong/skill-hub-mcp","_rev":"3-bc9898837f8004957e3a84f30a059802","name":"@bank.sudhipong/skill-hub-mcp","dist-tags":{"latest":"0.2.0"},"versions":{"0.1.1":{"name":"@bank.sudhipong/skill-hub-mcp","version":"0.1.1","_id":"@bank.sudhipong/skill-hub-mcp@0.1.1","maintainers":[{"name":"bank.sudhipong","email":"bank.sudhipong@bitkub.com"}],"bin":{"skill-hub-mcp":"dist/index.js"},"dist":{"shasum":"5b441a85fd5b5b3b737739fe3902736c0414432c","tarball":"https://registry.npmjs.org/@bank.sudhipong/skill-hub-mcp/-/skill-hub-mcp-0.1.1.tgz","fileCount":3,"integrity":"sha512-M8bqB/xC2zX7d/OIPSBuv/sjFHtMvQNynTT5WWbAVQJjhJkSuYwF9tXL+T0Vi+ZGdqCYCsTxwF/xkLhKX6i83w==","signatures":[{"sig":"MEUCIAoCXVYjcS5cwSfl7JwgqPP8j8qcN6kbLWEFJHZcA4FiAiEApRl/qxhi3WL41lUz4xl0p9SxtCXC2FH9ccY2iJZrxoM=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":6444},"main":"dist/index.js","type":"module","gitHead":"5ba595f8b8ce47a478f3d743799c92ca98cca5d6","scripts":{"dev":"tsx src/index.ts","build":"tsc -p tsconfig.json","start":"node dist/index.js","prepublishOnly":"npm run build"},"_npmUser":{"name":"bank.sudhipong","email":"bank.sudhipong@bitkub.com"},"_npmVersion":"10.8.2","description":"MCP server exposing the AI Hub skills marketplace to any MCP-capable agent (login, list, fetch skills).","directories":{},"_nodeVersion":"20.20.2","dependencies":{"zod":"^3.24.1","@modelcontextprotocol/sdk":"^1.30.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.19.0","typescript":"5.5.3","@types/node":"20.14.10"},"_npmOperationalInternal":{"tmp":"tmp/skill-hub-mcp_0.1.1_1785834278836_0.17725438992505782","host":"s3://npm-registry-packages-npm-production"},"deprecated":"RETIRED — AI Hub MCP moved to HTTP with a browser (Okta) sign-in. Use: claude mcp add --transport http aihub <AIHUB_WEB_URL>/api/mcp — stdio-only clients: npx -y mcp-remote <AIHUB_WEB_URL>/api/mcp"},"0.2.0":{"name":"@bank.sudhipong/skill-hub-mcp","version":"0.2.0","_id":"@bank.sudhipong/skill-hub-mcp@0.2.0","maintainers":[{"name":"bank.sudhipong","email":"bank.sudhipong@bitkub.com"}],"bin":{"skill-hub-mcp":"dist/index.js"},"dist":{"shasum":"f9fa0544478e2fd72a1f097ab0f8a2b12ffc5914","tarball":"https://registry.npmjs.org/@bank.sudhipong/skill-hub-mcp/-/skill-hub-mcp-0.2.0.tgz","fileCount":3,"integrity":"sha512-rsFFRsPLj2YcDjxc0wsrKYEnXW2/DuEV81g7T3a7985hUeN0dkhBX2rERiOujGD2nHxXyDkC/ndId8ZGQ07cSA==","signatures":[{"sig":"MEUCIQCxtZMumxw7joZku/Tzx7MuDxEqk7PatrAgd6yuxJ73/QIgaIOI9ety7bSDpiYKXktbdvDhnLCCULUaKN4YV9XbXwM=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":7356},"main":"dist/index.js","type":"module","gitHead":"cb5802f5e075f040508dc82981dc0d819f539372","scripts":{"dev":"tsx src/index.ts","build":"tsc -p tsconfig.json","start":"node dist/index.js","prepublishOnly":"npm run build"},"_npmUser":{"name":"bank.sudhipong","email":"bank.sudhipong@bitkub.com"},"_npmVersion":"10.8.2","description":"RETIRED — AI Hub MCP moved to an HTTP endpoint with browser (Okta) sign-in. Install instructions only.","directories":{},"_nodeVersion":"20.20.2","dependencies":{"zod":"^3.24.1","@modelcontextprotocol/sdk":"^1.30.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.19.0","typescript":"5.5.3","@types/node":"20.14.10"},"_npmOperationalInternal":{"tmp":"tmp/skill-hub-mcp_0.2.0_1785922680909_0.18628267751185357","host":"s3://npm-registry-packages-npm-production"},"deprecated":"RETIRED — AI Hub MCP moved to HTTP with a browser (Okta) sign-in. Use: claude mcp add --transport http aihub <AIHUB_WEB_URL>/api/mcp — stdio-only clients: npx -y mcp-remote <AIHUB_WEB_URL>/api/mcp"}},"time":{"created":"2026-08-04T09:04:38.672Z","modified":"2026-08-05T10:20:04.032Z","0.1.1":"2026-08-04T09:04:38.983Z","0.2.0":"2026-08-05T09:38:01.043Z"},"description":"RETIRED — AI Hub MCP moved to an HTTP endpoint with browser (Okta) sign-in. Install instructions only.","maintainers":[{"name":"bank.sudhipong","email":"bank.sudhipong@bitkub.com"}],"readme":"# skill-hub-mcp — RETIRED\n\n> **This package is retired as of 0.2.0.** AI Hub's MCP server moved to an HTTP\n> endpoint served by AI Hub itself. Every tool in 0.2.0 returns migration\n> instructions instead of doing work.\n\n**Use this instead:**\n\n```bash\nclaude mcp remove aihub          # if the old stdio server is still registered\nclaude mcp add --transport http aihub <AIHUB_WEB_URL>/api/mcp\n```\n\nThen run `/mcp` and sign in through the browser.\n\nIf your client only speaks stdio (Codex CLI, older Claude Desktop), wrap the remote\nserver with [`mcp-remote`](https://www.npmjs.com/package/mcp-remote), which performs\nthe browser OAuth flow on the client's behalf:\n\n```json\n{\n  \"mcpServers\": {\n    \"aihub\": {\n      \"command\": \"npx\",\n      \"args\": [\"-y\", \"mcp-remote\", \"<AIHUB_WEB_URL>/api/mcp\"]\n    }\n  }\n}\n```\n\n## Why it was retired\n\nAI Hub replaced its email-only `aihub_login` — which accepted any email string with no\nverification — with **real OAuth 2.1 and an Okta browser sign-in**.\n\nClaude Code's native OAuth support (browser login, token storage in the OS keychain,\nautomatic refresh) works only over **HTTP/SSE transports**. A stdio server cannot\npresent a browser login, so this package could no longer authenticate anyone. Keeping\nit as a shim that explains the move is more useful than leaving it to fail obscurely:\nits old tools fetched `AIHUB_WEB_URL/api/skills`, which is being removed.\n\nA stdio OAuth client was deliberately **not** reimplemented here — `mcp-remote` already\ndoes that generically, and a second client implementation is one more thing to keep\ncorrect.\n\n## What replaced it\n\nThe MCP server now lives in the AI Hub web app at `/api/mcp` (Streamable HTTP), with\nthe Go API acting as the OAuth authorization server. Tools:\n\n- `aihub_whoami()` — identity from the access token. **There is no login tool.**\n- `aihub_list_skills({ category? })` — browse the published skills catalog.\n- `aihub_get_skill({ slug })` — fetch a skill's SKILL.md. Free skills only; priced\n  skills return `locked: true` until the purchase flow ships.\n\nSetup doc for agents: `<AIHUB_WEB_URL>/skill-hub-mcp/SKILL.md`.\nDesign and security notes: `MCP-OAUTH.md` in the `ai-hub` repo.\n\n## Develop (shim only)\n\n```bash\nnpm install\nnpm run build   # compiles src/index.ts to dist/\n```\n\nThe shim takes no configuration beyond `AIHUB_WEB_URL` (default\n`http://localhost:3000`), used only to phrase the migration message concretely.\n\n## Publish\n\nCI publishes to public npm on a tag, using the `NPM_TOKEN` CI/CD variable configured on\nthis project:\n\n```bash\ngit tag v0.2.0\ngit push --follow-tags\n```\n\n`package.json` already carries the version, so don't run `npm version` — it would bump\npast it.\n","readmeFilename":"README.md"}