Actionforge

io.github.PritaS由 GitHub 账号 PritaS 发布v1.0.3更新于 Oct 27, 2026

MCP server for ActionForge: expose your account's tools to Claude and any MCP client.

已验证STDIO仅桌面开发者工具AI 与机器学习

概览

AI 生成的概览

把 ActionForge 账户中托管的工具桥接给任意 MCP 客户端,让助手能像原生工具一样列出并调用它们。

可以做什么
  • 列出 ActionForge 账户中已发布的工具,数据来自账户的工具接口
  • 按名称调用这些工具,并按各工具的输入 schema 传入参数
  • 返回工具输出;参数校验失败、限流和工具未就绪等错误会作为模型可读取并自行修正的工具错误返回
  • 工具不存在或服务不可达时以协议错误报告,并在工具消失时立即刷新缓存的工具列表
适用场景
适合已经在 ActionForge 上构建函数、并希望 Claude Desktop、Claude Code 或其他 MCP 客户端直接调用这些托管端点的场景,无需为每个工具单独写封装。
运行要求
本地 Node.js 运行时(20.12 或更高),通过 npx 运行该 npm 包,无其他依赖。需要 ACTIONFORGE_API_KEY 中的 ActionForge API 密钥,自建部署可选设置 ACTIONFORGE_URL(默认使用托管服务)。需要能访问 ActionForge API 的网络。
安装前请注意
API 密钥是必需的环境变量机密,所有发布内容都限定在该密钥所属账户内,换用其他密钥会暴露另一租户的工具。工具调用会执行托管函数,是否产生副作用取决于发布的内容,参数与结果会发送到 ActionForge 服务。

安装

在 SourceWeft 中

  1. 打开 控制台中的 Actionforge,将其添加到工作区。
  2. 为需要使用其工具的对话启用该服务。

Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。

其他 MCP 客户端

参照 仓库 中的启动说明。

README

ActionForge MCP server

[npm]

Publishes an ActionForge account's tools to any MCP client — Claude Desktop, Claude Code, or anything else speaking the Model Context Protocol.

ActionForge turns a description and a pair of JSON Schemas into a hosted API endpoint. You describe the function you need; it generates the implementation, deploys it as a serverless function, and returns a validated URL. Every tool is a pure function of its input — generated code is scanned before deploy and refused if it reaches the network or executes code built at runtime.

This package is the MCP bridge: your endpoints become tools Claude can call directly. It has no runtime dependencies — stdio, fetch, and about 500 lines.

Get an API key at pritas.github.io/actionforge_ui.

The mapping is close to one-to-one, which is why this wrapper is thin: an ActionForge tool already is an MCP tool — a name, a description, a JSON Schema for input, and one for output. tools/list reads GET /api/tools; tools/call posts to the tool's proxy URL.

Implemented directly against the 2025-06-18 protocol schema rather than via the SDK. That keeps the install to a single package with nothing beneath it, and every branch stays exercisable offline — npm run smoke drives the compiled server over stdio against a closed port, so the handshake, the silence expected of a notification, and transport-failure handling are all checked without an account.

Install

bash
npx actionforge-mcp

Zero runtime dependencies — the whole server is stdio, fetch, and about 500 lines. Nothing to install beyond Node 20.12+.

From a checkout of this repo instead:

bash
npm installnpm run buildnode dist/server.js

Configure

bash
export ACTIONFORGE_URL=https://your-deployment.example.comexport ACTIONFORGE_API_KEY=af_...        # from POST /api/signup, or npm run keygennpx actionforge-mcp

Everything published is scoped to that key's account. Point it at a different key and it publishes a different tenant's tools — the API enforces the scoping, so the MCP server cannot see past it.

Transport is stdio with newline-delimited JSON. stdout carries protocol frames only; all logging goes to stderr, because anything else corrupts the stream a client is parsing.

Claude Desktop

claude_desktop_config.json:

json
{  "mcpServers": {    "actionforge": {      "command": "npx",      "args": ["-y", "actionforge-mcp"],      "env": {        "ACTIONFORGE_URL": "https://your-deployment.example.com",        "ACTIONFORGE_API_KEY": "af_..."      }    }  }}

Claude Code

bash
claude mcp add actionforge \  --env ACTIONFORGE_URL=https://your-deployment.example.com \  --env ACTIONFORGE_API_KEY=af_... \  -- npx -y actionforge-mcp

How failures are reported

The protocol draws a line this server follows exactly, because it decides whether a model can recover on its own:

SituationReported asWhy
Arguments fail the tool's input_schema (400)result with isError: trueThe model can read the validation detail and fix the call
Tool not ready yet (503)result with isError: trueTransient — retry shortly
Rate limited (429)result with isError: trueIncludes how long to wait
Tool ran but broke its own output_schema (502)result with isError: true, named as a fault in the toolNot the model's arguments
Tool does not exist (404), or an unknown tool nameJSON-RPC errorNothing the model can correct; the client should re-list
ActionForge unreachableJSON-RPC error -32603Transport failure, not a tool result

Anything the model could act on stays inside the result where it can see it. Only genuinely exceptional conditions become protocol errors.

Caching

The tool list is cached for 30 seconds, and the cache is dropped immediately when a tool turns out to be gone — so a deleted tool disappears on the next listing rather than lingering until the TTL expires.

Publishing

bash
npm run build && npm run smokenpm publish --access public

dist/ is gitignored — it is a build artifact, rebuilt by prepublishOnly, so what npm receives is always compiled from the committed source.

Bump version before each publish; npm refuses to overwrite a released version.

来源:README.md,提交 d5a1780

工具

0
SourceWeft 尚未在沙箱中启动过该软件包,因此其工具未知。

版本历史

1
  1. v1.0.3最新Sep 16, 2026

评分

已满足适用检查项的 50%

该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。

  • 近 30 天内可连通25 分

    请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。

  • 已声明认证方式10 分

    请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。

  • 已列出工具15 分

    请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。

  • 描述必需15 分
  • 图标10 分
  • 文档15 分
  • 许可证10 分