CodeSandbox MCP Server
Updated June 2026The CodeSandbox MCP server, built by techlibs (Community), provides a Model Context Protocol server that exposes the official CodeSandbox SDK as MCP tools for AI agents, built by techlibs. It is community-built and best for Coding & Dev.
by techlibs (Community)
About
A Model Context Protocol server that exposes the official CodeSandbox SDK as MCP tools for AI agents, built by techlibs. This is a community project (not an official CodeSandbox release) — the previously-listed `codesandbox/mcp-server` repo does not exist. Unlike simpler read-only sandbox browsers, this server is fully stateless and covers the entire sandbox lifecycle: `createSandbox` (optionally forking a template, with privacy/title/tags/VM-tier/hibernation settings), `resumeSandbox` and `hibernateSandbox` for VM power state, `getSandboxInfo` for metadata without starting the VM, and `updateSandbox` for changing VM tier (Pico through XLarge) or hibernation timeout. File and shell access go through per-call sessions — `createSession`/`resumeSession` (with read/write permission, environment variables, and optional Git identity for commits) back `readFile`, `readdir`, and `writeFile`, all of which connect per call using a sandboxId + sessionId rather than holding open server-side state. A `--read-only` CLI flag disables all mutating tools and defaults new sessions to read permission, which is the recommended mode for agents you don't fully trust with a live VM. Requires a `CODESANDBOX_API_TOKEN` (or `CSB_API_KEY`) from your CodeSandbox account and Node.js 18+. Run via `npx @techlibs/codesandbox-mcp` in any MCP client config; the CLI binary is `mcp-server-codesandbox`.
Installation
npx -y @techlibs/codesandbox-mcp@latest --read-onlyCategories
Frequently Asked Questions
What is CodeSandbox MCP Server?
Who built CodeSandbox MCP Server?
Is CodeSandbox MCP Server free?
How do I install CodeSandbox MCP Server?
What does CodeSandbox MCP Server integrate with?
Repo Health
Local/stdio install — runs on your machine, so there is no remote endpoint to verify live. Trust signal below is from the source repo.
Repo recency not yet available for this server.
Quick Info
- Install Type
- npm
- Author
- techlibs (Community)
- Categories
- 2
- Integrations
- 5
Related Servers
Everything
Reference/test server with prompts, resources, and tools. Perfect for testing MCP implementations.
Git
Tools to read, search, and manipulate Git repositories. Full Git operations support.
Sequential Thinking
Dynamic and reflective problem-solving through thought sequences.
21st.dev Magic
Create crafted UI components inspired by the best 21st.dev design engineers.
GitHub MCP Server
The GitHub MCP server is GitHub's official Model Context Protocol integration, giving AI assistants like Claude and Cursor direct, authenticated access to the GitHub platform and its full developer surface. With this MCP server, you can ask your AI to read and write repository files, create and merge branches, open and review pull requests, comment on and close issues, trigger GitHub Actions workflows, search across code repositories with GitHub's code search, and inspect commit history — all through natural-language prompts in your AI interface. Developers use it to supercharge code review workflows, automate issue triage, generate PR descriptions from diffs, bulk-update repository settings, and wire AI agents into CI/CD pipelines. The GitHub MCP server connects via a GITHUB_PERSONAL_ACCESS_TOKEN environment variable with scopes for the operations you need, keeping authentication clean and auditable. Install with Docker: `docker run -e GITHUB_PERSONAL_ACCESS_TOKEN=<token> ghcr.io/github/github-mcp-server` — or configure it as a remote MCP server in Claude Desktop, Cursor, VS Code, Windsurf, and Cline. With over 8,000 GitHub stars, it is the most widely deployed official code-platform MCP server and the reference implementation for AI-native GitHub automation.
Sponsored
Better Stack
Free PlanGet alerted when your APIs, browser tests, payment pipelines, or MCP server dependencies go down. Used by 100K+ developers.
Start monitoring free →