{"_id":"@spideriq/mcp-gate","_rev":"3-8297cd88bb8a43fac0a4252b051d436a","name":"@spideriq/mcp-gate","dist-tags":{"latest":"1.11.0"},"versions":{"1.3.0":{"name":"@spideriq/mcp-gate","version":"1.3.0","keywords":["spideriq","spidergate","mcp","model-context-protocol","llm","gateway","litellm","claude","ai-assistant"],"author":{"name":"SpiderIQ"},"license":"MIT","_id":"@spideriq/mcp-gate@1.3.0","maintainers":[{"name":"martinshein","email":"martin@di-atomic.com"}],"homepage":"https://github.com/SpiderIQ/SpiderIQ#readme","bugs":{"url":"https://github.com/SpiderIQ/SpiderIQ/issues"},"bin":{"spideriq-mcp-gate":"dist/server.js"},"dist":{"shasum":"b1c15f36e6b32c595d0db46a3e8fd40abeda1205","tarball":"https://registry.npmjs.org/@spideriq/mcp-gate/-/mcp-gate-1.3.0.tgz","fileCount":2,"integrity":"sha512-CjHASw6WzFgCPW+UxhH1CFtS2CESFvSHtWGuaXBoYCGG1A/Y3+Op0DroM2nL4sOV+4i+/YaviF3I4i/R8QYWFw==","signatures":[{"sig":"MEUCID9f0M0vYceNxwH2TG1M7hVvIxTzZgodCTNw4e3TE+G0AiEAzKeimV8+rGCIqqNIBHHcuRjKLnbltX+AEIyG9fCoXDQ=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":18504},"main":"dist/server.js","type":"module","engines":{"node":">=18.0.0"},"gitHead":"d5d1825200b9b1c0e47d5cf8ef44c6816a8eaceb","mcpName":"ai.spideriq/gate","scripts":{"dev":"tsup --watch","build":"tsup","clean":"rm -rf dist","start":"node dist/server.js","typecheck":"tsc --noEmit","prepublishOnly":"echo 'ERROR: Use packages/scripts/publish-package.sh, not raw npm publish. See docs/services/SpiderCLI/LEARNINGS.md' && exit 1"},"_npmUser":{"name":"martinshein","email":"martin@di-atomic.com"},"repository":{"url":"git+https://github.com/SpiderIQ/SpiderIQ.git","type":"git","directory":"packages/mcp-gate"},"_npmVersion":"10.9.7","description":"SpiderIQ Gate MCP Server — SpiderGate LLM gateway (completions, models, usage, traces) for AI assistants","directories":{},"_nodeVersion":"22.22.2","dependencies":{"zod":"^3.22.4","yaml":"^2.3.4","@spideriq/core":"^1.31.0","@modelcontextprotocol/sdk":"^1.0.0"},"publishConfig":{},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.0.1","typescript":"^5.3.3","@types/node":"^20.11.0","@spideriq/mcp-tools":"^1.34.0"},"_npmOperationalInternal":{"tmp":"tmp/mcp-gate_1.3.0_1781911973652_0.9561090361144","host":"s3://npm-registry-packages-npm-production"}},"1.6.0":{"name":"@spideriq/mcp-gate","version":"1.6.0","keywords":["spideriq","spidergate","mcp","model-context-protocol","llm","gateway","litellm","claude","ai-assistant"],"author":{"name":"SpiderIQ"},"license":"MIT","_id":"@spideriq/mcp-gate@1.6.0","maintainers":[{"name":"martinshein","email":"martin@di-atomic.com"}],"homepage":"https://github.com/SpiderIQ/SpiderIQ#readme","bugs":{"url":"https://github.com/SpiderIQ/SpiderIQ/issues"},"bin":{"spideriq-mcp-gate":"dist/server.js"},"dist":{"shasum":"3990ba62dde8de9437c17fc223626ee5196cb0a1","tarball":"https://registry.npmjs.org/@spideriq/mcp-gate/-/mcp-gate-1.6.0.tgz","fileCount":2,"integrity":"sha512-QsHpLQMZzj29ng5I78qG9uZnaUsnf0pxF3Oy5wDY/bAghfkjYxzumYr8MI467TLGVp5cNlwY85ZlLGKI4KdZqA==","signatures":[{"sig":"MEUCIE9Js9V+JBWgpeZqFLp3KmWbFHIfVcuTNN97DSGUwZmZAiEA1M3uqKmcUbW2OKZVMR0bbTFVgQECQWEO7oKFyBWvfIs=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":30100},"main":"dist/server.js","type":"module","engines":{"node":">=18.0.0"},"mcpName":"ai.spideriq/gate","scripts":{"dev":"tsup --watch","build":"tsup","clean":"rm -rf dist","start":"node dist/server.js","typecheck":"tsc --noEmit","prepublishOnly":"echo 'ERROR: Use packages/scripts/publish-package.sh, not raw npm publish. See docs/services/SpiderCLI/LEARNINGS.md' && exit 1"},"_npmUser":{"name":"martinshein","email":"martin@di-atomic.com"},"repository":{"url":"git+https://github.com/SpiderIQ/SpiderIQ.git","type":"git","directory":"packages/mcp-gate"},"_npmVersion":"10.9.7","description":"SpiderIQ Gate MCP Server — SpiderGate LLM gateway (completions, models, usage, traces) for AI assistants","directories":{},"_nodeVersion":"22.22.2","dependencies":{"zod":"^3.22.4","yaml":"^2.3.4","@spideriq/core":"^1.57.0","@modelcontextprotocol/sdk":"^1.0.0"},"publishConfig":{},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.0.1","typescript":"^5.3.3","@types/node":"^20.11.0","@spideriq/mcp-tools":"^1.68.0"},"_npmOperationalInternal":{"tmp":"tmp/mcp-gate_1.6.0_1785073086822_0.1534817261008774","host":"s3://npm-registry-packages-npm-production"}},"1.11.0":{"name":"@spideriq/mcp-gate","version":"1.11.0","mcpName":"ai.spideriq/gate","description":"SpiderIQ Gate MCP Server — SpiderGate LLM gateway (completions, models, usage, traces) for AI assistants","main":"dist/server.js","type":"module","bin":{"spideriq-mcp-gate":"dist/server.js"},"scripts":{"build":"tsup","dev":"tsup --watch","clean":"rm -rf dist","typecheck":"tsc --noEmit","start":"node dist/server.js","prepublishOnly":"echo 'ERROR: Use packages/scripts/publish-package.sh, not raw npm publish. See docs/services/SpiderCLI/LEARNINGS.md' && exit 1"},"keywords":["spideriq","spidergate","mcp","model-context-protocol","llm","gateway","litellm","claude","ai-assistant"],"author":{"name":"SpiderIQ"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/SpiderIQ/SpiderIQ.git","directory":"packages/mcp-gate"},"dependencies":{"@modelcontextprotocol/sdk":"^1.0.0","@spideriq/core":"^1.76.0","yaml":"^2.3.4","zod":"^3.22.4"},"devDependencies":{"@spideriq/mcp-tools":"^1.85.0","@types/node":"^20.11.0","tsup":"^8.0.1","typescript":"^5.3.3"},"engines":{"node":">=18.0.0"},"publishConfig":{},"_id":"@spideriq/mcp-gate@1.11.0","gitHead":"f909117cc1b0406d8f58ad755c2d40e393518e4b","bugs":{"url":"https://github.com/SpiderIQ/SpiderIQ/issues"},"homepage":"https://github.com/SpiderIQ/SpiderIQ#readme","_nodeVersion":"22.22.2","_npmVersion":"10.9.7","dist":{"integrity":"sha512-W/ObBLZ6kpXBp65WpZ0LS+W43YylqFzAaOOCjcUD0fIGZRALUT0v3Vp4vasy6LgehJNQaDdvIhfLnLj602u/Vw==","shasum":"c2f151166c9c8b55323e8cb421e277838bd246bb","tarball":"https://registry.npmjs.org/@spideriq/mcp-gate/-/mcp-gate-1.11.0.tgz","fileCount":4,"unpackedSize":58668,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEQCICbzM3Gf0iPB+HEtM8/bYgSFUvPKBqKiQtyTQqx69GL9AiBV+M906XibWTJjZFslPYRpmPAa4b0sELwi5HukgnPsEg=="}]},"_npmUser":{"name":"martinshein","email":"martin@di-atomic.com"},"directories":{},"maintainers":[{"name":"martinshein","email":"martin@di-atomic.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/mcp-gate_1.11.0_1788524749881_0.7633306838494489"},"_hasShrinkwrap":false}},"time":{"created":"2026-06-19T23:32:53.487Z","modified":"2026-09-04T12:25:50.226Z","1.3.0":"2026-06-19T23:32:53.763Z","1.6.0":"2026-07-26T13:38:06.967Z","1.11.0":"2026-09-04T12:25:50.038Z"},"bugs":{"url":"https://github.com/SpiderIQ/SpiderIQ/issues"},"author":{"name":"SpiderIQ"},"license":"MIT","homepage":"https://github.com/SpiderIQ/SpiderIQ#readme","keywords":["spideriq","spidergate","mcp","model-context-protocol","llm","gateway","litellm","claude","ai-assistant"],"repository":{"type":"git","url":"git+https://github.com/SpiderIQ/SpiderIQ.git","directory":"packages/mcp-gate"},"description":"SpiderIQ Gate MCP Server — SpiderGate LLM gateway (completions, models, usage, traces) for AI assistants","maintainers":[{"name":"martinshein","email":"martin@di-atomic.com"}],"readme":"# @spideriq/mcp-gate\n\nMCP server for the SpiderGate LLM gateway — completions, models, usage, traces, providers, model catalog.\n\n## Install\n\n### Install this exact pair\n\nSpiderIQ ships two artifacts that must agree — the server and the skill that names its\ntools. A pinned skill against a floating server (or the reverse) gives you a mismatched\npair, and the failure looks like a missing feature.\n\n```\n@spideriq/mcp-gate        1.11.0\n@spideriq/gateway-skills  0.11.0\n```\n\n⚠️ `gateway-skills` **0.12.0**, which documents the `gate_client_alias_*` tools added in\nserver 1.11.0, is not published yet. Until it is, the tool descriptions are the reference\nfor that family.\n\n## Configure\n\n**Pin the version:**\n\n```json\n{\n  \"mcpServers\": {\n    \"spideriq-gate\": {\n      \"command\": \"npx\",\n      \"args\": [\"-y\", \"@spideriq/mcp-gate@1.11.0\"],\n      \"env\": {\n        \"SPIDERIQ_WORKSPACE\": \"cli_…\",\n        \"npm_config_registry\": \"https://npm.spideriq.ai\"\n      }\n    }\n  }\n}\n```\n\n> ⛔ **Do not `npm install -g @spideriq/mcp-gate`.** A global install wins over the spec in\n> your config, so your pin looks applied and nothing changes — and there is no version in\n> your own config to inspect. If you have one: `npm rm -g @spideriq/mcp-gate`.\n\nThis slice ships 37 tools, so it does not need facade mode — that is the kitchen-sink\n`@spideriq/mcp` concern.\n\n## Which tenant will this write to?\n\nResolution order — first hit wins. Every response reports which rung won as `_tenancy.via`.\n\n| # | Source | How |\n|---|--------|-----|\n| 1 | explicit | `workspace: \"cli_…\"` argument on the call — **always wins, works per-call** |\n| 2 | environment | `SPIDERIQ_WORKSPACE=cli_…` |\n| 3 | binding | a `spideriq.json` in cwd or an ancestor (`SPIDERIQ_WORKSPACE_CWD` overrides where we look) |\n| 4 | sole credential | automatic when exactly one is stored — reported as `via: \"sole-credential\"`, never silent |\n| 5 | — | **REFUSED.** With several tenants and no binding we do not guess. The error carries `retry_with` — merge it into your retry. |\n\n**Running an agency / multiple clients?** Pass `workspace` on every call. `cwd` is a\nper-process fact; tenancy is a per-call fact, so one session can drive many tenants\nwith no `cd`, restart, or reconfiguration.\n\n```js\ncontent_list_pages({ workspace: \"cli_clientA\" })\ncontent_create_page({ workspace: \"cli_clientB\", title: \"…\" })\n```\n\n> ⚠️ **Some IDEs spawn MCP servers with `cwd=/`** (Antigravity does). Nothing\n> cwd-derived is reachable from there, so set `SPIDERIQ_WORKSPACE` or\n> `SPIDERIQ_WORKSPACE_CWD` in the server's `env` block, or pass `workspace` per call.\n\nLost? Call `get_auth_status({topic:\"tenancy\"})` — it returns the active tenant, why it\nwas chosen, every workspace you can reach, and how to switch.\n\n## Upgrading\n\n```\nSpiderIQ update — 2026-09-01\n\nPaste to your agent:\n\n  Update my SpiderIQ gate MCP slice to 1.11.0.\n  In .mcp.json set: \"args\": [\"-y\", \"@spideriq/mcp-gate@1.11.0\"]\n  Keep the existing \"env\" block as-is.\n  First check: npm ls -g --depth=0 | grep @spideriq/mcp-gate — if it is installed\n  globally, remove it (npm rm -g @spideriq/mcp-gate); a global install silently\n  overrides the pin.\n  Restart the session, then call get_auth_status to confirm.\n\nWhat changed: you can now create and manage your own SpiderGate routing aliases\nfrom an agent — five new gate_client_alias_* tools (list / get / create / update\n/ delete). A created alias is LIVE immediately unless you pass enabled:false, and\nan update REPLACES the whole slot chain rather than merging it.\n\nThe matching skill, @spideriq/gateway-skills 0.12.0, is NOT published yet — the\npublic Marketplace publish is owner-gated and tracked separately. Until it ships,\nthe tool descriptions are the reference for this family.\n```\n","readmeFilename":"README.md"}