Skip to main content
MCP server CX Codex

Baton · dudko-dev — Claude Code MCP server: API editing and setup

Connects an AI agent to a Baton workspace so it can edit API requests, collections, environments, and scripts alongside the app.

Install into Claude Code · Platform CLI All methods and platforms ↓
claude mcp add baton -- npx -y @dudko.dev/baton-mcp
Open on GitHub

What Baton does

Baton keeps API requests, collections, and environments as YAML files in a Git repository. Its local MCP server lets an agent inspect and change those files: create requests and folders, rename or remove requests, and edit pre-request or test scripts. Updates appear in the app, while commits stay under your control.

Request execution is disabled by default. Add --allow-run to permit running requests or collections. The server handles secret names and references rather than plaintext values. It requires Node.js 24+, and the workspace needs a baton.yaml file when the server starts; otherwise the MCP connection closes.

What it helps with

  • inspect an API workspace’s collection tree and requests
  • create or update a request as YAML
  • rename or move a request without changing its ID
  • edit an environment while keeping secrets as references
  • read or change request and test scripts

Example prompts for the agent

  • List the collections and requests in my current Baton workspace.
  • Create an API request and save it to the Baton workspace.
  • Update this request’s test script without executing the request.

How to install Baton

Platform CLI

claude mcp add baton -- npx -y @dudko.dev/baton-mcp

Step by step, with commands for each platform: How to add an MCP server to Claude Code, Codex, Cursor, VS Code, Gemini CLI and more

Questions about Baton

How do I install Baton in Claude Code?

Run claude mcp add baton -- npx -y @dudko.dev/baton-mcp. Then open Claude Code in your Baton workspace so the server starts in the right directory.

What does Baton do?

It lets an agent read and edit the YAML files used by a Baton workspace, including requests, collections, environments, and scripts. Changes show up in the app.

Can Baton execute API requests?

Execution is disabled unless you add --allow-run. The server also requires Node.js 24+.

Similar MCP servers

All MCP servers for Backend and APIs →

Baton by other authors comes first.

Project sponsors

Companies that keep this analytics open
Gold sponsor

Impressions, clicks and code copies — open statistics. We keep the numbers public for the same reason NeBlask itself is public. Become a sponsor