Basic information

Runtime
node
Category
License
MIT
Transports
stdio
Author
mcpc-tech
Submitted by
Community
Quality
20
Stars
98

About Code Runner Mcp Server

Build agentic-MCP servers by composing existing MCP tools.

Code Runner Mcp is a MCP server in the Developer Tools category listed in the AddMCP.net directory, published by mcpc-tech. It exposes 2 tools, including python-code-runner, javascript-code-runner. Supported transport: stdio. Runtime: node. License: MIT. The repository has 98 GitHub stars. Source code is hosted on github.com. Related topics: code, code-excution, code-runner, javascript, python.

Setup

{
    "mcpServers": {
        "code-runner": {
            "command": "npx",
            "args": [
                "-y",
                "deno",
                "run",
                "--allow-all",
                "jsr:@mcpc/code-runner-mcp/bin"
            ],
            "env": {
                "DENO_PERMISSION_ARGS": "--allow-net"
            },
            "transportType": "stdio"
        }
    }
}

Code Runner Mcp config

Add this server to your MCP-compatible client using the configuration below.

{
    "mcpServers": {
        "code-runner": {
            "command": "npx",
            "args": [
                "-y",
                "deno",
                "run",
                "--allow-all",
                "jsr:@mcpc/code-runner-mcp/bin"
            ],
            "env": {
                "DENO_PERMISSION_ARGS": "--allow-net"
            },
            "transportType": "stdio"
        }
    }
}

Code Runner Mcp tools

  • python-code-runner — Execute a Python snippet using pyodide and return the combined stdout/stderr(To see the results, make sure to write to stdout/stderr ). Send only valid Python code compatible with pyodide runtime. # Packages You can directly import pure Python packages with wheels as well as packages from PyPI, the JsDelivr CDN or from other URLs.
    code:string*
  • javascript-code-runner — Execute a JavaScript/TypeScript snippet using Deno runtime and return the combined stdout/stderr(To see the results, make sure to write to stdout/stderr ). Send only valid JavaScript/TypeScript code compatible with Deno runtime (prefer ESM syntax). ** Runs on server-side, not browser. ** # Packages Support 1. For npm packages (ESM preferred): import { get } from "npm:lodash-es" import { z } from "npm:zod" 2. For Deno packages from JSR: import { serve } from "jsr:@std/http" import { join } from "jsr:@std/path" 3. Support NodeJS built-in modules: import fs from "node:fs" import path from "node:path"
    code:string*

Overview

What is Code Runner Mcp?

Code Runner Mcp is a tool for building agentic-MCP servers by composing existing MCP tools.

How to use Code Runner Mcp?

Key features of Code Runner Mcp

  • Builds agentic-MCP servers
  • Composes existing MCP tools

Comments

No comments yet

Be the first to share feedback about this listing. Sign in to leave a comment.

Sign In

Feedback 💬