Ghosthunt MCP Server

Find every leaked secret on your machine — API keys in .env files, shell history, and configs.

Local serverstdio

What is the Ghosthunt MCP Server?

Find every leaked secret on your machine — API keys in .env files, shell history, and configs.

The short version

GhostHunt is an MCP server that scans your development machine for API keys, tokens, and credentials hiding in places you forgot to check: .env files scattered across projects, shell history, AWS/SSH/Docker configs, and more.

More MCP options

Compare MCP servers by category, or browse hosted MCP servers if you prefer an endpoint over a local process.

Maintainer setup documentation.

Recorded tools

Check the linked publisher documentation and your connected client's tool list. Names and availability can vary with the server version and account permissions.

ToolWhat it does
scan_secrets
scan_summary

How to install the Ghosthunt MCP Server

{
  "mcpServers": {
    "ghosthunt": {
      "command": "npx",
      "args": [
        "-y",
        "ghosthunt"
      ]
    }
  }
}

From the project documentation. Replace placeholders and example paths before connecting.

Example prompts to try

  • “Use Ghosthunt to scan secrets.”
  • “Use Ghosthunt to scan summary.”

Frequently asked questions

Find every leaked secret on your machine — API keys in .env files, shell history, and configs. Confirm the tools offered by your installed version in the connected client. Tool availability and permissions depend on the server and account configuration.