mcpbeat Sign in

Phantom Secrets MCP Server

local only

Phantom Secrets runs on your own machine — the client starts it, so there is no endpoint to ping. 51 installs a week from npm. Last commit 9 Sep 2026.

Stop AI coding agents from leaking API keys. Local proxy swaps real secrets for phm_ tokens.

Installs per day peak 26 · avg 9 · -22% w/w
a month agotoday
51
Installs / week
npm · phantom-secrets-mcp
16
Stars
0 open issues
9 Sep 2026
Last commit
0 releases in 90 days
MIT
License
Rust

What the code does

We read the source, 22 h ago · rules 3dff92dd89df

Capabilities

What this server is able to do. For an MCP server this is often the job itself — a terminal server runs commands because that is what it is for. Listed so you know what you are plugging in, not as an accusation.

Runs a command on install [пакет] package.json:1
postinstall: node install.js
File ships in the package but is absent from the source [пакет] bin/cli.js:1, [пакет] install.js:1
этот файл ставится пользователю, но в репозитории его нет
Runs an external command [пакет] bin/cli.js:121, npm-mcp/bin/cli.js:917, npm/bin/cli.js:917
      execSync(
Builds a file path from a variable apps/web/src/lib/public-docs.ts:48
    markdown: readFileSync(path.join(DOCS_ROOT, entry.file), "utf8"),
In the project's build, not in the package

Found in continuous integration, deployment or infrastructure files, or in a neighbouring package of the same monorepo. None of this is installed when you add the server: it describes how the project is built and released. We list it because a leaked key in a build pipeline is still a real problem, but it is not something this server does on your machine.

Builds a database query by concatenation .github/workflows/ci.yml:295
      - name: Tear down local database and delete its volumes
        if: ${{ always() && steps.start_database.outcome != 'skipped' }}

Is this your server and something here is wrong? Tell us — corrections are free and do not require a plan.

This code can reach further than it looks

We found places where it runs commands, builds paths or queries from values it is given. None of that is a flaw by itself — it becomes one when the code changes, and code changes quietly between releases. We re-read it on every one.

Three servers free · no card

Connect this server

This server runs on your own machine — install it with the package manager and the client starts it for you. Package name taken from the official registry entry.

run in your terminal
claude mcp add phantom-secrets-mcp -- npx -y phantom-secrets-mcp
~/Library/Application Support/Claude/claude_desktop_config.json
{
  "mcpServers": {
    "phantom-secrets-mcp": {
      "args": [
        "-y",
        "phantom-secrets-mcp"
      ],
      "command": "npx"
    }
  }
}
~/.codex/config.toml
[mcp_servers.phantom-secrets-mcp]
command = "npx"
args = ["-y", "phantom-secrets-mcp"]
.cursor/mcp.json
{
  "mcpServers": {
    "phantom-secrets-mcp": {
      "args": [
        "-y",
        "phantom-secrets-mcp"
      ],
      "command": "npx"
    }
  }
}
.vscode/mcp.json
{
  "mcpServers": {
    "phantom-secrets-mcp": {
      "args": [
        "-y",
        "phantom-secrets-mcp"
      ],
      "command": "npx"
    }
  }
}

Alternatives to Phantom Secrets

same job, measured the same way
Enigmagent MCP
by agnuxo1

Local AES-256-GCM vault for AI agents. Secrets stay local, LLMs never see real API keys.

60 installs/wk local only
Defenter Proxy
by defenter-ai

Real-time semantic security for AI coding agents and MCP tools

122 installs/wk local only
Janee
by rsdouglas

Secure secrets proxy for AI agents — manages API keys so agents never see raw credentials.

100 installs/wk local only
q-ring
by i4ctime

OS keychain secrets for AI coding agents, over MCP.

712 installs/wk local only
Trestle
by trestlescan

Detects leaked secrets (API keys, tokens, private keys) in source code.

48 installs/wk local only
Tokenectomy Razor
by daffa2555

Autonomous log surgery & secret redaction MCP server for AI coding agents.

local only
C
Opzyai Security Check
by opzyai

Local-first security check for AI coding agents: secrets, .env exposure, git-history leaks, CVEs.

50 installs/wk local only
Skarn
by getskarn

Scans AI coding sessions and assistant configs for leaked secrets and risky hooks; local, redacted

709 installs/wk local only

Phantom Secrets — questions

Answers built from our own checks of this server.

Why is there no uptime for Phantom Secrets?
Phantom Secrets runs on your own machine over stdio — there is no network address to reach, so uptime cannot be measured for it by anyone. What can be measured is adoption: the npm package phantom-secrets-mcp was installed 51 times last week.
How do I connect Phantom Secrets?
Copy the ready config from this page — we generate it for Claude Code, Claude Desktop, Codex, Cursor and VS Code, each with the file path that client actually reads. It runs locally, so the command pulls phantom-secrets-mcp straight from npm; nothing to host, nothing to sign up for.
How many people use Phantom Secrets?
The npm package phantom-secrets-mcp was installed 51 times in the last week. Week over week that is -22%. We show installs rather than GitHub stars on purpose: a star is a bookmark, an install is someone actually running it.
Is Phantom Secrets open source?
Yes — it is published under the MIT licence, written in Rust and 16 stars on GitHub. The source link is on this page, so you can read exactly what it does with your data before you connect it.