Show HN: Give coding agents MCP access to lint/test/format with 1 YAML file
https://github.com/scosman/hooks_mcp
Kinda like package.json scripts, but for agent runtimes, and commands are invoked via MCP.
1. Simple setup: one YAML file is all it takes to create a custom MCP server for your coding agents. Add the YAML to your repo to share with your team.
2. Tool discovery: coding agents know which dev-tools are available and the exact arguments they require. No more guessing CLI strings.
3. Improved security: limit which commands agents can run. Validate the arguments agents generate (e.g. ensure a file path is inside the project, not `~/.ssh/id_rsa`).
3. Works anywhere MCP works: Cursor, Windsurf, Cline, etc
4. Speed: using MCP unlocks parallel execution, requires fewer tokens for generating commands, and eliminates errors in commands requiring iteration.
5. And more: strip ANSI codes/control characters, .env file loading, define required secrets without checking them in, supports exit codes/stdout/stderr, etc
No comments yet