← Back to directory
H

HackMyAgent

Community
Not a standard server
Security scanning and red-team testing for AI agents and MCP servers.

This is not a typical connect-and-use MCP server; read the source repository before using it.

Category
Dev Tools #282 of 751
Stars
★ 96 Very popular
Runtime
Node.js
Credentials
No credential needed
License
Apache-2.0
Last commit
53FMRS · D

The README presents HackMyAgent as an open-source toolkit for scanning AI agent projects, checking security configuration, and running red-team tests. It describes adding the server through MCP to several editors, but provides no server manifest, so specific tools, transport, and full compatibility cannot be confirmed.

Strongest · Documentation 12/20 Weakest · Reliability 8/20

Reliability
8/20
Security and permissions
11/20
Maintenance
11/20
Documentation
12/20
Setup experience
11/20
Why each score
Reliability 8/20
The README describes MCP initialization, scan commands, expected output, and a test workflow. However, no server manifest, tool definitions, CI workflow contents, or test coverage evidence are provided, so the initialization handshake, tool list, and behavior cannot be verified. The score reflects that limited static evidence.
Security and permissions 11/20
The README claims MCP tools read only within configured roots and do not write files, and it discloses default-on usage telemetry and its fields. These provide some information about boundaries. But no manifest or source files are available to verify permissions or data flows, and dangerous-operation confirmation is not described, leaving least privilege and confirmation unclear. The supplied evidence does not establish a red line.
Maintenance 11/20
The README identifies an Apache-2.0 license, a security reporting channel, and a test workflow badge, indicating basic maintenance and response paths. It provides no evidence about commit history, release cadence, dependency updates, or issue response. The supplied open issue count does not establish maintenance quality.
Documentation 12/20
The README covers the main use cases, command examples, CI, installation, telemetry, and links to deeper documentation. However, the supplied material does not adequately show MCP tool parameters, client connection configuration, troubleshooting, or resource limits. The missing server manifest also prevents independent capability checks.
Setup experience 11/20
The README offers npm and Homebrew installation and says init-mcp can configure mainstream clients. It points to documentation for Node.js versions and an install-time download, but gives no client configuration example, concrete runtime requirements, or verified connection evidence, limiting reproducibility.

Static review · not runReviewed 2026-11-30

Read the FMRS scoring method →

Fit and risk

What it can accessReads local filesUses the network

Best for

  • Developers and security teams auditing AI agent projects, MCP configurations, or related text.
  • Teams checking configuration, credentials, prompt injection, and governance issues locally or in CI.

Not for

  • Users who need a general-purpose MCP tool without AI security scanning or red-team testing.
  • Users who need evidence of specific MCP tools, transport, or complete client integration; the README does not provide a server manifest.

Required permissions

  • The README says the MCP server reads only inside its configured roots; `--root` specifies a project path.
  • The README says MCP tools do not write to files.
  • During installation, the `onnxruntime-node` install script downloads an execution-provider package from nuget.org on Linux x64.

Risks and side effects

  • The README says usage telemetry is enabled by default and sends command-level events to the OpenA2A Registry; it lists the fields sent and how to turn telemetry off.
  • Scans and attack tests can report high-severity findings; run attack commands only against endpoints you own or are authorized to test.
  • The README says `--fix` applies fixes and stores backups outside the project; preview changes with `--dry-run` first.

Setup

Before you start

Runtime:Node.js

Other optional settings (2)
OPENA2A_TELEMETRY optional Set to `off` to disable usage telemetry for one run, or `on` to enable telemetry under CI or a test runner.
OPENA2A_TELEMETRY_DEBUG optional Set to `print` to print each telemetry event to stderr before it is sent.

Install with npm install -g hackmyagent or brew install opena2a-org/tap/hackmyagent. The README shows hackmyagent init-mcp --root /absolute/path/to/your/project to add the server to Claude Code, Cursor, or VS Code.

Check that it works

Add the server with `hackmyagent init-mcp --root /absolute/path/to/your/project`, then confirm it appears in the tool list in Claude Code, Cursor, or VS Code. Ask the assistant to run a deep security scan on the project to confirm the connection.

Troubleshooting

  1. Check the project installation documentation for the required Node.js version; the README does not state a specific version.
  2. Exit code 1 can indicate a critical or high finding, or a score below the specified threshold; exit code 2 means the scan did not examine everything it found.
  3. If the MCP configuration or scan scope is unexpected, check the `init-mcp` `--root` path and project configuration.
  4. To check telemetry, run `hackmyagent telemetry status`, or turn it off using the README's documented options.

Use cases

Scan agent projects and configurations for security issues.
Check a package, repository, or skill before installing it.
Test a running agent endpoint that you own with attack payloads.
Scan pull request text and SOUL.md governance files.
Run security checks in CI.

Supported clients

Claude CodePartial support
CursorPartial support
VS CodePartial support

Listed from the project's documentation, not tested by this site.

Overview

HackMyAgent is an open-source security toolkit that discovers AI assistants, MCP servers, and agent projects on a machine; checks projects and packages for credentials, risky configuration, prompt injection, and governance issues; and tests agents with attack payloads. The README describes adding it through MCP to Claude Code, Cursor, or VS Code, but does not provide a server manifest or specific tool definitions.

Similar servers

Source revision 9c6f3f09e557 Data synced 2026-12-05 Read the FMRS scoring method Markdown

Maintainer badge: embed FMRS score

Paste this Markdown into your repository README to display a live score badge:

README.md
[![FollowMCP](https://followmcp.com/badges/hackmyagent.svg)](https://followmcp.com/en/servers/hackmyagent)