Prompt Compass

v1.0.3
io.github.rishabhmpc/prompt-compass Checked 17 hours ago Published 4 months ago

Decision-only prompt routing and firewall checks for local/cloud routing, PII and jailbreak risk.

Values you need

VariableWhat it is
PROMPT_COMPASS_API_KEYrequired secret Prompt Compass API key from compass.mpcfintech.com.

npm (npx) discovery passed

Requires Node.js 18+

Run in a terminal
claude mcp add prompt-compass -e 'PROMPT_COMPASS_API_KEY=<PROMPT_COMPASS_API_KEY>' -- npx -y @mpcfintech/prompt-compass-mcp@1.0.1
Add to claude_desktop_config.json
{
  "mcpServers": {
    "prompt-compass": {
      "args": [
        "-y",
        "@mpcfintech/prompt-compass-mcp@1.0.1"
      ],
      "command": "npx",
      "env": {
        "PROMPT_COMPASS_API_KEY": "<PROMPT_COMPASS_API_KEY>"
      }
    }
  }
}
Add to ~/.cursor/mcp.json
{
  "mcpServers": {
    "prompt-compass": {
      "args": [
        "-y",
        "@mpcfintech/prompt-compass-mcp@1.0.1"
      ],
      "command": "npx",
      "env": {
        "PROMPT_COMPASS_API_KEY": "<PROMPT_COMPASS_API_KEY>"
      }
    }
  }
}
Add to .vscode/mcp.json
{
  "inputs": [
    {
      "description": "PROMPT_COMPASS_API_KEY",
      "id": "prompt-compass-api-key",
      "password": true,
      "type": "promptString"
    }
  ],
  "servers": {
    "prompt-compass": {
      "args": [
        "-y",
        "@mpcfintech/prompt-compass-mcp@1.0.1"
      ],
      "command": "npx",
      "env": {
        "PROMPT_COMPASS_API_KEY": "${input:prompt-compass-api-key}"
      },
      "type": "stdio"
    }
  }
}
Add to ~/.codex/config.toml
[mcp_servers.prompt-compass]
command = "npx"
args = ["-y", "@mpcfintech/prompt-compass-mcp@1.0.1"]
env = { "PROMPT_COMPASS_API_KEY" = "<PROMPT_COMPASS_API_KEY>" }

Remote (hosted)

Run in a terminal
claude mcp add --transport http prompt-compass https://api.mpcfintech.com/mcp
Add to Settings → Connectors → Add custom connector (or claude_desktop_config.json via mcp-remote)
{
  "mcpServers": {
    "prompt-compass": {
      "args": [
        "-y",
        "mcp-remote",
        "https://api.mpcfintech.com/mcp"
      ],
      "command": "npx"
    }
  }
}
Add to ~/.cursor/mcp.json
{
  "mcpServers": {
    "prompt-compass": {
      "url": "https://api.mpcfintech.com/mcp"
    }
  }
}
Add to .vscode/mcp.json
{
  "servers": {
    "prompt-compass": {
      "type": "http",
      "url": "https://api.mpcfintech.com/mcp"
    }
  }
}
Add to ~/.codex/config.toml
[mcp_servers.prompt-compass]
command = "npx"
args = ["-y", "mcp-remote", "https://api.mpcfintech.com/mcp"]

For AI agents

  1. Ask the user for: PROMPT_COMPASS_API_KEY. Never invent or guess these values; secrets go into the client config, not into chat logs.
  2. Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).
  3. Restart or reload the client so it starts the server.
  4. Verify: the server should expose these tools: compass_check_prompt.
  5. If it fails, check that the required runtime is installed (Node.js 18+) and that the values above are set.

Machine-readable: install.md · manifest.json