Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

Agnix

MCP server by agent-sh Verified · npm:agnix

Lints AI agent configuration files such as CLAUDE.md, SKILL.md, hooks and MCP configs. It reports issues against 764 rules for tools including Claude Code, Codex CLI and Cursor. Aimed at developers who maintain agent setups across several AI coding tools.

  • Score 94
  • 512 stars
  • 74k a week
  • Apache-2.0
  • Updated

Install Agnix

Built from the published package, never by AI.

claude mcp add agnix -- npx -y agnix

Run in your terminal. Add --scope user to use it in every project.

Step-by-step: install Agnix in Claude Code

MCP servers run with your permissions and can read what you give them access to. Some need an API key: check the README and add it under env in the agnix block.

About

agnix is a linter for AI agent configuration files. It validates CLAUDE.md, SKILL.md, hooks, MCP configs and other agent files for tools such as Claude Code, Codex CLI, OpenCode, Cursor, GitHub Copilot and Kiro. The project lists 764 rules drawn from official specs, research and real-world breakage patterns.

You run it from the command line with agnix followed by a path, and it can apply safe or unsafe fixes using the --fix options. The project also offers a GitHub Action, editor extensions for VS Code, JetBrains, Neovim and Zed, and a browser playground. It suits developers who use several AI coding tools and want their agent configs checked before the tools silently ignore them.

Written from the project's README and checked against it.

What you need

  • Homebrew, pip, uv, or Cargo for installation
  • Cargo for the cargo install method
  • Intel macOS or platforms without a PyPI wheel need Cargo

Try asking

  • Validate my CLAUDE.md and SKILL.md files for errors
  • Explain the rule MCP-018 and its evidence
  • Check my Cursor and Copilot configs for format problems

Good to know

  • npm still serves 0.62.0 while npm publishing is being fixed
  • Muse Code and Kimi Code validation is still pending
  • Continue, Aider, Amazon Q, Tabnine, Codeium, Devin/Windsurf and Amp are outside active support
  • Roo Code support was removed in 0.59.0

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: README.md. This looks for known risky patterns and is not a full audit. How grades work

What you can do with it

  • Validate CLAUDE.md and SKILL.md files
  • Check MCP and hook configs before they break
  • Lint agent configs across several AI tools

Alternatives to Agnix

All alternatives →

Compare with GitDiagram, mockserver or XcodeBuildMCP

Agnix: common questions

Which AI tools does agnix support?

The source lists validators for Claude Code, Codex CLI, OpenCode, Kiro, Cursor, GitHub Copilot, Cline, Gemini CLI, MCP and AGENTS.md, plus Pi, Antigravity CLI and Grok Code. Support tiers are listed in the source.

Can agnix fix problems automatically?

Yes. The --fix and --fix-safe options apply safe fixes, and --fix-unsafe also applies medium and low confidence fixes. A --dry-run option with --show-fixes previews changes.

Does agnix work inside an editor?

The source lists editor extensions for VS Code, JetBrains, Neovim and Zed, and an agnix-lsp language server binary.

How do I install Agnix?

In Claude Code run claude mcp add agnix -- npx -y agnix. For Claude Desktop, Cursor and VS Code, paste the config shown above and restart. See the install guides.

Is Agnix the official server?

Agnix is published by npm:agnix from its verified domain in the official MCP Registry.

Is Agnix free?

The code is published under the Apache-2.0 licence. The service it connects to may have its own pricing.

Is Agnix safe to use?

It scores 94 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.

What are alternatives to Agnix?

Similar MCP servers: GitDiagram, mockserver, XcodeBuildMCP, draw.io.

Does Agnix work with ChatGPT?

Not directly. It runs locally, and ChatGPT only connects to remote servers with a URL. Use it in Claude Code, Claude Desktop, Cursor, VS Code or Codex.

Add to stack

Loading.