
Baton
dev.dudko由 dudko.dev 發布v0.2.0更新於 Oct 25, 2026
Local MCP server for Baton: edit git-native API requests, collections, environments and scripts.
發布方自己的服務:PDF to Markdown
概覽
Baton 的本機 MCP 伺服器:Baton 是 git 原生的 API 用戶端,助理可讀取與編輯工作區中的請求、集合、環境與指令碼。
- 可以做什麼
- 檢視工作區:集合、環境、排程、請求的方法、URL 與標籤,以及應用程式是否已連線。
- 讀寫請求:取得解析後或原始 YAML,新增或更新、移動或重新命名、刪除請求。
- 管理集合與環境:建立或取代集合與資料夾,列出並寫入環境變數與密鑰名稱。
- 編輯指令碼:讀寫前置請求、測試與共用函式庫指令碼。
- 執行請求與集合,並管理已儲存的回應範例與本機 mock 服務。
- 僅應用程式模式:查看桌面應用程式中開啟的內容,並在其中開啟某個請求。
- 適用情境
- 當你的 API 請求、集合與環境以 YAML 檔案存放在 Baton 工作區,並希望助理在 git 審查下草擬、整理或補充文件時適用。應用程式模式適合希望編輯以草稿形式送出、傳送透過桌面應用程式及其密鑰執行的團隊。
- 執行需求
- 透過 npm 套件 @dudko.dev/baton-mcp 以 stdio 在本機執行,需要 Node.js 24 以上版本。工作區資料夾必須包含 baton.yaml,預設使用目前目錄,否則需傳入 --workspace。未宣告任何驗證或環境變數。選用參數:--allow-run 允許在檔案模式下執行請求,--agent 指定應用程式橫幅中顯示的助理名稱。
安裝
在 SourceWeft 中
- 開啟 儀表板中的 Baton,將其新增到工作區。
- 為需要使用其工具的對話啟用該服務。
Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。
其他 MCP 客戶端
參照 儲存庫 中的啟動說明。
README
Baton — MCP setup
Let your AI assistant work in a Baton workspace. Baton is a git-native API client (a Postman alternative): requests, collections and environments are plain YAML files in a repository you own. The MCP server runs locally with one configuration and two modes, picked at start:
-
File mode — the Baton app is not open on the workspace: an edit is a write to the YAML file, the same bytes the app would write, and goes through git review like any other change.
-
App mode — the desktop app is open on the workspace: an edit lands as a draft on the request's tab for you to accept or discard, a send runs through the app with the app's secrets, a send into a production environment or a delete waits for your confirmation, and the assistant sees which request and environment you have open.
-
Server:
baton -
Transport: stdio (local process)
-
Package:
@dudko.dev/baton-mcp— Node.js 24+ -
Auth: none — it runs locally with your user's permissions; secrets never pass through it.
What you can do
In file mode the assistant can read and write the workspace but not send
requests unless you add --allow-run. In app mode every send goes through
the app, on your screen.
In app mode the resources baton://app/state and baton://app/selection are
subscribable, so the assistant learns of a click, an accepted draft or a
finished send as it happens.
Install in Claude Code (plugin)
The plugin starts the server in the current project directory, so open Claude
Code in your Baton workspace (the folder with baton.yaml). Open the Baton app
on the same workspace to get app mode. To point the server elsewhere, or to let
the assistant execute requests in file mode, add it by hand instead (below)
with --workspace <dir> and/or --allow-run. In the app, Settings → Agents
writes a .mcp.json into the workspace for you.
Prefer not to use the marketplace? Add the server directly:
Connect from other clients
Claude Desktop
claude_desktop_config.json (Settings → Developer → Edit Config):
Cursor
~/.cursor/mcp.json or .cursor/mcp.json:
VS Code (GitHub Copilot / MCP) and other clients
Safety
- In file mode, running requests is off by default. Add
--allow-runto the args only when you want the assistant to fire requests — editing files should never silently send traffic. - In app mode, you stay in the loop. Edits arrive as drafts you accept or discard; a send into a production environment and every delete wait for your confirmation in the app.
- Secrets stay out of the workspace. The server reads and writes secret
names and
{{secret:name}}references only; the values live in the OS secure store or in Vault, and a plaintext value where a reference belongs is refused. Responses are masked by value, bodies truncated, andAuthorization,Cookie,Set-CookieandX-API-Keyreplaced by name. - The server never touches git. Commits stay yours.
Troubleshooting
- "not a Baton workspace" / the client says "Connection closed" — the server
exits at start when the folder has no
baton.yaml. Open Claude Code in your workspace, or add the server by hand with--workspace /path/to/workspace. run_requestrefuses — the server is in file mode: add--allow-run, or open the Baton app on the workspace and restart the server for app mode.- Edits are written straight to files although the app is open — the mode is decided when the server starts. Restart the MCP server in your client after opening the app on that workspace.
npm warn EBADENGINE … required: { node: '>=24' }, then nothing — the server needs Node.js 24+;node --versionin the shell your client starts.
Support
- Website: https://baton.dudko.dev
- Contact: [email protected]
來源:README.md,提交 58e37b6
工具
0版本歷史
2- v0.2.0最新Oct 25, 2026
- v0.1.3Sep 26, 2026
評分
已滿足適用檢查項的 40%
該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。
- 近 30 天內可連通25 分
請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。
- 已宣告認證方式10 分
請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。
- 已列出工具15 分
請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。
- 描述必需15 分
- 圖示10 分
- 文件15 分
- 授權條款10 分
請在儲存庫或註冊中心條目中宣告授權條款。
其他 Dudko 整合

PDF to Markdown
dev.dudko官方發布者
託管於 pdf2md API 前的 MCP 入口,讓助理查詢轉換選項並取得附短期憑證、可直接執行的請求。

Vectorize
dev.dudko官方發布者
Vectorize API 的託管 MCP 入口,讓助理準備點陣轉向量的描摹請求,輸出 SVG、PDF、EPS 或 DXF。

Tabellum
dev.dudko
將 AI 助理連接到 Tabellum 桌面資料庫用戶端,可檢視結構、執行唯讀查詢、起草 SQL,寫入操作需在應用程式內確認。