Agentconfig Doctor — Security skill for Claude Code
MCP security scanner & config linter for AI coding agents.
How to install Agentconfig Doctor
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open vasikmansuri/agentconfig-doctor and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Agentconfig Doctor does
MCP security scanner & config linter for AI coding agents. Finds leaked secrets, risky commands, broad permissions and invalid MCP servers in Claude Code, Cursor and VS Code (Copilot) configs. Local-first CLI, no telemetry.
Alternatives in Security
- Trail Of Bits Claude-code-config — Opinionated production defaults from a top security firm: sandboxing, permissions, hooks, skills, MCP server c 1.6k ★
- Agentseal — Security toolkit for AI agents 344 ★
- Claude Leaked Files — Mirrored snapshot of Claude Code's source (exposed 2026-03-31) preserved for educational purposes, defensive s 256 ★
README
AgentConfig Doctor: MCP and AI Coding-Agent Config Security Scanner
[](https://github.com/vasikmansuri/agentconfig-doctor/actions/workflows/ci.yml) [](LICENSE)
**Catch leaked keys, dangerous commands and over-broad permissions in your AI coding-agent configuration before you commit or share it.**
AgentConfig Doctor is an open-source **MCP security scanner** and config linter for **Claude Code, Cursor and VS Code (GitHub Copilot)**. This local-first CLI checks `.mcp.json`, `.cursor/mcp.json`, `.vscode/mcp.json`, `.claude/settings.json`, Cursor rules, `CLAUDE.md` and `AGENTS.md` for:
- exposed secrets and API keys
- risky shell commands, such as
curl | shin hooks or MCP servers - broad filesystem permissions
- invalid or suspicious MCP server definitions
- permission changes in pull requests
Every finding explains what it saw, why it matters and how to fix it. It needs no AI API and no account, sends no telemetry, and never runs the commands it inspects.
**Use it to:** validate an MCP config file, audit Claude Code permissions, lint Cursor MCP servers, scan AI agent configs for secrets in CI, or review a repository's agent setup before you trust it.
Status: **0.1.0, pre-release.** The CLI is feature-complete for its first release and tested, but has not been published to npm yet. Until then, [run it from source](#from-source).
Contents
Related Skills
Bulwark
Local-first security for developers and their AI coding agents. Finds risky agent settings (hooks, auto-approv
Security Actions
GitHub Actions for AI agent and supply chain security checks: audit agent configs (Claude Code settings, MCP s
Safetycatch MCP Guard
Security guard for AI coding agents and MCP servers: finds risky configs, hidden prompt-injection text and too
Agent Config Audit
Audit AI agent configuration files for security risks: risky permissions in .claude settings, secrets and unpi
Mcpaudit
Static security audit of MCP and AI-agent configs (Claude Desktop, Claude Code, Cursor, VS Code, Windsurf). Fi
J Config Audit
Security audit of Claude, Codex, Gemini, and shared agent configuration for secrets, over-broad permissions, a
Related Agents
Agentic Auditor
PYA specialist spawned by the /pya orchestrator. Audits AI agent and LLM surfaces in an untrusted repository:
Judge Security
Security judge for the repo roast panel. Reads the code for leaked secrets, injection, risky dependencies, bro
Sync Coordinator
Use this agent to synchronize instruction files between Claude Code and GitHub Copilot platforms, plus create