独立运营 · 不出售排名位置  · 我们怎么评估工具 →
Anclum 提交收录
C

CharlieDigital/runjs

Let a model write JavaScript and run it, including HTTP calls

装之前:没有可直接复制的命令 · 许可证未标注 · 链接可访问

第一步:docker run -p 5000:8080 \

在 GitHub 查看 ↗链接已于 2026-11-12 核查 · HTTP 200 · 打开的是厂商自己的官网

我们没有从该仓库取到可核对的安装命令,也没有公开的远端端点。这两样都没有时,我们不出配置——编一条出来比不给更糟。 各客户端的接法 →

来源明细
收录自 abordage/awesome-mcp 榜单(我们从中收集的条目之一) · 条目类型:MCP 服务
收录与活跃
收录于 2026-11-05 · 最近见到 2026-11-14 · 共见到 10 次 · 被 10 个来源列出
评分构成
综合分 1,003 · 10 个来源 · mcp
常见问题(答案都来自我们的记录)
它适合谁 / 用来做什么?
我们把它归在这些标签下: MCP 服务。标签来自条目自身,不是我们强加的分类。
谁维护它、还在更新吗?
我们收录于 2026-11-05;最近见到 2026-11-14。这里没有"官方认证"或"质量评级"——我们只记录来源与时间。

# RunJS - The Only MCP Server You Need

以下摘录自该仓库的 README(片段) · 在 GitHub 读完整 README →

This project contains an MCP server that can execute JavaScript safely in an isolated sandbox and return a result from the script. It is equipped with a fetch analogue implemented using System.Net.HttpClient that allows your generated JavaScript to make web requests as well as JSONPath to manipulate the results 😎. A web API is also provided to store secrets securely so that API calls using API keys can be used. With this MCP server, you can basically interact with any REST API.
## Key Features
Integrated secrets manager to securely store encrypted API keys
Sandboxed JavaScript execution without infrastructure (e.g. deploy a container or serverless function)
Pre-loaded with a fetch analogue for making HTTP requests
Pre-loaded with jsonpath-plus to process JSON payloads
Integrated resilience pipeline (via Polly) for retries on HTTP requests
shell
# To test locally
docker pull cdigs/runjs-mcp-server
# Other options can also be set via ENV
docker run -p 5000:8080 \
-e RunJSConfigJintLimitMemory=10000000 \
-e RunJSConfigJintTimeoutIntervalSeconds=30 \
cdigs/runjs-mcp-server
# The default secret storage is ephemeral and disappears when
# the container restarts. For persistent storage, set the
# connection string and flip it to use the database (see below).
The RunJS MCP server uses Jint -- a C# library that embeds a JavaScript runtime into .NET and allows controlling the execution sandbox by specifying:
Memory limits
Number of statements
Runtime
Depth of calls (recursion)
This is extremely powerful as in many cases, you may want to run JavaScript, but doing it safely is challenging because of the nature of JavaScript and generated code. Because the generated JavaScript is run in a C# interpreter, there's no chance of leaking environment variables, no chance of malicious packages, no chance of the JS crashing the server process.
Using this mechanism can unlock a lot of use cases where JavaScript is needed to process some JSON, for example, and return text or run some transformation logic on incoming data.
Here's an example call using the Vercel AI SDK:
typescript
const mcpClient = await createMCPClient({
transport: {
type: "sse",
url: "http://localhost:5000/sse",
},
});
const tools = await mcpClient.tools();
const prompt =
Generate and execute JavaScript that can parse the following JSON
The JavaScript should 'return' the value
Return only the value of the name property:
{ "id": 12345, "name": "Charles Chen", "handle": "chrlschn" }
try {
const { text } = await generateText({
model: openai("gpt-4.1-nano"),
prompt,
tools,
maxSteps: 10, // 👈 Very, very important or you get no output!
});
console.log("Output:", text);
} finally {
await mcpClient.close();
The LLM will generate the following JavaScript:
javascript
const jsonString = '{ "id": 12345, "name": "Charles Chen", "handle": "chrlschn" }';
const obj = JSON.parse(jsonString);
return obj.name;
And use the RunJS MCP server to execute it 🚀
## Architecture and Flow
The diagram above provides an overview of the architecture and flow.
1. A web API exposes a Secrets Manager to securely store secrets so that they are not exposed to the LLM. The LLM refers to the secrets by ID and they are replaced at the point of executing the API call with the actual value.
收录徽章(可选)
想把收录标记放进 README 就复制这行,可选,不影响收录。
[![Listed on Anclum](https://anclum.com/badge/listed.svg)](https://anclum.com/zh/s/charliedigital-runjs/)
来源
awesome · https://github.com/CharlieDigital/runjs
按领域浏览
MCP 服务
收录来源
10 个独立来源
收录于
今天

同类推荐

全部 6,229 →

所属领域与标签

每个标签都能点进去看同类的全部条目。数字是当前库里的真实条数。

浏览全部领域 →

← 返回索引