{"_id":"@avmcodes/sandbox-sdk-mcp","name":"@avmcodes/sandbox-sdk-mcp","dist-tags":{"latest":"2.0.0"},"versions":{"2.0.0":{"name":"@avmcodes/sandbox-sdk-mcp","version":"2.0.0","description":"The official MCP Server for the Sandbox SDK API","author":{"name":"Sandbox SDK"},"types":"./index.d.ts","main":"./index.js","type":"commonjs","repository":{"type":"git","url":"git+https://github.com/avm-codes/sandbox-sdk-ts.git","directory":"packages/mcp-server"},"homepage":"https://github.com/avm-codes/sandbox-sdk-ts/tree/main/packages/mcp-server#readme","license":"Apache-2.0","private":false,"publishConfig":{"access":"public"},"dependencies":{"@avmcodes/sandbox-sdk":"^2.0.0","@cloudflare/cabidela":"^0.2.4","@modelcontextprotocol/sdk":"^1.25.2","@valtown/deno-http-worker":"^0.0.21","cors":"^2.8.5","express":"^5.1.0","fuse.js":"^7.1.0","jq-web":"https://github.com/stainless-api/jq-web/releases/download/v0.8.8/jq-web.tar.gz","qs":"^6.14.1","typescript":"5.8.3","yargs":"^17.7.2","zod":"^3.25.20","zod-to-json-schema":"^3.24.5","zod-validation-error":"^4.0.1"},"bin":{"mcp-server":"index.js"},"imports":{"@avmcodes/sandbox-sdk-mcp":".","@avmcodes/sandbox-sdk-mcp/*":"./src/*"},"exports":{".":{"require":{"types":"./index.d.ts","default":"./index.js"},"types":"./index.d.mts","default":"./index.mjs"},"./code-tool-types":{"import":"./code-tool-types.mjs","require":"./code-tool-types.js"},"./code-tool-types.js":{"default":"./code-tool-types.js"},"./code-tool-types.mjs":{"default":"./code-tool-types.mjs"},"./code-tool":{"import":"./code-tool.mjs","require":"./code-tool.js"},"./code-tool.js":{"default":"./code-tool.js"},"./code-tool.mjs":{"default":"./code-tool.mjs"},"./docs-search-tool":{"import":"./docs-search-tool.mjs","require":"./docs-search-tool.js"},"./docs-search-tool.js":{"default":"./docs-search-tool.js"},"./docs-search-tool.mjs":{"default":"./docs-search-tool.mjs"},"./headers":{"import":"./headers.mjs","require":"./headers.js"},"./headers.js":{"default":"./headers.js"},"./headers.mjs":{"default":"./headers.mjs"},"./http":{"import":"./http.mjs","require":"./http.js"},"./http.js":{"default":"./http.js"},"./http.mjs":{"default":"./http.mjs"},"./index":{"import":"./index.mjs","require":"./index.js"},"./index.js":{"default":"./index.js"},"./index.mjs":{"default":"./index.mjs"},"./options":{"import":"./options.mjs","require":"./options.js"},"./options.js":{"default":"./options.js"},"./options.mjs":{"default":"./options.mjs"},"./server":{"import":"./server.mjs","require":"./server.js"},"./server.js":{"default":"./server.js"},"./server.mjs":{"default":"./server.mjs"},"./stdio":{"import":"./stdio.mjs","require":"./stdio.js"},"./stdio.js":{"default":"./stdio.js"},"./stdio.mjs":{"default":"./stdio.mjs"},"./types":{"import":"./types.mjs","require":"./types.js"},"./types.js":{"default":"./types.js"},"./types.mjs":{"default":"./types.mjs"}},"scripts":{"test":"jest","build":"bash ./build","format":"prettier --write --cache --cache-strategy metadata . !dist","tsn":"ts-node -r tsconfig-paths/register","lint":"eslint --ext ts,js .","fix":"eslint --fix --ext ts,js .","start":"node server.js"},"_id":"@avmcodes/sandbox-sdk-mcp@2.0.0","bugs":{"url":"https://github.com/avm-codes/sandbox-sdk-ts/issues"},"_integrity":"sha512-GQjvzexhnzpJWqhCBNOPZffpkW3hvn1LiSSTEXijki0syyNQomwl6+1fq1jACfvLllXQoC48cgHk4CGofmodIg==","_resolved":"/tmp/79da48d1b09817afa1ca7db70d60e4c1/avmcodes-sandbox-sdk-mcp-2.0.0.tgz","_from":"file:avmcodes-sandbox-sdk-mcp-2.0.0.tgz","_nodeVersion":"20.20.0","_npmVersion":"10.8.2","dist":{"integrity":"sha512-GQjvzexhnzpJWqhCBNOPZffpkW3hvn1LiSSTEXijki0syyNQomwl6+1fq1jACfvLllXQoC48cgHk4CGofmodIg==","shasum":"c84955d6eb50d13b1693d44cd8eace95ffbf27c8","tarball":"https://registry.npmjs.org/@avmcodes/sandbox-sdk-mcp/-/sandbox-sdk-mcp-2.0.0.tgz","fileCount":94,"unpackedSize":136078,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIQCcr4FxdwP1z1Tuh5NgwY/7dvCFpeH1TBOE1nEpv6YIQgIgBIhh0ZeSPKvdcwgXyYE7r4Aw4dlm/JFzSY9ZHUZ4ajg="}]},"_npmUser":{"name":"stokastik","email":"stokastik@avm.codes"},"directories":{},"maintainers":[{"name":"stokastik","email":"stokastik@avm.codes"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/sandbox-sdk-mcp_2.0.0_1769405338319_0.3085437996343505"},"_hasShrinkwrap":false}},"time":{"created":"2026-01-26T05:28:58.201Z","2.0.0":"2026-01-26T05:28:58.449Z","modified":"2026-01-26T05:28:58.678Z"},"maintainers":[{"name":"stokastik","email":"stokastik@avm.codes"}],"description":"The official MCP Server for the Sandbox SDK API","homepage":"https://github.com/avm-codes/sandbox-sdk-ts/tree/main/packages/mcp-server#readme","repository":{"type":"git","url":"git+https://github.com/avm-codes/sandbox-sdk-ts.git","directory":"packages/mcp-server"},"author":{"name":"Sandbox SDK"},"bugs":{"url":"https://github.com/avm-codes/sandbox-sdk-ts/issues"},"license":"Apache-2.0","readme":"# Sandbox SDK TypeScript MCP Server\n\nIt is generated with [Stainless](https://www.stainless.com/).\n\n## Installation\n\n### Direct invocation\n\nYou can run the MCP Server directly via `npx`:\n\n```sh\nexport SANDBOX_SDK_API_KEY=\"My API Key\"\nnpx -y @avmcodes/sandbox-sdk-mcp@latest\n```\n\n### Via MCP Client\n\nThere is a partial list of existing clients at [modelcontextprotocol.io](https://modelcontextprotocol.io/clients). If you already\nhave a client, consult their documentation to install the MCP server.\n\nFor clients with a configuration JSON, it might look something like this:\n\n```json\n{\n  \"mcpServers\": {\n    \"avmcodes_sandbox_sdk_api\": {\n      \"command\": \"npx\",\n      \"args\": [\"-y\", \"@avmcodes/sandbox-sdk-mcp\"],\n      \"env\": {\n        \"SANDBOX_SDK_API_KEY\": \"My API Key\"\n      }\n    }\n  }\n}\n```\n\n### Cursor\n\nIf you use Cursor, you can install the MCP server by using the button below. You will need to set your environment variables\nin Cursor's `mcp.json`, which can be found in Cursor Settings > Tools & MCP > New MCP Server.\n\n[![Add to Cursor](https://cursor.com/deeplink/mcp-install-dark.svg)](https://cursor.com/en-US/install-mcp?name=%40avmcodes%2Fsandbox-sdk-mcp&config=eyJuYW1lIjoiQGF2bWNvZGVzL3NhbmRib3gtc2RrLW1jcCIsInRyYW5zcG9ydCI6InNzZSIsInVybCI6Imh0dHBzOi8vc2FuZGJveC1zZGsuc3RsbWNwLmNvbS9zc2UiLCJlbnYiOnsiU0FOREJPWF9TREtfQVBJX0tFWSI6IlNldCB5b3VyIFNBTkRCT1hfU0RLX0FQSV9LRVkgaGVyZS4ifX0)\n\n### VS Code\n\nIf you use MCP, you can install the MCP server by clicking the link below. You will need to set your environment variables\nin VS Code's `mcp.json`, which can be found via Command Palette > MCP: Open User Configuration.\n\n[Open VS Code](https://vscode.stainless.com/mcp/%7B%22name%22%3A%22%40avmcodes%2Fsandbox-sdk-mcp%22%2C%22type%22%3A%22sse%22%2C%22url%22%3A%22https%3A%2F%2Fsandbox-sdk.stlmcp.com%2Fsse%22%2C%22env%22%3A%7B%22SANDBOX_SDK_API_KEY%22%3A%22Set%20your%20SANDBOX_SDK_API_KEY%20here.%22%7D%7D)\n\n### Claude Code\n\nIf you use Claude Code, you can install the MCP server by running the command below in your terminal. You will need to set your\nenvironment variables in Claude Code's `.claude.json`, which can be found in your home directory.\n\n```\nclaude mcp add avmcodes_sandbox_sdk_mcp_api --env SANDBOX_SDK_API_KEY=\"Your SANDBOX_SDK_API_KEY here.\" --transport sse https://sandbox-sdk.stlmcp.com/sse\n```\n\n## Code Mode\n\nThis MCP server is built on the \"Code Mode\" tool scheme. In this MCP Server,\nyour agent will write code against the TypeScript SDK, which will then be executed in an\nisolated sandbox. To accomplish this, the server will expose two tools to your agent:\n\n- The first tool is a docs search tool, which can be used to generically query for\n  documentation about your API/SDK.\n\n- The second tool is a code tool, where the agent can write code against the TypeScript SDK.\n  The code will be executed in a sandbox environment without web or filesystem access. Then,\n  anything the code returns or prints will be returned to the agent as the result of the\n  tool call.\n\nUsing this scheme, agents are capable of performing very complex tasks deterministically\nand repeatably.\n\n## Running remotely\n\nLaunching the client with `--transport=http` launches the server as a remote server using Streamable HTTP transport. The `--port` setting can choose the port it will run on, and the `--socket` setting allows it to run on a Unix socket.\n\nAuthorization can be provided via the following headers:\n| Header | Equivalent client option | Security scheme |\n| ----------- | ------------------------ | --------------- |\n| `x-api-key` | `apiKey` | apiKeyHeader |\n\nA configuration JSON for this server might look like this, assuming the server is hosted at `http://localhost:3000`:\n\n```json\n{\n  \"mcpServers\": {\n    \"avmcodes_sandbox_sdk_api\": {\n      \"url\": \"http://localhost:3000\",\n      \"headers\": {\n        \"x-api-key\": \"My API Key\"\n      }\n    }\n  }\n}\n```\n","readmeFilename":"README.md","_rev":"1-e349373a29e45a5341622d8e2efecf4c"}