I craft unique cereal names, stories, and ridiculously cute Cereal Baby images.

formulahendry_mcp-server-code-coureur
Miroir dehttps: //github.com/formulahendry/mcp-server-code-runner
3 years
Works with Finder
0
Github Watches
1
Github Forks
0
Github Stars
Code Runner MCP Server
MCP Server for running code snippet and show the result.
It supports running multiple programming languages: 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, Sass. Full list could be seen here in constants.ts.
Setup
npx for VS Code
Configuration in settings.json
:
{
"mcp": {
"inputs": [],
"servers": {
"mcp-server-code-runner": {
"command": "npx",
"args": [
"-y",
"mcp-server-code-runner"
],
}
}
}
}
npx for Claude Desktop
Configuration in claude_desktop_config.json
:
{
"mcpServers": {
"mcp-server-code-runner": {
"command": "npx",
"args": [
"-y",
"mcp-server-code-runner"
],
}
}
}
Docker
Use VS Code as example. Configuration in settings.json
:
{
"mcp": {
"inputs": [],
"servers": {
"mcp-server-code-runner": {
"command": "docker",
"args": [
"run",
"--rm",
"-i",
"formulahendry/mcp-server-code-runner"
]
}
}
}
}
Installing via Smithery
NOTE: This will run Code Runner MCP Server in a remote Container environment hosted by Smithery.
To install Code Runner MCP Server for Claude Desktop automatically via Smithery:
npx -y @smithery/cli install @formulahendry/mcp-server-code-runner --client claude
npx issue on Widnows
On Windows, MCP servers may fail to connect with npx
.
You could try below two workarounds:
use bunx
- Install Bun.
- In configuration, change
npx
withbunx
.
use cmd
Below is VS Code configuration in settings.json
:
{
"mcp": {
"inputs": [],
"servers": {
"mcp-server-code-runner": {
"command": "cmd",
"args": [
"/c",
"npx",
"-y",
"mcp-server-code-runner"
],
}
}
}
}
Usage
Before using Code Runner MCP Server, please make sure interpreter or compiler of the programming language you want to run is set in PATH
environment variable.
Try below prompts in the application which has configured Code Runner MCP Server:
-
Run the JavaScript Code: console.log(5+6)
-
Where is temporary folder in my OS? Use run-code tool
-
How many CPUs do I have in my machine? Use run-code tool
Build your own MCP Server
Want to build your own MCP Server? Try Yeoman Generator for MCP Server to create your MCP Server project!
相关推荐
Confidential guide on numerology and astrology, based of GG33 Public information
Advanced software engineer GPT that excels through nailing the basics.
Japanese education, creating tailored learning experiences.
Découvrez la collection la plus complète et la plus à jour de serveurs MCP sur le marché. Ce référentiel sert de centre centralisé, offrant un vaste catalogue de serveurs MCP open-source et propriétaires, avec des fonctionnalités, des liens de documentation et des contributeurs.
Manipulation basée sur Micropython I2C de l'exposition GPIO de la série MCP, dérivée d'Adafruit_MCP230XX
Une passerelle API unifiée pour intégrer plusieurs API d'explorateur de blockchain de type étherscan avec la prise en charge du protocole de contexte modèle (MCP) pour les assistants d'IA.
Miroir dehttps: //github.com/suhail-ak-s/mcp-typeseense-server
本项目是一个钉钉 MCP (Protocole de connecteur de message) 服务 , 提供了与钉钉企业应用交互的 API 接口。项目基于 Go 语言开发 , 支持员工信息查询和消息发送等功能。
La communauté du curseur et de la planche à voile, recherchez des règles et des MCP
Reviews

user_SWCFdVaD
I've been using "formulahendry_mcp-server-code-runner" by MCP-Mirror for a while now, and it has significantly streamlined my coding process. The server code runner integrates smoothly with my existing setup and enhances my productivity. I appreciate the seamless performance and the user-friendly interface. Highly recommend it for developers looking for an efficient coding assistant. Check it out here: https://github.com/MCP-Mirror/formulahendry_mcp-server-code-runner.