Aguara MCP logo

Aguara MCP

Locally scans agent content and MCP configurations for prompt injection, credential exposure, exfiltration, and other security risks.

Install Aguara MCP

Run the project’s own setup commands, in order.

Setup steps from the project

Aguara MCP installs with its own commands rather than a config we can generate, so these are copied as-is. Run them in order in a terminal. Source: github.com

  1. 1. Install
    git clone https://github.com/garagon/mcp-aguara.git
    
  2. 2. Install
    cd mcp-aguara
    
  3. 3. Install
    make build    # → ./aguara-mcp
    

Overview

Aguara MCP gives MCP-compatible agents local security checks for untrusted skills, prompts, tool descriptions, READMEs, and server configurations. It runs Aguara in-process as a Go library, without LLM calls, network access, or subprocesses, and returns structured verdicts with findings, severity, remediation, and triggering rules. Use it before installing an MCP server, loading third-party instructions, or acting on content generated by another tool. Its stdio transport works with Claude Code, Claude Desktop, Cursor, Windsurf, and other MCP clients.

Use cases

  • Scan a third-party skill before loading it
  • Check an MCP configuration before adding it to a client
  • Review tool descriptions and prompts for injection
  • Inspect package manifests and workflow files for risky behavior
  • Explain which security rule triggered a finding

Key features

  • Local in-process scanning with no network or LLM calls
  • MCP configuration checks for commands, arguments, and environment variables
  • Prompt injection, credential, exfiltration, and supply-chain detection
  • Redaction of sensitive matches in scan results
  • Rule catalog browsing and per-rule explanations
  • Redacted discovery of local MCP client configurations

Tools5

What Aguara MCP lets your agent do. Expand a tool for its parameters.

Self-reported~390 tokens of context

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 52d

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

GitHub stars4Stargazers on the source repository.
Last commit7d agoMost recent push to the default branch.
Tools exposed5Callable tools this server registers over MCP.
Directory activity1 viewsConfig copies, upvotes, and views on AllMCPs.

How Aguara MCP works

What Aguara MCP does

Aguara MCP adds local security review tools to an MCP-compatible agent. It is intended for checking third-party agent skills, README files, prompts, tool definitions, MCP server descriptions, package metadata, workflow files, and client configuration before the agent trusts or executes them.

The scanner looks for prompt injection, credential exposure, data exfiltration, command execution, supply-chain risks, MCP-specific attacks, package-install payloads, risky GitHub Actions trust chains, unsafe agent configuration, and Unicode or encoding evasion. Sensitive matches are redacted in results so a finding does not reproduce a detected secret.

How it works

The server imports Aguara as a Go library and performs scans inside the MCP process. It does not call an LLM, access the network, or invoke the aguara command-line binary. Results include a clean, flag, or block verdict, severity-rated findings, remediation guidance, line numbers, confidence scores, matched patterns where safe, and the analysis engine responsible for each finding.

scan_content can use a filename hint to select context-specific checks. It supports context-aware handling through tool_name, enforcement profiles, minimum severity thresholds, and caller-selected disabled rules. check_mcp_config accepts an MCP configuration as JSON and checks commands, arguments, environment variables, argument injection, and tool-poisoning patterns before a client enables the configuration.

Setup and configuration

Install the binary with the project’s shell installer. The installer verifies SHA256 checksums and stops if no SHA256 verifier is available. Ensure ~/.local/bin is on PATH, then register aguara-mcp over stdio with the chosen MCP client.

Claude Code can add it with claude mcp add aguara -- aguara-mcp. Claude Desktop uses an mcpServers entry whose command is aguara-mcp; Cursor, Windsurf, and other MCP clients can use the same stdio command. Building from source requires Go 1.26 or later.

Tools and capabilities

  • Recognized content includes skills, prompts, READMEs, tool definitions, MCP descriptions, package.json, selected workflow and agent-instruction files, Claude Code settings, and npm or pnpm policy files.
  • check_mcp_config: Reviews an MCP server JSON configuration before installation or activation.
  • list_rules: Filters the embedded catalog of 259 detections by category.
  • explain_rule: Provides details for a rule ID, including remediation and, for YAML rules, patterns and examples.
  • discover_mcp: Reads known local client configuration files and returns a redacted inventory with client identifiers, server IDs, and argument or environment counts.

Limitations and notes

The MCP server provides single-content scans rather than repository-wide dependency auditing. Checks for npm, PyPI, pnpm, Go, crates.io, Composer, RubyGems, Maven, and NuGet repositories remain available through the Aguara CLI. Discovery output is a redacted inventory, not scan input or a security verdict; pass the original configuration JSON to check_mcp_config. The embedded engine contains rules and analyzers, but catalog availability does not activate bundle checks or stateful monitoring through these MCP tools.

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about Aguara MCP

Aguara MCP is an MCP server that connects AI agents to the Aguara security engine through local stdio tools. Its main tools scan untrusted content, check MCP JSON configurations, discover local MCP setups, list detection rules, and explain individual findings without LLM calls or network access.

Install it with the project’s shell installer, then ensure `~/.local/bin` is on `PATH`. The installer verifies SHA256 checksums. Register the resulting `aguara-mcp` binary over stdio; Claude Code uses `claude mcp add aguara -- aguara-mcp`.

Yes, Aguara MCP works with Cursor over stdio. Configure Cursor to launch the `aguara-mcp` command, then the agent can call the scanning, MCP configuration, rule, and discovery tools.

Yes, `check_mcp_config` accepts an MCP configuration as a JSON string and checks it before a client enables the server. It detects dangerous command and argument shapes, exposed credentials, unsafe argument injection, and tool-poisoning patterns.

No, repository-wide dependency checks remain available through the Aguara CLI. The MCP tools focus on individual content scans, MCP configuration checks, rule inspection, rule explanations, and local configuration discovery.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

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 PreviewAguara MCP AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/aguara-mcp?style=directory)](https://allmcps.com/mcp/aguara-mcp)
HTML Embed
<a href="https://allmcps.com/mcp/aguara-mcp"><img src="https://allmcps.com/api/badge/aguara-mcp?style=directory" alt="Aguara MCP on AllMCPs" /></a>