Show HN: Give coding agents MCP access to lint/test/format with 1 YAML file

1 scosman 0 8/5/2025, 3:58:26 PM
Fun little project I built for myself. Create a YAML file for your dev-commands (lint, format, tests, etc), then expose those to coding agents via MCP.

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

https://github.com/scosman/hooks_mcp

Comments (0)

No comments yet