Code Runner MCP Server
@formulahendry
Code Runner MCP Server について
Code Runner MCP Server
基本情報
設定
以下の設定を使って、このサーバーを MCP 対応クライアントに追加してください。
{
"mcpServers": {
"mcp-server-code-runner": {
"command": "npx",
"args": [
"-y",
"mcp-server-code-runner@latest"
]
}
}
}ツール
ツールは検出されませんでした
ツールは README から自動的に抽出されます。メンテナーは ## Tools という見出しの下に記載することで、このタブに反映できます。
概要
What is Code Runner MCP Server?
Code Runner MCP Server is an MCP server that runs code snippets and displays the results. It supports multiple programming languages including JavaScript, Python, Ruby, Go, PHP, and many others. This server is for developers who want to execute code directly through MCP-compatible applications like VS Code or Claude Desktop.
How to use Code Runner MCP Server?
Install and configure the server via npx, Docker, or bunx in your MCP client's configuration file (e.g., settings.json for VS Code or claude_desktop_config.json for Claude Desktop). Ensure the interpreter or compiler for your desired language is set in the PATH environment variable, then use prompts like Run the JavaScript Code: console.log(5+6).
Key features of Code Runner MCP Server
- Runs code snippets in 37+ programming languages
- Supports setup via npx, Docker, or bunx
- Offers Streamable HTTP Transport option
- Returns execution output and results to the client
- Works with VS Code, Claude Desktop, and other MCP hosts
- Simple prompt-based usage with
run-codetool
Use cases of Code Runner MCP Server
- Execute ad-hoc code snippets without leaving your editor
- Test small scripts or algorithms during development
- Run system commands or retrieve OS information via code
- Validate code logic before integrating into larger projects
FAQ from Code Runner MCP Server
What languages does Code Runner MCP Server support?
It supports JavaScript, PHP, Python, Perl, Perl 6, Ruby, Go, Lua, Groovy, PowerShell, BAT/CMD, BASH/SH, F# Script, C# Script, VBScript, TypeScript, CoffeeScript, Scala, Swift, Julia, Crystal, OCaml Script, R, AppleScript, Elixir, Clojure, Racket, Scheme, AutoHotkey, AutoIt, Kotlin Script, Dart, Haskell, Ni, Lisp, Kit, V, SCSS, and Sass. The full list is in the source constants file.
What are the runtime requirements?
The interpreter or compiler for each programming language you want to run must be installed and available in your system's PATH environment variable.
How can I run the server with HTTP instead of stdio?
Use the command mcp-server-code-runner --transport http after installing the package globally via npm install -g mcp-server-code-runner@latest.
What can I do if npx fails on Windows?
If npx fails to connect, try using bunx instead of npx, or wrap the npx command with cmd and /c in your configuration.
How do I install the server for use with Claude Desktop?
Add a mcpServers entry in your claude_desktop_config.json with "command": "npx" and "args": ["-y", "mcp-server-code-runner@latest"].
「開発者ツール」の他のコンテンツ
mcp-excalidraw
yctimlinMCP server and Claude Code skill for Excalidraw — programmatic canvas toolkit to create, edit, and export diagrams via AI agents with real-time canvas sync.
Code Index MCP
johnhuang316A Model Context Protocol (MCP) server that helps large language models index, search, and analyze code repositories with minimal setup
JetBrains MCP Proxy Server
JetBrainsA model context protocol server to work with JetBrains IDEs: IntelliJ, PyCharm, WebStorm, etc. Also, works with Android Studio
TalkToFigma
sonnylazuardiTalkToFigma: MCP integration between AI Agent (Cursor, Claude Code, Codex) and Figma, allowing Agentic AI to communicate with Figma for reading designs and modifying them programmatically.
Hello World MCP Server (Reference Extension)
anthropicsDesktop Extensions: One-click local MCP server installation in desktop apps
コメント