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 分