About
Code Runner MCP Server for Zed
README
A Zed extension that provides code execution capabilities through the Code Runner MCP Server.
This extension wraps the mcp-server-code-runner npm package, making its run-code tool available in Zed's Agent Panel.
Features
Run code snippets in 30+ programming languages directly from Zed's Agent Panel:
JavaScript, TypeScript, Python, Go, Ruby, PHP, Perl, Shell/Bash, PowerShell, Java, C#, F#, Lua, Groovy, Scala, Swift, Julia, Crystal, OCaml, R, Clojure, Racket, Scheme, Haskell, Dart, Kotlin, and more.
Installation
Install from: Zed > Extensions > Search "Code Runner MCP Server".
Or install as a dev extension for development:
git clone https://github.com/formulahendry/zed-code-runner-mcp-server.git
cd zed-code-runner-mcp-server
# In Zed: Extensions → Install Dev Extension → Select this directory
Prerequisites
- Ensure the interpreter or compiler for any language you want to run is installed and available in your
PATH.
Usage
Once enabled, the run-code tool is available in Zed's Agent Panel. Try prompts like:
- "Run the JavaScript code: console.log(5+6)"
- "How many CPUs do I have? Use run-code tool"
- "Run this Python snippet: print('Hello from Zed!')"
License
MIT
Installing Zed Code Runner
This server has no published package — it is built from source. Open the repository and follow its README.
▸ github.com/formulahendry/zed-code-runner-mcp-serverFAQ
Is Zed Code Runner MCP free?
Yes, Zed Code Runner MCP is free — one-click install via Unyly at no cost.
Does Zed Code Runner need an API key?
No, Zed Code Runner runs without API keys or environment variables.
Is Zed Code Runner hosted or self-hosted?
Self-hosted: the server runs locally on your machine via the install command above.
How do I install Zed Code Runner in Claude Desktop, Claude Code or Cursor?
Open Zed Code Runner on unyly.org, pick your client tab (Claude Desktop, Claude Code, Cursor) and press Install — the config is generated automatically, no JSON editing.
Related MCPs
GitHub
PRs, issues, code search, CI status
by GitHubFilesystem
Secure file operations with configurable access controls.
Memory
Knowledge graph-based persistent memory system.
Template MCP Server
A CLI tool to create a new Model Context Protocol server project with TypeScript support, dual transport options, and an extensible structure
by mcpdotdirectCompare Zed Code Runner with
Not sure what to pick?
Find your stack in 60 seconds
Author?
Embed badge for your README
Browse similar
All development MCPs
