Gnt
Git-native MCP policy layer that checks agent actions against rules approved through merged pull requests.
Install Gnt
Pick your client, then add it in one click or paste the config.
https://api.gntai.dev
Remote servers are added in the app, not the config file: Customize → Connectors → Add custom connector, then paste this URL.
Overview
Use cases
- Check refunds before an agent executes them
- Require approval for destructive or customer-facing actions
- Search approved policies by meaning or tag
- Trace an agent decision to its rule and approving pull request
Key features
- Fail-closed allow, block, or human-review verdicts
- GitHub pull-request approval workflow
- Semantic rule search with optional tag filters
- Rule provenance and cited decision context
- Compiled skill-pack listing and retrieval
- Local rule frontmatter linting
Security & health
What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.
ActiveLast checked Today
Recent health check succeeded.
8/8 checks healthy over the last 47d
Adoption & maintenance
Factual signals from GitHub, npm, and our automated checks — not a rating.
GitHub stars30Stargazers on the source repository.
Last commit1d agoMost recent push to the default branch.
How Gnt works
Reviews
No reviews yet — be the first to share how it worked for you.
Frequently Asked Questions about Gnt
gnt is an MCP server that connects AI agents to Git-native organizational rules stored through a connected GitHub repository. Its main tools check actions, search approved rules, retrieve rule provenance, and list or fetch compiled skill packs, returning allowed, blocked, or needs_human policy results.
Install the CLI with Node.js 22.13 or newer using npm or the provided shell installer. Run `npm install -g @gnt-ai/cli`, then use `gnt login`, `gnt connect github`, and `gnt prebrain` to configure the repository and create candidate rules.
gnt approves a policy rule when its pull request is merged. Rules are committed as Markdown files with YAML frontmatter in the connected repository, so the approving pull request and rule file provide the decision's provenance.
gnt returns `needs_human` when no approved rule covers the action. The same fail-closed verdict applies if retrieval fails or the check cannot complete, so the system does not guess an approval.
You can try the local Docker demo with `./demo.sh`, which builds an isolated Compose stack and calls `check_action`. Full self-hosting has a login limitation because the browser login page is part of the hosted web app and is not included in the repository.
Related MCP servers
Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.
AllMCPs Directory Badge
Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.
Badge Style:
Live Dynamic SVG Preview
Markdown (GitHub README)
[](https://allmcps.com/mcp/gnt)HTML Embed
<a href="https://allmcps.com/mcp/gnt"><img src="https://allmcps.com/api/badge/gnt?style=directory" alt="Gnt on AllMCPs" /></a>