🎩 You're Invited:Meet the Socket team at Black Hat in Las Vegas, August 3-6.RSVP
Sign In

@mpcfintech/prompt-compass-mcp

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@mpcfintech/prompt-compass-mcp

Prompt routing and firewall decisions from Prompt Compass over MCP.

latest
Source
npmnpm
Version
1.0.1
Version published
Weekly downloads
56
-27.27%
Maintainers
1
Weekly downloads
 
Created
Source

Prompt Compass logo

Prompt Compass MCP

Prompt Compass gives MCP-compatible AI clients one decision-only tool for checking prompts before they are forwarded:

  • LOCAL_SAFE - suitable for the user's configured local-model route.
  • CLOUD_COMPLEX - suitable for the user's configured cloud-model route.
  • BLOCK_PII - contains likely personal or sensitive data.
  • JAILBREAK - contains likely prompt-injection or jailbreak content.

The MCP server does not call an AI model, choose a model provider, or execute actions. The host application remains in control.

Install

Requires Node.js 20 or newer and a Prompt Compass API key.

npx -y @mpcfintech/prompt-compass-mcp

Set the key as PROMPT_COMPASS_API_KEY. Keep it out of source control, screenshots, issue reports, and chat messages.

Clients supporting Streamable HTTP can instead connect to:

https://api.mpcfintech.com/mcp

Modern clients can discover Prompt Compass OAuth automatically from that URL. Choose Connect or Sign in, log in with your Prompt Compass account, and approve the single read-only prompt-check permission. No API key needs to be pasted into the client. Clients without OAuth support can still use Authorization: Bearer YOUR_PROMPT_COMPASS_API_KEY.

Detailed setup for Codex, ChatGPT desktop, Claude Code/Desktop, Cursor, Cline, Windsurf, Gemini CLI and Google Antigravity is in CLIENT_SETUP.md.

Exposed tool

compass_check_prompt

Input:

{ "prompt": "Text to check" }

The result is a routing/firewall decision only. The tool is marked read-only, non-destructive and idempotent.

Plans and keys

Create a Prompt Compass account and API key at:

https://compass.mpcfintech.com

The MCP connection uses the same quota and billing pool as the Prompt Compass REST API. There is no separate MCP surcharge.

Security and limitations

Prompt Compass is a decision aid, not a sandbox or security guarantee. Keep the host client's own permissions, confirmation prompts, provider policies and application-level validation enabled. Do not auto-approve third-party tools.

Agent Compass is not included in this release.

Test

npm install
npm test

The public test uses a local in-memory MCP transport and a simulated API response. It does not require a customer key.

Copyright (c) Madanpotra Consultancy Private Limited.

Keywords

mcp

FAQs

Package last updated on 26 Jul 2026

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts