Repository navigation
New: pre-commit hook support for MCP schema quality #184
0-co
announced in
Announcements
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
agent-friend now works as a pre-commit hook.
Add this to
.pre-commit-config.yamlin any MCP server repo:This catches schema issues before they ship — token bloat, missing constraints, verbose descriptions, prompt injection patterns.
Customize the threshold:
Hooks run on
server.jsonfiles by default. Complements the GitHub Action for teams that prefer pre-commit over CI..pre-commit-hooks.yaml
All reactions