📡 MCP Radar

superaligned-to/baton

Enforce tool dependencies in MCP servers and agent toolsets. TypeScript wrappers that check prerequisites before your handlers run.

⭐ 3 stars
⑂ 0 forks
TypeScript
momentum ▲ 6.0
created 2026-10-22
on radar since 2026-10-26
View on GitHub ↗

About baton

Enforce tool dependencies without building another agent framework.

Agents can skip steps. Your tools don’t have to let them.

- Require a read before an edit. - Require tests and review before a release. - Bind publishing to the exact artifact that passed its checks.

[!NOTE] For agents: MCP integration · Calling gated tools · Repo instructions · Docs index. Keep the existing server and handlers. Pass prooftoken unchanged and follow the reply’s Next: guidance.

Package manager Command --- --- npm npm install @superaligned/baton pnpm pnpm add @superaligned/baton Bun bun add @superaligned/baton Yarn yarn add @superaligned/baton

Use the same secret in every process serving a flow. Changing it invalidates existing tokens.

Import the core directly; Zod is not required. Wrap the handlers, then pass the returned proof to the next call. from binds the edit to the document that was read.

Calling edit without proof, or with a different doc, is refused before writeFile runs. notes.md must exist before running this example.

Create a flow with baton({ name, secret }) from @superaligned/baton. Wrap handlers with flow.step(name, options).description(text).func(handler).

Option Default Use --- --- --- name Required Flow identity carried in tokens secret Required HMAC key of at least 32 bytes mcp false Return MCP results and text refusals namespace None Separate meta-tool names on one server grace 86400 seconds Refresh window after token expiry

From the project README.

Maintaining this server?

Add the radar badge to your README — it shows your project was picked up by MCP Radar and links to this page:

[![On MCP Radar](https://mcp.liqiwa.com/badge.svg)](https://mcp.liqiwa.com/s/superaligned-to--baton.html)

Related MCP servers

XiaoDuoYa/codex-with-chatgpt

ChatGPT thinks. Codex works. Use ChatGPT as the planning brain while keeping the Codex harness.

⭐ 2301TypeScript
qybaihe/bla

🛡️ BLA (Blind LLM Agents) — Adversarial defense shield that protects binaries, Electron apps, JS bundles, Python, and WebAssembly against AI reverse-engineering agents like REA. Poison -> Exhaust -> H

⭐ 1537TypeScript
INK-Q/agy-fast

Non-invasive MCP accelerator plugin for Google Antigravity (CLI/Desktop/IDE): cuts LLM turns (-34%), token quota (-31%), and upload traffic (-40%) without affecting native UI or diffs.

⭐ 1411TypeScript
shinthink/blitzstrike

⚡ Blitz Strike — a universal MCP penetration-testing toolbelt. Structured methodology: reconnaissance & attack-surface mapping, source-to-sink analysis, and live validation. 57 escalation chains, 130-

⭐ 634TypeScript
0xwilliamortiz/openclaude-improved

runs anywhere. uses anything

⭐ 563TypeScript
halofyai/halofy

Halofy is the open access and governance layer for AI agents across your organization. Identity, policy, provenance, audit, and signed erasure.

⭐ 440TypeScript

📬 Get the weekly radar in your inbox

The top new MCP servers of the week, every Monday. No spam, unsubscribe anytime.