# HackMyAgent

> Security scanning and red-team testing for AI agents and MCP servers.

- **URL**: https://followmcp.com/en/servers/hackmyagent
- **Category**: Dev Tools
- **Origin**: Community
- **Stars**: 96
- **FMRS Score**: 53/100 (Grade D)
- **Source**: https://github.com/opena2a-org/hackmyagent

- **Runtimes**: Node.js
- **Auth**: No credential needed

## 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.

## 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
- 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.
