Codebench MCP Server

This MCP server provides JavaScript execution capabilities with a modern runtime.

Local serverstdioGo

What is the Codebench MCP Server?

This MCP server provides JavaScript execution capabilities with a modern runtime.

What it actually does

  • Console API — console.log(), console.error(), console.warn() (built-in)
  • HTTP Server — serve() for server creation (via require('http/server'))
  • Fetch API — Modern fetch() with Request, Response, Headers, FormData (global)
  • Timers — setTimeout(), setInterval(), clearTimeout(), clearInterval() (global)
  • Buffer — Buffer, Blob, File APIs for binary data handling (global)
  • Crypto — Cryptographic functions - hashing, encryption, HMAC (via require('crypto'))

Recorded tools

  • executeJS — // Basic JavaScript execution const result = 2 + 3; console.log('Result:', result);

More MCP options

Compare MCP servers by category, or browse hosted MCP servers if you prefer an endpoint over a local process.

Maintainer setup documentation.

Recorded tools

Check the linked publisher documentation and your connected client's tool list. Names and availability can vary with the server version and account permissions.

ToolWhat it does
coderequired): JavaScript code to execute

How to install the Codebench MCP Server

{
  "mcpServers": {
    "javascript": {
      "command": "codebench-mcp"
    }
  }
}

From the project documentation. Replace placeholders and example paths before connecting.

Example prompts to try

  • “Use Codebench MCP to Installation.”
  • “Use Codebench MCP to Usage.”
  • “Use Codebench MCP to executeJS.”

Frequently asked questions

This MCP server provides JavaScript execution capabilities with a modern runtime. Confirm the tools offered by your installed version in the connected client. Tool availability and permissions depend on the server and account configuration.