{"_id":"@ai-setu/mcp","_rev":"13-ece5670093ec9ddb97626ea7d5a70ab1","name":"@ai-setu/mcp","dist-tags":{"latest":"0.20.2"},"versions":{"0.9.0":{"name":"@ai-setu/mcp","version":"0.9.0","keywords":["ai-setu","mcp","model-context-protocol","claude","cursor","ai-gateway","llm"],"license":"MIT","_id":"@ai-setu/mcp@0.9.0","maintainers":[{"name":"ashish-agrawal-23","email":"thunder.ashish@gmail.com"}],"homepage":"https://github.com/aisetu-ai/ai-setu/tree/main/packages/mcp#readme","bugs":{"url":"https://github.com/aisetu-ai/ai-setu/issues"},"bin":{"ai-setu-mcp":"bin/ai-setu-mcp.js"},"dist":{"shasum":"d06a437638deb07badef5dff0252ad66c8d64843","tarball":"https://registry.npmjs.org/@ai-setu/mcp/-/mcp-0.9.0.tgz","fileCount":60,"integrity":"sha512-5P7YxPzKuSM/4XKvgXGZkkg2bYpIXbeQBpspV4g1qykZHbPk/Q5GyrihD5rdwDiC5d2esPaPELtQFx1D3PWm9g==","signatures":[{"sig":"MEQCIDSLjLzndWd2chLGe0EwflRPA2erqlyup6rRAqg4L8yrAiBC5HZmQWVwQhF3wL/OUy5yag8BxSETgZTCN+traGydTg==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":103971},"main":"./dist/index.js","type":"module","_from":"file:ai-setu-mcp-0.9.0.tgz","types":"./dist/index.d.ts","module":"./dist/index.js","engines":{"node":">=20"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","default":"./dist/index.js"}},"scripts":{"lint":"eslint src","test":"vitest run","build":"tsc -p tsconfig.json","clean":"rm -rf dist","typecheck":"tsc -p tsconfig.json --noEmit"},"_npmUser":{"name":"ashish-agrawal-23","email":"thunder.ashish@gmail.com"},"_resolved":"/tmp/c86b24480e0beb8900ed4ec4e846205a/ai-setu-mcp-0.9.0.tgz","_integrity":"sha512-5P7YxPzKuSM/4XKvgXGZkkg2bYpIXbeQBpspV4g1qykZHbPk/Q5GyrihD5rdwDiC5d2esPaPELtQFx1D3PWm9g==","repository":{"url":"git+https://github.com/aisetu-ai/ai-setu.git","type":"git","directory":"packages/mcp"},"_npmVersion":"11.13.0","description":"AI Setu MCP server — exposes the AI Setu gateway and control plane as Model Context Protocol tools for Claude Code and any MCP-aware agent.","directories":{},"sideEffects":false,"_nodeVersion":"24.16.0","dependencies":{"zod":"^4.4.3","@ai-setu/admin":"0.9.0","@ai-setu/client":"0.9.0","@modelcontextprotocol/sdk":"^1.29.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"vitest":"latest","typescript":"latest","@types/node":"latest"},"_npmOperationalInternal":{"tmp":"tmp/mcp_0.9.0_1781733308941_0.7650364535369854","host":"s3://npm-registry-packages-npm-production"}},"0.9.1":{"name":"@ai-setu/mcp","version":"0.9.1","keywords":["ai-setu","mcp","model-context-protocol","claude","cursor","ai-gateway","llm"],"license":"MIT","_id":"@ai-setu/mcp@0.9.1","maintainers":[{"name":"ashish-agrawal-23","email":"thunder.ashish@gmail.com"}],"homepage":"https://github.com/aisetu-ai/ai-setu/tree/main/packages/mcp#readme","bugs":{"url":"https://github.com/aisetu-ai/ai-setu/issues"},"bin":{"ai-setu-mcp":"bin/ai-setu-mcp.js"},"dist":{"shasum":"3c63f9641550fece5e66905a4e48b4404b746c1c","tarball":"https://registry.npmjs.org/@ai-setu/mcp/-/mcp-0.9.1.tgz","fileCount":60,"integrity":"sha512-f4Vg/ZUYACxD/8UdoMFdDW5DqY8tj3+Fxh69wCWIt2/BzvmdRKKt3aQUQlevP9VcFKGpxrWYon2k8IVrkKfhew==","signatures":[{"sig":"MEQCIDGaHTBkN5BHOTyRuQA+ArNf7lVNDQM4mhhhF+1GdqPlAiBDUdz+aXXeKNUZKqGCyf/oIVmhO9nO3JrOgultD74cTA==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":103971},"main":"./dist/index.js","type":"module","_from":"file:ai-setu-mcp-0.9.1.tgz","types":"./dist/index.d.ts","module":"./dist/index.js","engines":{"node":">=20"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","default":"./dist/index.js"}},"scripts":{"lint":"eslint src","test":"vitest run","build":"tsc -p tsconfig.json","clean":"rm -rf dist","typecheck":"tsc -p tsconfig.json --noEmit"},"_npmUser":{"name":"ashish-agrawal-23","email":"thunder.ashish@gmail.com"},"_resolved":"/tmp/2fc828e501acfb0654f32a98eb9044c2/ai-setu-mcp-0.9.1.tgz","_integrity":"sha512-f4Vg/ZUYACxD/8UdoMFdDW5DqY8tj3+Fxh69wCWIt2/BzvmdRKKt3aQUQlevP9VcFKGpxrWYon2k8IVrkKfhew==","repository":{"url":"git+https://github.com/aisetu-ai/ai-setu.git","type":"git","directory":"packages/mcp"},"_npmVersion":"11.13.0","description":"AI Setu MCP server — exposes the AI Setu gateway and control plane as Model Context Protocol tools for Claude Code and any MCP-aware agent.","directories":{},"sideEffects":false,"_nodeVersion":"24.16.0","dependencies":{"zod":"^4.4.3","@ai-setu/admin":"0.9.1","@ai-setu/client":"0.9.1","@modelcontextprotocol/sdk":"^1.29.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"vitest":"latest","typescript":"latest","@types/node":"latest"},"_npmOperationalInternal":{"tmp":"tmp/mcp_0.9.1_1781775537546_0.2956965087106125","host":"s3://npm-registry-packages-npm-production"}},"0.10.0":{"name":"@ai-setu/mcp","version":"0.10.0","keywords":["ai-setu","mcp","model-context-protocol","claude","cursor","ai-gateway","llm"],"license":"MIT","_id":"@ai-setu/mcp@0.10.0","maintainers":[{"name":"ashish-agrawal-23","email":"thunder.ashish@gmail.com"}],"homepage":"https://github.com/aisetu-ai/ai-setu/tree/main/packages/mcp#readme","bugs":{"url":"https://github.com/aisetu-ai/ai-setu/issues"},"bin":{"ai-setu-mcp":"bin/ai-setu-mcp.js"},"dist":{"shasum":"0e900fb58de16e0e51d678358504b333692cc82d","tarball":"https://registry.npmjs.org/@ai-setu/mcp/-/mcp-0.10.0.tgz","fileCount":61,"integrity":"sha512-vy0ZWB8JlRbvnnhHHEDB2qUIpQ9qNxka3KJiNDE99q+OOi/bj9FyX2jxYDWaCXhe3yy55v36xS4nhEM9B9cI7w==","signatures":[{"sig":"MEYCIQDVZ2XvE9VNEZ+vF+I0zI9qvB+Uosv7fAaX0RRygDNRmQIhAJWrGh+Azf3R3WIiQVB20U8p6d07Cc+cOvUV0O9NLqEn","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":179310},"main":"./dist/index.js","type":"module","_from":"file:ai-setu-mcp-0.10.0.tgz","types":"./dist/index.d.ts","module":"./dist/index.js","engines":{"node":">=20"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","default":"./dist/index.js"}},"scripts":{"lint":"eslint src","test":"vitest run","build":"tsc -p tsconfig.json","clean":"rm -rf dist","typecheck":"tsc -p tsconfig.json --noEmit"},"_npmUser":{"name":"ashish-agrawal-23","email":"thunder.ashish@gmail.com"},"_resolved":"/tmp/3aa53fbf0f24d7246417582306a47c0f/ai-setu-mcp-0.10.0.tgz","_integrity":"sha512-vy0ZWB8JlRbvnnhHHEDB2qUIpQ9qNxka3KJiNDE99q+OOi/bj9FyX2jxYDWaCXhe3yy55v36xS4nhEM9B9cI7w==","repository":{"url":"git+https://github.com/aisetu-ai/ai-setu.git","type":"git","directory":"packages/mcp"},"_npmVersion":"11.6.2","description":"AI Setu MCP server — exposes the AI Setu gateway and control plane as Model Context Protocol tools for Claude Code and any MCP-aware agent.","directories":{},"sideEffects":false,"_nodeVersion":"24.13.0","dependencies":{"zod":"^4.4.3","@ai-setu/admin":"0.9.1","@ai-setu/client":"0.9.1","@modelcontextprotocol/sdk":"^1.29.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"vitest":"latest","typescript":"latest","@types/node":"latest"},"_npmOperationalInternal":{"tmp":"tmp/mcp_0.10.0_1782044477949_0.42157215286197847","host":"s3://npm-registry-packages-npm-production"}},"0.11.0":{"name":"@ai-setu/mcp","version":"0.11.0","keywords":["ai-setu","mcp","model-context-protocol","claude","cursor","ai-gateway","llm"],"license":"MIT","_id":"@ai-setu/mcp@0.11.0","maintainers":[{"name":"ashish-agrawal-23","email":"thunder.ashish@gmail.com"}],"homepage":"https://github.com/aisetu-ai/ai-setu/tree/main/packages/mcp#readme","bugs":{"url":"https://github.com/aisetu-ai/ai-setu/issues"},"bin":{"ai-setu-mcp":"bin/ai-setu-mcp.js"},"dist":{"shasum":"6106cf543fb3e1cf65312e85d3750d4be2837363","tarball":"https://registry.npmjs.org/@ai-setu/mcp/-/mcp-0.11.0.tgz","fileCount":61,"integrity":"sha512-sr36/Lh7LSmov35Bewnbhr64WtcFzCAxBuHI2LRqAq1TDWsq3JRd8QlpIIwKA+mgDaogqURC/byyU/iMYHu37A==","signatures":[{"sig":"MEQCIChE5iVxFReJD8pkeE9TKxlVf18o7YiF2usZJuPqrMCPAiBButeO6QliXUjRPUq4SaemW0MC5AuiIj5NaPhqRoOuzQ==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":179310},"main":"./dist/index.js","type":"module","_from":"file:ai-setu-mcp-0.11.0.tgz","types":"./dist/index.d.ts","module":"./dist/index.js","engines":{"node":">=20"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","default":"./dist/index.js"}},"scripts":{"lint":"eslint src","test":"vitest run","build":"tsc -p tsconfig.json","clean":"rm -rf dist","typecheck":"tsc -p tsconfig.json --noEmit"},"_npmUser":{"name":"ashish-agrawal-23","email":"thunder.ashish@gmail.com"},"_resolved":"/tmp/90a7571627c41f1bf0a8cc36938a188b/ai-setu-mcp-0.11.0.tgz","_integrity":"sha512-sr36/Lh7LSmov35Bewnbhr64WtcFzCAxBuHI2LRqAq1TDWsq3JRd8QlpIIwKA+mgDaogqURC/byyU/iMYHu37A==","repository":{"url":"git+https://github.com/aisetu-ai/ai-setu.git","type":"git","directory":"packages/mcp"},"_npmVersion":"11.6.2","description":"AI Setu MCP server — exposes the AI Setu gateway and control plane as Model Context Protocol tools for Claude Code and any MCP-aware agent.","directories":{},"sideEffects":false,"_nodeVersion":"24.13.0","dependencies":{"zod":"^4.4.3","@ai-setu/admin":"0.11.0","@ai-setu/client":"0.11.0","@modelcontextprotocol/sdk":"^1.29.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"vitest":"4.1.8","typescript":"6.0.3","@types/node":"25.9.2"},"_npmOperationalInternal":{"tmp":"tmp/mcp_0.11.0_1782055538128_0.792116326955739","host":"s3://npm-registry-packages-npm-production"}},"0.14.0":{"name":"@ai-setu/mcp","version":"0.14.0","keywords":["ai-setu","mcp","model-context-protocol","claude","cursor","ai-gateway","llm"],"license":"MIT","_id":"@ai-setu/mcp@0.14.0","maintainers":[{"name":"ashish-agrawal-23","email":"thunder.ashish@gmail.com"}],"homepage":"https://github.com/aisetu-ai/ai-setu/tree/main/packages/mcp#readme","bugs":{"url":"https://github.com/aisetu-ai/ai-setu/issues"},"bin":{"ai-setu-mcp":"bin/ai-setu-mcp.js"},"dist":{"shasum":"5b23ed6728216808fc4fdf677ef60378ab9fb558","tarball":"https://registry.npmjs.org/@ai-setu/mcp/-/mcp-0.14.0.tgz","fileCount":61,"integrity":"sha512-Fsw6hr7hp4WKaQhJyJwsWuoLuMK4/RQphq2fGpbg+NrhgdALOmkkDbetgi1XYr/8xaAjH+Jd5UNTyzRt3WMjPQ==","signatures":[{"sig":"MEQCIFFElKz+bHe/QUDiG0zLPNCfefYOog7Us1l6NgRIxH8cAiBb7hE83rnXzc+PO/y4aou85y4loHRsBO3rsw0wiCufOQ==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":179659},"main":"./dist/index.js","type":"module","_from":"file:ai-setu-mcp-0.14.0.tgz","types":"./dist/index.d.ts","module":"./dist/index.js","engines":{"node":">=20"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","default":"./dist/index.js"}},"scripts":{"lint":"eslint src","test":"vitest run","build":"tsc -p tsconfig.json","clean":"rm -rf dist","typecheck":"tsc -p tsconfig.json --noEmit"},"_npmUser":{"name":"ashish-agrawal-23","email":"thunder.ashish@gmail.com"},"_resolved":"/tmp/791ca4155ddcb771ca61bec8f9b640c3/ai-setu-mcp-0.14.0.tgz","_integrity":"sha512-Fsw6hr7hp4WKaQhJyJwsWuoLuMK4/RQphq2fGpbg+NrhgdALOmkkDbetgi1XYr/8xaAjH+Jd5UNTyzRt3WMjPQ==","repository":{"url":"git+https://github.com/aisetu-ai/ai-setu.git","type":"git","directory":"packages/mcp"},"_npmVersion":"11.6.2","description":"AI Setu MCP server — exposes the AI Setu gateway and control plane as Model Context Protocol tools for Claude Code and any MCP-aware agent.","directories":{},"sideEffects":false,"_nodeVersion":"24.13.0","dependencies":{"zod":"^4.4.3","@ai-setu/admin":"0.14.0","@ai-setu/client":"0.11.0","@modelcontextprotocol/sdk":"^1.29.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"vitest":"4.1.8","typescript":"6.0.3","@types/node":"25.9.2"},"_npmOperationalInternal":{"tmp":"tmp/mcp_0.14.0_1782248176387_0.12958184418212304","host":"s3://npm-registry-packages-npm-production"}},"0.15.0":{"name":"@ai-setu/mcp","version":"0.15.0","keywords":["ai-setu","mcp","model-context-protocol","claude","cursor","ai-gateway","llm"],"license":"MIT","_id":"@ai-setu/mcp@0.15.0","maintainers":[{"name":"ashish-agrawal-23","email":"thunder.ashish@gmail.com"}],"homepage":"https://github.com/aisetu-ai/ai-setu/tree/main/packages/mcp#readme","bugs":{"url":"https://github.com/aisetu-ai/ai-setu/issues"},"bin":{"ai-setu-mcp":"bin/ai-setu-mcp.js"},"dist":{"shasum":"33a6d22824a27c5475ad0902a0955c5a60c5fe8f","tarball":"https://registry.npmjs.org/@ai-setu/mcp/-/mcp-0.15.0.tgz","fileCount":61,"integrity":"sha512-2XUB+B/7ZJVOnOkBDGyROj5S5LILyu9+uBv3otMo33iLT78gf3sr4toR9I5Its6LC+h6R6jL9mkOPtT+HRCegw==","signatures":[{"sig":"MEYCIQD7ADddD+/gp66muYbjIStXiacU+O3j9Bf5lrOP3yXdOwIhAL4wl0RKvJZBelOKBEFWJkotiVhuiU8S1LdmCLdcmDVl","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":179659},"main":"./dist/index.js","type":"module","_from":"file:ai-setu-mcp-0.15.0.tgz","types":"./dist/index.d.ts","module":"./dist/index.js","engines":{"node":">=20"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","default":"./dist/index.js"}},"scripts":{"lint":"eslint src","test":"vitest run","build":"tsc -p tsconfig.json","clean":"rm -rf dist","typecheck":"tsc -p tsconfig.json --noEmit"},"_npmUser":{"name":"ashish-agrawal-23","email":"thunder.ashish@gmail.com"},"_resolved":"/tmp/b9a6a0d7c2cafc00c5254212bce64922/ai-setu-mcp-0.15.0.tgz","_integrity":"sha512-2XUB+B/7ZJVOnOkBDGyROj5S5LILyu9+uBv3otMo33iLT78gf3sr4toR9I5Its6LC+h6R6jL9mkOPtT+HRCegw==","repository":{"url":"git+https://github.com/aisetu-ai/ai-setu.git","type":"git","directory":"packages/mcp"},"_npmVersion":"11.6.2","description":"AI Setu MCP server — exposes the AI Setu gateway and control plane as Model Context Protocol tools for Claude Code and any MCP-aware agent.","directories":{},"sideEffects":false,"_nodeVersion":"24.13.0","dependencies":{"zod":"^4.4.3","@ai-setu/admin":"0.14.0","@ai-setu/client":"0.15.0","@modelcontextprotocol/sdk":"^1.29.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"vitest":"4.1.8","typescript":"6.0.3","@types/node":"25.9.2"},"_npmOperationalInternal":{"tmp":"tmp/mcp_0.15.0_1782322746181_0.743889294139086","host":"s3://npm-registry-packages-npm-production"}},"0.16.0":{"name":"@ai-setu/mcp","version":"0.16.0","keywords":["ai-setu","mcp","model-context-protocol","claude","cursor","ai-gateway","llm"],"license":"MIT","_id":"@ai-setu/mcp@0.16.0","maintainers":[{"name":"ashish-agrawal-23","email":"thunder.ashish@gmail.com"}],"homepage":"https://github.com/aisetu-ai/ai-setu/tree/main/packages/mcp#readme","bugs":{"url":"https://github.com/aisetu-ai/ai-setu/issues"},"bin":{"ai-setu-mcp":"bin/ai-setu-mcp.js"},"dist":{"shasum":"6a55f7cdad94116f34c7ff6f79706e0d01b5b687","tarball":"https://registry.npmjs.org/@ai-setu/mcp/-/mcp-0.16.0.tgz","fileCount":61,"integrity":"sha512-x3nlJnbKQl6QT9/EV4gQ/AgwnlbL4ht0V9hWVFiC2eXBWTZw943T0RHBZf5UoyQzamJbljxIvDCQzNcE6TFsFA==","signatures":[{"sig":"MEUCIQCjI7UE8+/SPNCo0oFZnhs2uXy+73ONfmGA75SZl9SHpAIgOL37ISg8UFj+Lu33qCexquTqTnFgZkMecdlcTve8CPs=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":181379},"main":"./dist/index.js","type":"module","_from":"file:ai-setu-mcp-0.16.0.tgz","types":"./dist/index.d.ts","module":"./dist/index.js","engines":{"node":">=20"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","default":"./dist/index.js"}},"scripts":{"lint":"eslint src","test":"vitest run","build":"tsc -p tsconfig.json","clean":"rm -rf dist","typecheck":"tsc -p tsconfig.json --noEmit"},"_npmUser":{"name":"ashish-agrawal-23","email":"thunder.ashish@gmail.com"},"_resolved":"/tmp/3e3e2e10272bc4915343dfaffee8b537/ai-setu-mcp-0.16.0.tgz","_integrity":"sha512-x3nlJnbKQl6QT9/EV4gQ/AgwnlbL4ht0V9hWVFiC2eXBWTZw943T0RHBZf5UoyQzamJbljxIvDCQzNcE6TFsFA==","repository":{"url":"git+https://github.com/aisetu-ai/ai-setu.git","type":"git","directory":"packages/mcp"},"_npmVersion":"11.6.2","description":"AI Setu MCP server — exposes the AI Setu gateway and control plane as Model Context Protocol tools for Claude Code and any MCP-aware agent.","directories":{},"sideEffects":false,"_nodeVersion":"24.13.0","dependencies":{"zod":"^4.4.3","@ai-setu/admin":"0.16.0","@ai-setu/client":"0.16.0","@modelcontextprotocol/sdk":"^1.29.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"vitest":"4.1.8","typescript":"6.0.3","@types/node":"25.9.2"},"_npmOperationalInternal":{"tmp":"tmp/mcp_0.16.0_1782358712703_0.48138868993960515","host":"s3://npm-registry-packages-npm-production"}},"0.16.1":{"name":"@ai-setu/mcp","version":"0.16.1","keywords":["ai-setu","mcp","model-context-protocol","claude","cursor","ai-gateway","llm"],"license":"MIT","_id":"@ai-setu/mcp@0.16.1","maintainers":[{"name":"ashish-agrawal-23","email":"thunder.ashish@gmail.com"}],"homepage":"https://github.com/aisetu-ai/ai-setu/tree/main/packages/mcp#readme","bugs":{"url":"https://github.com/aisetu-ai/ai-setu/issues"},"bin":{"ai-setu-mcp":"bin/ai-setu-mcp.js"},"dist":{"shasum":"8cb31849f98fcc5ebc4feba27851987291c10db4","tarball":"https://registry.npmjs.org/@ai-setu/mcp/-/mcp-0.16.1.tgz","fileCount":61,"integrity":"sha512-2Qcovu3HxttT0okZtY+3+qlKbYpZXKG14fdfpqnDAtP01wRoMrQ3eGlPixSmJRoXvAEF7BEDP+hMS5IHHXbN9g==","signatures":[{"sig":"MEQCID4aEg2J6ZOsr4elLAyO9a/+jVxuoXyo/1tYZx7F39VmAiAmQnTOpydpkKJ+Eqc29OANuhLUS9n0ja1Tr2cSN1YlgQ==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":185524},"main":"./dist/index.js","type":"module","_from":"file:ai-setu-mcp-0.16.1.tgz","types":"./dist/index.d.ts","module":"./dist/index.js","engines":{"node":">=20"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","default":"./dist/index.js"}},"scripts":{"lint":"eslint src","test":"vitest run","build":"tsc -p tsconfig.json","clean":"rm -rf dist","typecheck":"tsc -p tsconfig.json --noEmit"},"_npmUser":{"name":"ashish-agrawal-23","email":"thunder.ashish@gmail.com"},"_resolved":"/tmp/1240f0ccf7e06702811c81a8fe41541e/ai-setu-mcp-0.16.1.tgz","_integrity":"sha512-2Qcovu3HxttT0okZtY+3+qlKbYpZXKG14fdfpqnDAtP01wRoMrQ3eGlPixSmJRoXvAEF7BEDP+hMS5IHHXbN9g==","repository":{"url":"git+https://github.com/aisetu-ai/ai-setu.git","type":"git","directory":"packages/mcp"},"_npmVersion":"11.6.2","description":"AI Setu MCP server — exposes the AI Setu gateway and control plane as Model Context Protocol tools for Claude Code and any MCP-aware agent.","directories":{},"sideEffects":false,"_nodeVersion":"24.13.0","dependencies":{"zod":"^4.4.3","@ai-setu/admin":"0.16.1","@ai-setu/client":"0.16.1","@modelcontextprotocol/sdk":"^1.29.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"vitest":"4.1.8","typescript":"6.0.3","@types/node":"25.9.2"},"_npmOperationalInternal":{"tmp":"tmp/mcp_0.16.1_1782363997026_0.1501512546390844","host":"s3://npm-registry-packages-npm-production"}},"0.17.0":{"name":"@ai-setu/mcp","version":"0.17.0","keywords":["ai-setu","mcp","model-context-protocol","claude","cursor","ai-gateway","llm"],"license":"MIT","_id":"@ai-setu/mcp@0.17.0","maintainers":[{"name":"ashish-agrawal-23","email":"thunder.ashish@gmail.com"}],"homepage":"https://github.com/aisetu-ai/ai-setu/tree/main/packages/mcp#readme","bugs":{"url":"https://github.com/aisetu-ai/ai-setu/issues"},"bin":{"ai-setu-mcp":"bin/ai-setu-mcp.js"},"dist":{"shasum":"1d6c049ffa66b439487f0a4cd04bde4b44025d1d","tarball":"https://registry.npmjs.org/@ai-setu/mcp/-/mcp-0.17.0.tgz","fileCount":61,"integrity":"sha512-fuae7Cn0/HDG551TMk5A7uUaBoxbinmX5yDhgxmzKNpz4U5AR6HZIgpbHhj0C/honQhHUdVe2a48t3H0xwfdQA==","signatures":[{"sig":"MEUCIQDAXE3iO+w/sQJJogmRwdFnc/GUiYtq3fakLRPg4hfcHwIgG40jTR10Taqc/VWQlibd8eoQ8v/zWDVxuXx8PMDzPis=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":219048},"main":"./dist/index.js","type":"module","_from":"file:ai-setu-mcp-0.17.0.tgz","types":"./dist/index.d.ts","module":"./dist/index.js","engines":{"node":">=20"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","default":"./dist/index.js"}},"scripts":{"lint":"eslint src","test":"vitest run","build":"tsc -p tsconfig.json","clean":"rm -rf dist","typecheck":"tsc -p tsconfig.json --noEmit"},"_npmUser":{"name":"ashish-agrawal-23","email":"thunder.ashish@gmail.com"},"_resolved":"/tmp/c697e0119b50b715ce9fab2b17ddd66b/ai-setu-mcp-0.17.0.tgz","_integrity":"sha512-fuae7Cn0/HDG551TMk5A7uUaBoxbinmX5yDhgxmzKNpz4U5AR6HZIgpbHhj0C/honQhHUdVe2a48t3H0xwfdQA==","repository":{"url":"git+https://github.com/aisetu-ai/ai-setu.git","type":"git","directory":"packages/mcp"},"_npmVersion":"11.16.0","description":"AI Setu MCP server — exposes the AI Setu gateway and control plane as Model Context Protocol tools for Claude Code and any MCP-aware agent.","directories":{},"sideEffects":false,"_nodeVersion":"24.18.0","dependencies":{"zod":"^4.4.3","@ai-setu/admin":"0.16.1","@ai-setu/client":"0.17.0","@modelcontextprotocol/sdk":"^1.29.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"vitest":"4.1.8","typescript":"7.0.2","@types/node":"25.9.2"},"_npmOperationalInternal":{"tmp":"tmp/mcp_0.17.0_1786420337922_0.0626753443203032","host":"s3://npm-registry-packages-npm-production"}},"0.19.0":{"name":"@ai-setu/mcp","version":"0.19.0","keywords":["ai-setu","mcp","model-context-protocol","claude","cursor","ai-gateway","llm"],"license":"MIT","_id":"@ai-setu/mcp@0.19.0","maintainers":[{"name":"ashish-agrawal-23","email":"thunder.ashish@gmail.com"}],"homepage":"https://github.com/aisetu-ai/ai-setu/tree/main/packages/mcp#readme","bugs":{"url":"https://github.com/aisetu-ai/ai-setu/issues"},"bin":{"ai-setu-mcp":"bin/ai-setu-mcp.js"},"dist":{"shasum":"fb1ca94cdc8301a6edff82df2d8ef4eb5eb17a3e","tarball":"https://registry.npmjs.org/@ai-setu/mcp/-/mcp-0.19.0.tgz","fileCount":61,"integrity":"sha512-dq0GPQBlcIvk1zEVHMhv8Ri5QpNDJAiAOazfelgWn7jQK8uIklHSOoVJlcFcGzWp6YEOxUaA+0vO25DBL43EZg==","signatures":[{"sig":"MEQCIHpq4sIyxg0K7ejKzp7RXYc63OYO8j78QK8GEMc0QdQ+AiA14zi9y1o7G7Zu9pWQ3nN/pQCvr3Es9Vqe2na5dQQP1A==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":219135},"main":"./dist/index.js","type":"module","_from":"file:ai-setu-mcp-0.19.0.tgz","types":"./dist/index.d.ts","module":"./dist/index.js","engines":{"node":">=20"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","default":"./dist/index.js"}},"scripts":{"lint":"eslint src","test":"vitest run","build":"tsc -p tsconfig.json","clean":"rm -rf dist","typecheck":"tsc -p tsconfig.json --noEmit"},"_npmUser":{"name":"ashish-agrawal-23","email":"thunder.ashish@gmail.com"},"_resolved":"/tmp/fad2eff611b6d88f035e16ee7ade1909/ai-setu-mcp-0.19.0.tgz","_integrity":"sha512-dq0GPQBlcIvk1zEVHMhv8Ri5QpNDJAiAOazfelgWn7jQK8uIklHSOoVJlcFcGzWp6YEOxUaA+0vO25DBL43EZg==","repository":{"url":"git+https://github.com/aisetu-ai/ai-setu.git","type":"git","directory":"packages/mcp"},"_npmVersion":"11.17.0","description":"AI Setu MCP server — exposes the AI Setu gateway and control plane as Model Context Protocol tools for Claude Code and any MCP-aware agent.","directories":{},"sideEffects":false,"_nodeVersion":"24.19.0","dependencies":{"zod":"^4.4.3","@ai-setu/admin":"0.19.0","@ai-setu/client":"0.19.0","@modelcontextprotocol/sdk":"^1.29.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"vitest":"4.1.8","typescript":"7.0.2","@types/node":"25.9.2"},"_npmOperationalInternal":{"tmp":"tmp/mcp_0.19.0_1787464161438_0.3810382183292982","host":"s3://npm-registry-packages-npm-production"}},"0.20.0":{"name":"@ai-setu/mcp","version":"0.20.0","keywords":["ai-setu","mcp","model-context-protocol","claude","cursor","ai-gateway","llm"],"license":"MIT","_id":"@ai-setu/mcp@0.20.0","maintainers":[{"name":"ashish-agrawal-23","email":"thunder.ashish@gmail.com"}],"homepage":"https://github.com/aisetu-ai/ai-setu/tree/main/packages/mcp#readme","bugs":{"url":"https://github.com/aisetu-ai/ai-setu/issues"},"bin":{"ai-setu-mcp":"bin/ai-setu-mcp.js"},"dist":{"shasum":"c7ff082822a17f472684233aa38eb0db1df4ce55","tarball":"https://registry.npmjs.org/@ai-setu/mcp/-/mcp-0.20.0.tgz","fileCount":61,"integrity":"sha512-OylXv8LtIHN1951c81hPBfXWY6MGAKcrQ1UfaR3Bloajq3qnFqa78stTtYsZ7s7rsMz4YHj/3nMyygyI8NYsQw==","signatures":[{"sig":"MEQCIHwOthFHVZpRA+4I+WNMzN0Up+WnT2b/c+Pz1LhWjYpxAiBVxu8Hj8xwvV4P9sW9u+e2UW64prveEzrT2RZg9yA7uA==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":219135},"main":"./dist/index.js","type":"module","_from":"file:ai-setu-mcp-0.20.0.tgz","types":"./dist/index.d.ts","module":"./dist/index.js","engines":{"node":">=20"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","default":"./dist/index.js"}},"scripts":{"lint":"eslint src","test":"vitest run","build":"tsc -p tsconfig.json","clean":"rm -rf dist","typecheck":"tsc -p tsconfig.json --noEmit"},"_npmUser":{"name":"ashish-agrawal-23","email":"thunder.ashish@gmail.com"},"_resolved":"/tmp/bcd4f4a87f5ddaad9ea2093a7f01e78d/ai-setu-mcp-0.20.0.tgz","_integrity":"sha512-OylXv8LtIHN1951c81hPBfXWY6MGAKcrQ1UfaR3Bloajq3qnFqa78stTtYsZ7s7rsMz4YHj/3nMyygyI8NYsQw==","repository":{"url":"git+https://github.com/aisetu-ai/ai-setu.git","type":"git","directory":"packages/mcp"},"_npmVersion":"11.17.0","description":"AI Setu MCP server — exposes the AI Setu gateway and control plane as Model Context Protocol tools for Claude Code and any MCP-aware agent.","directories":{},"sideEffects":false,"_nodeVersion":"24.19.0","dependencies":{"zod":"^4.4.3","@ai-setu/admin":"0.19.0","@ai-setu/client":"0.20.0","@modelcontextprotocol/sdk":"^1.29.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"vitest":"4.1.8","typescript":"7.0.2","@types/node":"25.9.2"},"_npmOperationalInternal":{"tmp":"tmp/mcp_0.20.0_1787858076221_0.9756430520379551","host":"s3://npm-registry-packages-npm-production"}},"0.20.1":{"name":"@ai-setu/mcp","version":"0.20.1","keywords":["ai-setu","mcp","model-context-protocol","claude","cursor","ai-gateway","llm"],"license":"MIT","_id":"@ai-setu/mcp@0.20.1","maintainers":[{"name":"ashish-agrawal-23","email":"thunder.ashish@gmail.com"}],"homepage":"https://github.com/aisetu-ai/ai-setu/tree/main/packages/mcp#readme","bugs":{"url":"https://github.com/aisetu-ai/ai-setu/issues"},"bin":{"ai-setu-mcp":"bin/ai-setu-mcp.js"},"dist":{"shasum":"88db0149ee790a9e8b1c6a95d6aee59680e22cac","tarball":"https://registry.npmjs.org/@ai-setu/mcp/-/mcp-0.20.1.tgz","fileCount":61,"integrity":"sha512-0LFBurgu8ycF0eQ8uDngnxHxJurzfKHZ+3v/Wh8LasV6V2BIB1Tih5N+vJ66Tq+Fo0DrqlZ6mufVolvNefmjyA==","signatures":[{"sig":"MEUCIF1MycXsmK/MnUk8pQ7OlwHNbEm4uRl5uUbriIfo6VCQAiEAt4Wk2rAVMbr4cNvqEpl9VCqTcs/gh977SZ8eI8CkGNY=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":219135},"main":"./dist/index.js","type":"module","_from":"file:ai-setu-mcp-0.20.1.tgz","types":"./dist/index.d.ts","module":"./dist/index.js","engines":{"node":">=20"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","default":"./dist/index.js"}},"scripts":{"lint":"eslint src","test":"vitest run","build":"tsc -p tsconfig.json","clean":"rm -rf dist","typecheck":"tsc -p tsconfig.json --noEmit"},"_npmUser":{"name":"ashish-agrawal-23","email":"thunder.ashish@gmail.com"},"_resolved":"/tmp/04a95c2a9edd5bad42576cd3af1a0bd0/ai-setu-mcp-0.20.1.tgz","_integrity":"sha512-0LFBurgu8ycF0eQ8uDngnxHxJurzfKHZ+3v/Wh8LasV6V2BIB1Tih5N+vJ66Tq+Fo0DrqlZ6mufVolvNefmjyA==","repository":{"url":"git+https://github.com/aisetu-ai/ai-setu.git","type":"git","directory":"packages/mcp"},"_npmVersion":"11.17.0","description":"AI Setu MCP server — exposes the AI Setu gateway and control plane as Model Context Protocol tools for Claude Code and any MCP-aware agent.","directories":{},"sideEffects":false,"_nodeVersion":"24.19.0","dependencies":{"zod":"^4.4.3","@ai-setu/admin":"0.19.0","@ai-setu/client":"0.20.1","@modelcontextprotocol/sdk":"^1.29.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"vitest":"4.1.8","typescript":"7.0.2","@types/node":"25.9.2"},"_npmOperationalInternal":{"tmp":"tmp/mcp_0.20.1_1787946772224_0.10028676926560065","host":"s3://npm-registry-packages-npm-production"}},"0.20.2":{"name":"@ai-setu/mcp","version":"0.20.2","description":"AI Setu MCP server — exposes the AI Setu gateway and control plane as Model Context Protocol tools for Claude Code and any MCP-aware agent.","type":"module","sideEffects":false,"main":"./dist/index.js","module":"./dist/index.js","types":"./dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","default":"./dist/index.js"}},"bin":{"ai-setu-mcp":"bin/ai-setu-mcp.js"},"engines":{"node":">=20"},"license":"MIT","publishConfig":{"access":"public"},"repository":{"type":"git","url":"git+https://github.com/aisetu-ai/ai-setu.git","directory":"packages/mcp"},"dependencies":{"@modelcontextprotocol/sdk":"^1.29.0","zod":"^4.4.3","@ai-setu/admin":"0.19.0","@ai-setu/client":"0.20.2"},"devDependencies":{"@types/node":"25.9.2","typescript":"7.0.2","vitest":"4.1.8"},"homepage":"https://github.com/aisetu-ai/ai-setu/tree/main/packages/mcp#readme","bugs":{"url":"https://github.com/aisetu-ai/ai-setu/issues"},"keywords":["ai-setu","mcp","model-context-protocol","claude","cursor","ai-gateway","llm"],"scripts":{"build":"tsc -p tsconfig.json","clean":"rm -rf dist","typecheck":"tsc -p tsconfig.json --noEmit","lint":"eslint src","test":"vitest run"},"_id":"@ai-setu/mcp@0.20.2","_integrity":"sha512-W0Mhh8I2Vk4aqiJ+UPV3BFU3wUTZp3Ok2nfrNIwagfqxT4165bkxvDDsJoJEF23JTqLyad18Hhfv7ZryGA6eWA==","_resolved":"/tmp/6cbe8d0b3ece6d5ba849e5546600404d/ai-setu-mcp-0.20.2.tgz","_from":"file:ai-setu-mcp-0.20.2.tgz","_nodeVersion":"24.19.0","_npmVersion":"11.17.0","dist":{"integrity":"sha512-W0Mhh8I2Vk4aqiJ+UPV3BFU3wUTZp3Ok2nfrNIwagfqxT4165bkxvDDsJoJEF23JTqLyad18Hhfv7ZryGA6eWA==","shasum":"af3ee524cdeff6b74c2e637e920b0275a9a99ab3","tarball":"https://registry.npmjs.org/@ai-setu/mcp/-/mcp-0.20.2.tgz","fileCount":61,"unpackedSize":219135,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIQDUq3wT6oMNRpDJVfJHgplkEVo4Al9BT2fKS63XfLZ3iAIgb1PWv3kT4iNc01TtdExfqW8AOLB6vqJOKUQD0BW4ZSM="}]},"_npmUser":{"name":"ashish-agrawal-23","email":"thunder.ashish@gmail.com"},"directories":{},"maintainers":[{"name":"ashish-agrawal-23","email":"thunder.ashish@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/mcp_0.20.2_1788079214411_0.24229116318387844"},"_hasShrinkwrap":false}},"time":{"created":"2026-06-17T21:55:08.780Z","modified":"2026-08-30T08:40:14.718Z","0.9.0":"2026-06-17T21:55:09.083Z","0.9.1":"2026-06-18T09:38:57.709Z","0.10.0":"2026-06-21T12:21:18.117Z","0.11.0":"2026-06-21T15:25:38.299Z","0.14.0":"2026-06-23T20:56:16.541Z","0.15.0":"2026-06-24T17:39:06.326Z","0.16.0":"2026-06-25T03:38:32.857Z","0.16.1":"2026-06-25T05:06:37.167Z","0.17.0":"2026-08-11T03:52:18.062Z","0.19.0":"2026-08-23T05:49:21.581Z","0.20.0":"2026-08-27T19:14:36.388Z","0.20.1":"2026-08-28T19:52:52.368Z","0.20.2":"2026-08-30T08:40:14.555Z"},"bugs":{"url":"https://github.com/aisetu-ai/ai-setu/issues"},"license":"MIT","homepage":"https://github.com/aisetu-ai/ai-setu/tree/main/packages/mcp#readme","keywords":["ai-setu","mcp","model-context-protocol","claude","cursor","ai-gateway","llm"],"repository":{"type":"git","url":"git+https://github.com/aisetu-ai/ai-setu.git","directory":"packages/mcp"},"description":"AI Setu MCP server — exposes the AI Setu gateway and control plane as Model Context Protocol tools for Claude Code and any MCP-aware agent.","maintainers":[{"name":"ashish-agrawal-23","email":"thunder.ashish@gmail.com"}],"readme":"# @ai-setu/mcp\n\n> **Read this first, agent.** This = a Model Context Protocol server for\n> [AI Setu](https://aisetu.ai). It give YOU (Claude Code, Cursor, any\n> MCP-aware agent) the control-plane ops as tools — onboard a user, mint keys,\n> check balance, top up billing — all conversationally, no SDK code. **For\n> runtime inference (chat, embeddings) you no use this — call\n> [`@ai-setu/client`](https://www.npmjs.com/package/@ai-setu/client)\n> directly.** This server is the _control_ surface, not the inference path.\n\n## TL;DR — no install, MCP client launch it\n\n```bash\nnpx -y @ai-setu/mcp\n```\n\nThen wire it into your MCP client (Claude Code `~/.claude.json` or project\n`.claude.json`):\n\n```jsonc\n{\n  \"mcpServers\": {\n    \"ai-setu\": {\n      \"command\": \"npx\",\n      \"args\": [\"-y\", \"@ai-setu/mcp\"],\n      \"env\": {\n        \"AI_SETU_PAT\": \"tt_pat_...\",\n        \"AI_SETU_TENANT_ID\": \"00000000-0000-0000-0000-000000000001\",\n      },\n    },\n  },\n}\n```\n\n(Or `npm i -g @ai-setu/mcp` for the `ai-setu-mcp` binary.) Mint a PAT at\n`https://app.aisetu.ai/settings/profile`. Use `admin:write` scope to enable\nmutations.\n\n## Rules for agent\n\n1. **Hit a tool error? Call `setup_status` first.** It report which env vars\n   are set. Most errors = missing `AI_SETU_PAT`.\n2. **OTP cover BOTH new signup AND returning sign-in.** No separate signup vs\n   sign-in tool. `verify_otp` return `existingOrgs[]` — you branch on it.\n3. **OTP tools work with NO PAT set.** That the cold-start case — onboard a\n   user from nothing. The other tools need `AI_SETU_PAT`.\n4. **Secrets show once.** `create_org` / `create_api_key` / `rotate_api_key`\n   return a secret one time. Save it where it belong (see flow below), then\n   tell the user it no come back.\n5. **New org start at $0.** Send the user to `topUpUrl` before first inference.\n\n## Tools\n\n### Always available (no PAT needed)\n\n| Tool           | Purpose                                                                                 |\n| -------------- | --------------------------------------------------------------------------------------- |\n| `setup_status` | Report which env vars are set; run this first if other tools error.                     |\n| `start_otp`    | Email a 6-digit code to begin the OTP flow (new OR existing user).                      |\n| `verify_otp`   | Verify the code; return a `sessionToken` (secret) + `existingOrgs[]` to branch on.      |\n| `create_org`   | New org for the signed-in user. Return `{ orgId, workspaceId, apiKey, pat, topUpUrl }`. |\n| `use_org`      | Continue with an org the user already belong to. Return its workspace + a fresh `pat`.  |\n| `get_sso_url`  | SSO fallback — return a Google / Microsoft OAuth URL when the user prefer SSO over OTP. |\n\n### Available when `AI_SETU_PAT` is set\n\n| Tool                         | Purpose                                                                                                                                                                                                                                                        |\n| ---------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |\n| `get_credit_balance`         | Current credit balance + low-balance flag + top-up URL.                                                                                                                                                                                                        |\n| `get_usage_projection`       | Spend projection: avg/day, month-to-date, projected month-end.                                                                                                                                                                                                 |\n| `list_workspaces`            | All workspaces visible to the PAT.                                                                                                                                                                                                                             |\n| `create_workspace`           | New workspace (dev / staging / prod separation).                                                                                                                                                                                                               |\n| `list_api_keys`              | Active keys for a workspace.                                                                                                                                                                                                                                   |\n| `create_api_key`             | Mint a new key. Secret shown ONCE.                                                                                                                                                                                                                             |\n| `rotate_api_key`             | Revoke + remint with a fresh secret.                                                                                                                                                                                                                           |\n| `revoke_api_key`             | Permanently revoke a key.                                                                                                                                                                                                                                      |\n| `set_provider_credential`    | Add/update a BYOK Connection — a `slug` handle (openai/anthropic/gemini/bedrock/bedrock-mantle/vertex, or Azure/OpenAI-compatible via base_url), reached per request as model `@<slug>/<model>`. Use the `*_env` fields to keep secrets out of the transcript. |\n| `list_provider_credentials`  | List BYOK credentials (secrets never returned — only a keyHint).                                                                                                                                                                                               |\n| `test_provider_credential`   | Synthetic probe of a stored credential against its upstream.                                                                                                                                                                                                   |\n| `remove_provider_credential` | Revoke a BYOK credential.                                                                                                                                                                                                                                      |\n| `request_topup_link`         | Stripe PaymentIntent for adding credit; human must finish payment in browser.                                                                                                                                                                                  |\n\nTenant-scoped tools (`get_credit_balance`, `get_usage_projection`,\n`request_topup_link`) fall back to `AI_SETU_TENANT_ID` when called with no\nexplicit `tenant_id`.\n\n## Onboarding flow — you can run the whole thing from chat\n\nOTP-only, no passwords. Same flow for new and returning users:\n\n```\n1. Ask the user for their email.\n2. Call start_otp → AI Setu email a 6-digit code.\n3. User paste the code back to you.\n4. Call verify_otp → { sessionToken, existingOrgs }.\n5. Branch on existingOrgs:\n   • none      → ask for an org name, call create_org(sessionToken, name).\n   • exactly 1 → confirm, call use_org(sessionToken, orgId).\n   • several   → let the user pick, then use_org (or create_org for a new one).\n6. create_org / use_org return { apiKey?, pat, tenantId, workspaceId, topUpUrl }.\n   - Save apiKey (create_org) as AI_SETU_API_KEY in the user's project .env.\n   - Save pat as AI_SETU_PAT in the MCP server config, then restart MCP.\n7. Tell the user to visit topUpUrl to add credit before first inference (new orgs start at $0).\n```\n\n## Env vars\n\n| Variable                                   | Purpose                                                                    |\n| ------------------------------------------ | -------------------------------------------------------------------------- |\n| `AI_SETU_PAT` (required for the PAT tools) | Personal Access Token.                                                     |\n| `AI_SETU_TENANT_ID` (recommended)          | Tenant id for billing / usage tools.                                       |\n| `AI_SETU_API_BASE_URL` (optional)          | Full API URL override (self-host); defaults to production `api.aisetu.ai`. |\n\n## Why separate from `@ai-setu/admin`?\n\n`@ai-setu/admin` = TypeScript SDK for direct programmatic use (scripts, CI,\napps). `@ai-setu/mcp` = the conversational surface — it wrap the same SDK and\ndescribe each op so an LLM pick the right tool and explain it to the user. Two\nlayers share no state. Multi-step work across tool calls → use this MCP server.\nDeployed app calling AI Setu in code → use the SDK direct.\n\n## The four AI Setu packages — which one you grab\n\n| Package                                                            | Use it when                                                                      |\n| ------------------------------------------------------------------ | -------------------------------------------------------------------------------- |\n| [`@ai-setu/client`](https://www.npmjs.com/package/@ai-setu/client) | **Runtime agent / app** call inference. Drop-in for `openai`.                    |\n| [`@ai-setu/admin`](https://www.npmjs.com/package/@ai-setu/admin)   | **Scripts / CI / builder agent** run control-plane ops in TypeScript.            |\n| [`@ai-setu/cli`](https://www.npmjs.com/package/@ai-setu/cli)       | Same control-plane ops from the **shell**.                                       |\n| [`@ai-setu/mcp`](https://www.npmjs.com/package/@ai-setu/mcp)       | **Builder agent** (Claude Code, Cursor) drive onboarding + ops conversationally. |\n\nFull agent runbook = [llms.txt](https://github.com/aisetu-ai/ai-setu/blob/main/llms.txt).\n\n## License\n\nMIT.\n","readmeFilename":"README.md"}