Baton
NPM · BATON-RUN
Run, hot-reload and screenshot Flutter, web, React Native and native iOS/Android apps.
Available components
Last scanned (2 hours ago)
Scores higher than 94% of npm servers
Category Testing and QA
How this component scores in each security and reliability category. Every signal is checked automatically from public evidence about the published package, including repeated runs of it in an isolated sandbox, and we only credit what we can confirm. How we score → Why this is hard to score →
Supply Chain Security98
- No malware found by supply-chain analysis.Pass
- No known CVEs affecting this package version or its production dependencies.Pass
- No install/post-install scripts declared.Pass
- 32 of 120 dependencies flagged as unhealthy (2 deprecated). View diagnostics → Partial
Provenance & Transparency100
- Source repository is publicly reachable at the declared URL. View diagnostics → Pass
- Cryptographically verified build provenance (signed, bound to kanumuri9593/Baton). View diagnostics → Pass
- Clear OSI-approved license (MIT).Pass
- Actively maintained (last published 24 days ago).Pass
- Publishes a security disclosure policy (SECURITY.md).Pass
Schema Quality & AI Usability79
- 100% of prompts and resources have a non-trivial description (not blank, and not just the item's name).Pass
- AI-judged instruction clarity (good).Pass
- Tool/resource definitions use about 2810 tokens (~93/item across 30 items; 29 tools + 1 resources), lean.Pass
- Usage-examples check failed: none of the tools include examples. See how to fix → Fail
Stability & Change Management77
- Stability observed for 23 of 30 days with no destabilising changes; credit accrues until the full window elapses.Partial
Tool Coverage86
- 100% of tools have a non-trivial description (not blank, and not just the tool's name).Pass
- 58% of tool parameters carry a description.Partial
Tool Safety100
- No prompt-injection markers were found in the server instructions, tool names or descriptions we captured.Pass
- All 2 tool(s) whose name or description implies an irreversible operation declare an MCP destructiveHint annotation.Pass
- An AI judge read all 30 captured unit(s) of tool text and found none that tries to manipulate the model reading it.Pass
Capabilities100
- Implements a supported MCP spec version (2025-11-25); the latest is 2026-07-28.Pass
- Supports UI / widget rendering.Pass
Every change we have recorded for this component, newest first. Security-relevant changes are always shown. ▲ marks a change for the better, ▼ a change for the worse; unmarked changes are neutral.
- 4 Nov 26 +1
No change was recorded against any check on this day. Stability & Change Management went from 70 to 73. That category is still filling its 30-day observation window: 21 days of observed history at the previous scan, 22 at this one. The score rises as the window fills, whether or not the server changes.
- 2 Nov 26 +1
No change was recorded against any check on this day. Stability & Change Management went from 63 to 67. That category is still filling its 30-day observation window: 19 days of observed history at the previous scan, 20 at this one. The score rises as the window fills, whether or not the server changes.
- 31 Oct 26 +1
No change was recorded against any check on this day. Stability & Change Management went from 57 to 60. That category is still filling its 30-day observation window: 17 days of observed history at the previous scan, 18 at this one. The score rises as the window fills, whether or not the server changes.
- 28 Oct 26 +1
No change was recorded against any check on this day. Stability & Change Management went from 47 to 50. That category is still filling its 30-day observation window: 14 days of observed history at the previous scan, 15 at this one. The score rises as the window fills, whether or not the server changes.
- 26 Oct 26 +1
No change was recorded against any check on this day. Stability & Change Management went from 40 to 43. That category is still filling its 30-day observation window: 12 days of observed history at the previous scan, 13 at this one. The score rises as the window fills, whether or not the server changes.
- 24 Oct 26 +1
No change was recorded against any check on this day. Stability & Change Management went from 33 to 37. That category is still filling its 30-day observation window: 10 days of observed history at the previous scan, 11 at this one. The score rises as the window fills, whether or not the server changes.
- 22 Oct 26 +4
- Stability: unverified → 0.30 ▲ functional
- 13 Oct 26 +31
- Injection markers: unverified → pass ▲ security
- First check of Judged manipulation: pass security
- Stability: Stability not yet verified: not enough scan history yet (needs a 30-day window). security
- Tool coverage: unverified → 100 ▲ functional
- Schema quality: unverified → 100 ▲ functional
- MCP protocol: unverified → pass ▲ functional
- First check of Schema quality: fail functional
- First check of Capabilities: pass functional
- First check of Tool coverage: 58 functional
- First check of Destructive annotations: 100 functional
- First check of Schema quality: pass functional
- First check of Schema quality: good functional
Diagnostic detail from the automated scan of this channel: what the scanner observed at each step, so you can see exactly where a check passed or failed. It is informational only and never changes the trust score.
Captured 5 Nov 2026 · Analysed npm/baton-run@0.2.10
Provenance Verified
A signed build attestation was found and verified, binding this exact artifact to the source repository it claims to come from.
| Result | Verified |
|---|---|
| Ecosystem | npm |
| Reason | Verified |
| Discovered via | Registry attestation endpoint |
| Source repo | kanumuri9593/Baton |
| Certificate issuer | https://token.actions.githubusercontent.com |
| Certificate SAN | https://github.com/kanumuri9593/Baton/.github/workflows/publish.yml@refs/tags/v0.2.10 |
| Rekor log index | 3214202405 |
| Predicate type | SLSA build provenance https://slsa.dev/provenance/v1 |
| Subject digest | sha512:f04195ace87b39dffa507e911096877df37862c83a7064ffc13f9ccc063d5d241bb8299ffede2825a9cea41f73a09cf0a3469b1497ad4f6ce148fefc2 |
Background: How many MCP packages publish verified provenance →
Dependencies 120 packages
| Packages resolved | 120 |
|---|---|
| Deprecated | 2 |
| Stale | 30 |
| Tree resolution | Complete |
Background: SBOMs and build attestations, explained →
The tools this component advertises to a client, with an estimated token cost for each. Expand a tool to see its parameters and schema. The per-tool counts are indicative and are not scored directly; the schema's total context footprint is one signal in Schema Quality & AI Usability. A tool's description is untrusted text the model reads on every call, which is what makes this list a security surface and not just an inventory: how tool poisoning works →
boot_device ~97
Boot an iOS simulator or Android emulator by name (e.g. "iPhone 17 Pro", "Pixel_8") or id, and wait until it is up. Returns the device id to pass to run_target as deviceId. Call with no name to list what can be booted.
| Name | Type | Req | Description |
|---|---|---|---|
| cwd | string | – | – |
| name | string | – | Device name, an unambiguous part of it, or its id. |
No output schema declared.
No examples provided.
check_change ~252
After editing code: apply the change and return the evidence in one call, instead of hot_reload + wait_for + read_logs + list_network_requests + screenshot. action=auto hot reloads Flutter, leaves web and React Native to HMR / Fast Refresh, and restarts everything else. Answers ok/not ok with only what is new since the call began: reload result, error lines (for web, including the browser console), failed requests, and a screenshot. Prefer this as the default step after every edit.
| Name | Type | Req | Description |
|---|---|---|---|
| action | string | – | Default auto. |
| scale | – | – | Web sessions only: device pixels per CSS pixel. 1 (default) keeps the image small; 2 for fine detail, at about 4x the image tokens. |
| screenshot | boolean | – | Default true. false returns text only; a web page is still loaded headlessly so its console errors count. |
| session | string | yes | – |
| settleMs | number | – | Wait after the action before collecting evidence (default 1500). |
| viewport | string | – | Web sessions only: phone (390x844), tablet (820x1180), desktop (1280x800, the default) or WIDTHxHEIGHT. |
No output schema declared.
No examples provided.
clear_network_requests ~41
Forget every captured request for a session, in the daemon and in the app itself. Useful before reproducing one specific call.
| Name | Type | Req | Description |
|---|---|---|---|
| session | string | yes | – |
No output schema declared.
No examples provided.
dashboard_action Baton card action ~116
Used by the Baton card: refresh; catalog (projects and devices for New run); run a project target on a device; boot a device; logs, reload, restart, pause, resume, front, screenshot, stop or dismiss (forget a finished run) one session; or reload/restart/pause/resume/front/stop all. Returns the card state.
| Name | Type | Req | Description |
|---|---|---|---|
| action | string | yes | – |
| device | string | – | – |
| root | string | – | – |
| session | string | – | – |
| target | string | – | – |
No output schema declared.
No examples provided.
diagnose ~121
Search bounded log and network evidence across projects. Defaults to errors only and 20 findings. Findings are grouped by session; repeats of the same error are counted once (×N), and a stack is collapsed to its first app frames. Pass a trace ID and errorsOnly=false to follow a request across Node services. Use exact session IDs to limit scope.
| Name | Type | Req | Description |
|---|---|---|---|
| errorsOnly | boolean | – | – |
| limit | integer | – | – |
| query | string | – | – |
| root | string | – | – |
| sessions | array | – | – |
| since | number | – | – |
No output schema declared.
No examples provided.
forget_session ~45
Remove stopped sessions from the list. Running sessions must be stopped first. Use all=true to clear every stopped session.
| Name | Type | Req | Description |
|---|---|---|---|
| all | boolean | – | – |
| session | string | – | – |
No output schema declared.
No examples provided.
get_network_request ~146
One captured request in full: headers, timeline events, and optionally the bodies. Fetched from the running app, so it works only while the session is alive. Flutter debug/profile sessions only, while the app is running. Captures dart:io HttpClient traffic (package:http and dio with its default adapter) — NOT cupertino_http/cronet_http native clients, WebSockets or raw sockets. Traffic those make is invisible here, not absent.
| Name | Type | Req | Description |
|---|---|---|---|
| id | string | yes | Request id from list_network_requests (the short number works too). |
| includeBodies | boolean | – | Include request and response bodies (capped at 256 KB). |
| session | string | yes | – |
No output schema declared.
No examples provided.
hot_reload ~69
Hot reload a session, keeping app state. Flutter only. Returns code 0 on success; a non-zero code carries the compile error.
| Name | Type | Req | Description |
|---|---|---|---|
| all | boolean | – | Reload every running session. |
| reason | string | – | – |
| session | string | – | Session id. Omit with all=true. |
No output schema declared.
No examples provided.
hot_restart ~51
Hot restart a session, dropping app state. For web dev servers and plain processes this reboots the process.
| Name | Type | Req | Description |
|---|---|---|---|
| all | boolean | – | – |
| reason | string | – | – |
| session | string | – | – |
No output schema declared.
No examples provided.
inspect_project ~60
Read fresh launch sources, configuration problems, nested projects and guidance file paths. Does not run commands or expose environment values. Use before choosing an environment, checkout and device; review screenshot evidence rather than treating capture as visual approval.
| Name | Type | Req | Description |
|---|---|---|---|
| cwd | string | – | – |
No output schema declared.
No examples provided.
list_checkouts ~48
List git checkouts this project can run from: This checkout, linked worktrees, local branches, remotes.
| Name | Type | Req | Description |
|---|---|---|---|
| cwd | string | – | Project directory. Defaults to the daemon working directory. |
No output schema declared.
No examples provided.
list_devices ~39
List connected devices, simulators and emulators available to Flutter. Use boot_device to start one that is not running.
| Name | Type | Req | Description |
|---|---|---|---|
| cwd | string | – | – |
No output schema declared.
No examples provided.
list_network_requests ~144
List HTTP requests the app has made, newest last. One line each: id, method, status (… while in flight), duration in ms, response bytes, URI. Flutter debug/profile sessions only, while the app is running. Captures dart:io HttpClient traffic (package:http and dio with its default adapter) — NOT cupertino_http/cronet_http native clients, WebSockets or raw sockets. Traffic those make is invisible here, not absent.
| Name | Type | Req | Description |
|---|---|---|---|
| filter | string | – | Case-insensitive regular expression over "METHOD uri". |
| session | string | yes | Session id from list_sessions. |
| tail | number | – | How many requests (default 200). |
No output schema declared.
No examples provided.
list_proofs ~30
List past proof bundles, newest first.
| Name | Type | Req | Description |
|---|---|---|---|
| limit | number | – | Maximum entries (default 20). |
No output schema declared.
No examples provided.
list_run_history ~94
List past and current runs persisted on disk -- survives daemon restarts. Each line is runId, name, status (live / exit N / ?), how long ago it started, and its log size. Pass a runId to read_logs to see its output.
| Name | Type | Req | Description |
|---|---|---|---|
| cwd | string | – | Project directory; limits the list to that project. |
| limit | number | – | Maximum runs to return (default 50). |
No output schema declared.
No examples provided.
list_sessions ~21
List running sessions with their status, capabilities, URLs and device.
Input schema present but exposes no named parameters.
No output schema declared.
No examples provided.
list_targets ~44
List everything runnable in a project: launch.json configs, package.json dev scripts, Flutter entrypoints.
| Name | Type | Req | Description |
|---|---|---|---|
| cwd | string | – | Project directory. Defaults to the daemon working directory. |
No output schema declared.
No examples provided.
read_launch_config ~80
Read a project's launch.json exactly as written -- comments, formatting and all -- plus the configurations it defines and any pre-flight problems with them. Returns file: null when the project has none; a file that does not parse still returns its text, with the parse errors.
| Name | Type | Req | Description |
|---|---|---|---|
| cwd | string | – | Project directory. Defaults to the daemon's current project. |
No output schema declared.
No examples provided.
read_logs ~137
Read recent output from a session, newest last. Use filter to grep for an error: it searches all retained output and returns the last `tail` matching lines. Works for a currently running session id, and for a past run (its own session id, or the runId from list_run_history) even after it has stopped or the daemon has restarted.
| Name | Type | Req | Description |
|---|---|---|---|
| filter | string | – | Case-insensitive regular expression. |
| session | string | yes | A live session id, or a past run's session id / runId. |
| tail | number | – | How many lines (default 200); with a filter, how many matching lines. |
No output schema declared.
No examples provided.
run_proof ~268
Run proof verification and return a zip with screenshots, network call counts, response times and logs.
| Name | Type | Req | Description |
|---|---|---|---|
| allow | string | – | Comma-separated regexes allowed in noErrors check. |
| appearance | string | – | Comma-separated: light,dark |
| branch | string | – | Branch to verify in an isolated worktree. |
| checkout | string | – | Existing worktree to verify. |
| checks | string | – | Comma-separated checks: running,noErrors,noFailedRequests,screenshot |
| cwd | string | – | – |
| devices | string | – | Comma-separated device names, e.g. "iPhone SE,iPhone 16 Pro Max". |
| keep | boolean | – | Leave sessions running after the proof. |
| locale | string | – | Comma-separated locale codes |
| out | string | – | Bundle output directory. |
| route | string | – | Deep link or URL to open on each device before capture. |
| settleMs | number | – | Milliseconds to wait after navigation before screenshot (default 2000). |
| target | string | yes | Target name or unambiguous substring. |
| textScale | string | – | Comma-separated scales, e.g. 1.0,1.5 |
| timeoutMs | number | – | Per-cell running timeout (default 120000). |
No output schema declared.
No examples provided.
run_target ~126
Start a target by name. Returns the new session id to use with the other tools. Optional branch or checkout runs from a git worktree without moving the current folder.
| Name | Type | Req | Description |
|---|---|---|---|
| branch | string | – | Git branch or remote ref to run from a Baton-owned copy. Mutually exclusive with checkout. |
| checkout | string | – | Path to an existing worktree to attach. Mutually exclusive with branch. |
| cwd | string | – | – |
| deviceId | string | – | Force a specific device or simulator. |
| target | string | yes | Target name or an unambiguous substring of it. |
No output schema declared.
No examples provided.
run_workflow ~81
Launch up to eight project targets in dependency order and wait for each to become ready, in one call. Stops launching dependents on failure. Returns compact session IDs, URLs and errors; retains sessions for debugging. Use browser/device tools next to validate the actual flow. Paths must be absolute.
| Name | Type | Req | Description |
|---|---|---|---|
| name | string | yes | – |
| steps | array | yes | – |
No output schema declared.
No examples provided.
screenshot ~215
Capture the screen of a running session so the visual result of a change can be checked. iOS simulators and Android devices capture the device screen. Web sessions (Vite, Next.js, Flutter web...) load their URL in a headless Chrome, Edge or Brave at the viewport given, and also report the page's console errors and failed requests; they capture at 1x unless scale=2. A capture proves an image was written, not that the UI is right: look at it.
| Name | Type | Req | Description |
|---|---|---|---|
| out | string | – | Where to save the PNG. Defaults to a path under the daemon's state directory. |
| scale | – | – | Web sessions only: device pixels per CSS pixel. 1 (default) keeps the image small; 2 for fine detail, at about 4x the image tokens. |
| session | string | yes | – |
| viewport | string | – | Web sessions only: phone (390x844), tablet (820x1180), desktop (1280x800, the default) or WIDTHxHEIGHT. |
No output schema declared.
No examples provided.
session_summary ~28
Cheap structured overview -- call this before deciding what to do next.
| Name | Type | Req | Description |
|---|---|---|---|
| session | string | yes | – |
No output schema declared.
No examples provided.
set_debug_flag ~89
Toggle a framework debug flag on a running Flutter session, e.g. ext.flutter.debugPaint with {enabled: true} or ext.flutter.timeDilation with {timeDilation: 5}. Values are sent as the strings Flutter expects.
| Name | Type | Req | Description |
|---|---|---|---|
| method | string | yes | Service extension name, e.g. ext.flutter.debugPaint |
| params | object | – | – |
| session | string | yes | – |
No output schema declared.
No examples provided.
show_dashboard Show Baton ~93
Show a live Baton control panel in the chat: every running app with its simulator or URL, status, CPU and memory; per-app Reload, Restart, Pause/Resume, Bring to front, Logs, Screenshot and Stop; quick actions for all apps; and New run (pick a project, target and device, or boot a simulator). Use when the user asks to see or show Baton, their runs or simulators.
Input schema present but exposes no named parameters.
No output schema declared.
No examples provided.
stop_session ~34
Stop one session, or every running session with all=true.
| Name | Type | Req | Description |
|---|---|---|---|
| all | boolean | – | – |
| session | string | – | – |
No output schema declared.
No examples provided.
wait_for ~69
Block until a session reaches a state. Use after run_target or hot_restart instead of polling read_logs.
| Name | Type | Req | Description |
|---|---|---|---|
| session | string | yes | – |
| timeoutMs | number | – | Default 60000, capped at 900000 (15 minutes, enough for a first native build). |
| until | – | – | – |
No output schema declared.
No examples provided.
write_launch_config ~148
OVERWRITE a project's launch.json with the text given. The whole file is replaced, so read it with read_launch_config first and send the full text back, or comments and configurations you did not mean to touch are lost. Invalid JSONC is refused before anything is written. Returns the path written and any pre-flight issues in the result.
| Name | Type | Req | Description |
|---|---|---|---|
| cwd | string | – | Project directory. Defaults to the daemon's current project. |
| file | string | – | Which convention to create for a project that has neither. A project that already has a launch.json is written back to that same file. |
| text | string | yes | The complete file contents. JSONC: comments and trailing commas are allowed. |
No output schema declared.
No examples provided.
How do I install the Baton MCP server?
Baton runs locally as an npm package, launched with npx -y baton-run. Ready-made configuration for Claude, Cursor, VS Code, Codex and 5 more is on this page, copied from each client's own documentation.
npm · baton-run
claude mcp add kanumuri9593-baton -- npx -y baton-run
What is the Baton MCP server?
Baton is an MCP server listed in the public MCP registry as io.github.kanumuri9593/baton. Run, hot-reload and screenshot Flutter, web, React Native and native iOS/Android apps. This page covers its npm package (baton-run).
Is the Baton MCP server safe to use?
Baton scores 91 out of 100 on VerifyMCP. We found no known CVEs affecting it as of 5 November 2026. It declares no install or post-install scripts. Its build provenance is signed and verified. That is a record of what we were able to check automatically, not an endorsement. The category breakdown on this page shows every signal behind the number, including the ones we could not confirm.
What tools does the Baton MCP server expose?
Baton exposes 29 tools: diagnose, run_workflow, inspect_project, list_targets, list_sessions, and 24 more. Their descriptions and schemas cost roughly 2,786 tokens of context every time the server is loaded.
Is the Baton MCP server still maintained?
Baton is still listed as active in the MCP registry. We last reached this channel on 5 November 2026. Those dates come from our own scans of the registry and the channel itself, not from anything the publisher announced.
What licence is the Baton MCP server under?
Baton declares the MIT licence, which is OSI-approved. That covers the source only, and says nothing about the cost of any service it calls.