Enforce tool dependencies in MCP servers and agent toolsets. TypeScript wrappers that check prerequisites before your handlers run.
View on GitHub ↗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.
Add the radar badge to your README — it shows your project was picked up by MCP Radar and links to this page:
[](https://mcp.liqiwa.com/s/superaligned-to--baton.html)
ChatGPT thinks. Codex works. Use ChatGPT as the planning brain while keeping the Codex harness.
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
INK-Q/agy-fastNon-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.
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-
0xwilliamortiz/openclaude-improvedruns anywhere. uses anything
halofyai/halofyHalofy is the open access and governance layer for AI agents across your organization. Identity, policy, provenance, audit, and signed erasure.
The top new MCP servers of the week, every Monday. No spam, unsubscribe anytime.