Back to Home
diodeinc icon

codemoder

Verified Safe

by diodeinc

Overview

Acts as an MCP proxy to enable AI models to write and execute JavaScript code, allowing them to chain multiple tool calls in a single execution.

Installation

Run Command
./target/release/codemoder ./my-mcp-server

Security Notes

The core functionality of codemoder is to execute arbitrary JavaScript code provided as input to its `execute_tools` tool. This is achieved using the `rquickjs` (QuickJS) runtime and its `eval` equivalent. While `rquickjs` generally provides a sandboxed environment, the JavaScript code has direct access to call any of the downstream MCP server's tools via the `tools` object. This design inherently poses a significant security risk: if a malicious actor or a compromised AI model provides malicious JavaScript code, it could execute arbitrary commands or logic through the downstream tools on the host system where codemoder is running. It is critical to only feed code from trusted sources.

Similar Servers

Stats

Interest Score0
Security Score5
Cost ClassMedium
Avg Tokens300
Stars0
Forks0
Last Update2026-01-18

Tags

MCP ProxyCode ExecutionAI ToolingJavaScriptRust