Local MCP server for Baton: edit git-native API requests, collections, environments and scripts.
Copy the AI prompt to install this server into Claude Code, Cursor, or another agent β or use 1-click editor setup below.
One-click editor setup isnβt available for this listing yet β we donβt have a confirmed install command, and weβd rather show nothing than point your editor at the wrong package or host. Follow the projectβs own setup instructions, linked above.
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, edits those files the same way the app does, and every change shows up in the app instantly and goes through git review like any other change.
baton@dudko.dev/baton-mcp β Node.js 24+By default the assistant can read and write the workspace but not send requests:
| Tool | What it does |
|---|---|
workspace_info | Orientation: name, settings, environments, collection tree. |
list_requests | Requests with method, URL and tags. |
get_request | A parsed request plus its raw YAML β secrets appear as references only. |
upsert_request | Write a request as deterministic YAML. |
move_request | Move or rename a request, keeping its id. |
delete_request | Delete a request. |
upsert_collection | Create or update a collection or folder. |
list_environments | Environments, with secret names only. |
upsert_environment | Write an environment (secret names only). |
get_script / upsert_script | Read and write pre-request and test scripts. |
run_request / run_collection | Execute a request or a collection β only with --allow-run. |
The plugin starts the server in the current project directory, so open Claude
Code in (or under) your Baton workspace. To point it elsewhere, or to let the
assistant execute requests, add the server by hand instead (below) with
--workspace <dir> and/or --allow-run.
Prefer not to use the marketplace? Add the server directly:
claude_desktop_config.json (Settings β Developer β Edit Config):
~/.cursor/mcp.json or .cursor/mcp.json:
--allow-run to the args only when
you want the assistant to fire requests β editing files should never silently
send traffic.{{secret:name}} references only; a plaintext value where a
reference belongs is refused.| Flag | Meaning |
|---|---|
--workspace <dir> | Workspace folder (default: current directory). |
--allow-run | Let the agent execute requests. Off by default. |
baton.yaml. Open Claude Code in your
workspace, or add the server by hand with --workspace /path/to/workspace.run_request refuses β add --allow-run.npm warn EBADENGINE β¦ required: { node: '>=24' }, then nothing β the
server needs Node.js 24+; node --version in the shell your client starts.No reviews yet β be the first to share how this listing worked for you.
Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.
[](https://allmcps.com/mcp/baton-3)<a href="https://allmcps.com/mcp/baton-3"><img src="https://allmcps.com/api/badge/baton-3?style=directory" alt="Baton on AllMCPs" /></a>