Prompt Compass

io.github.rishabhmpc由 GitHub 帳號 rishabhmpc 發布v1.0.3更新於 Oct 24, 2026

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

已驗證Streamable HTTP可網頁執行安全與監控AI 與機器學習

概覽

AI 產生的概覽

Prompt Compass 提供一個僅做決策的提示詞檢查工具,讓助理在轉送提示詞前先取得路由與風險分類。

可以做什麼
檢查單一提示詞並回傳路由或防火牆決策:本機安全、雲端複雜、疑似個人資料或越獄內容。只回傳決策,不呼叫模型、不選擇供應商、不執行任何動作。
適用情境
當你想在把提示詞送往本機或雲端模型之前,先取得一個分類決策,或想先攔截可能含有個人資料或越獄內容的提示詞時,可以考慮加入。它只提供決策,不會取代主機端既有的權限與確認機制。
執行需求
需要 Node.js 20 以上與 Prompt Compass API 金鑰(環境變數 PROMPT_COMPASS_API_KEY),或改用遠端端點並透過 OAuth 登入 Prompt Compass 帳號;不支援 OAuth 的用戶端可用 Bearer 權杖。需要網路連線與有效方案。
安裝前請注意
需要 Prompt Compass 帳號與 API 金鑰,請勿將金鑰放入版本控制、截圖、問題回報或聊天訊息。使用量與 REST API 共用同一計費額度,可能產生費用。提示詞會傳送給第三方服務。它只是輔助判斷,不是沙箱或安全保證,請保留主機端權限與確認機制。

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 Prompt Compass,將其新增到工作區。
  2. 連接 所需的 憑證。它們會被私密儲存,絕不會在公開頁面上展示。
  3. 為需要使用其工具的對話啟用該服務。

Web executable,透過 Streamable HTTP。 遠端服務在工作區中設定後即可從網頁執行環境執行。

交給代理程式安裝

把這段提示詞貼上到 Claude Code、Codex、Cursor 等代理程式,或 SourceWeft 對話中。代理程式會讀取該伺服器的安裝指南,先向你展示發布者、端點和登入方式,經你同意後再把它新增到你的客戶端。金鑰不會寫進任何命令。

閱讀 https://sourceweft.com/mcp/io.github.rishabhmpc%2Fprompt-compass/install.md,並按其中說明把這個 MCP 伺服器接入我的客戶端。修改任何設定之前,先告訴我它的發布者、端點和登入方式,等我確認。不要把 API 金鑰寫進命令或我會提交的檔案;問我金鑰應從哪裡取得。

檢視代理程式所依據的安裝指南

其他 MCP 客戶端

把它新增到你客戶端的 mcpServers 設定中。 客戶端會在首次連接時完成 OAuth 登入。

{
  "mcpServers": {
    "prompt-compass": {
      "type": "http",
      "url": "https://api.mpcfintech.com/mcp"
    }
  }
}

README

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

text
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:

text
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:

json
{ "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

text
npm installnpm test

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

Links

Copyright (c) Madanpotra Consultancy Private Limited.

來源:README.md,提交 9f28bc9

工具

0
該伺服器需要登入,因此 SourceWeft 無法在沒有帳號的情況下讀取其工具,也未收錄。已連接帳號所能看到的內容可能因帳號及其權限而異。

版本歷史

1
  1. v1.0.3最新Sep 16, 2026

評分

已滿足適用檢查項的 75%

該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。

  • 近 30 天內可連通必需25 分
  • 已宣告認證方式必需10 分
  • 已列出工具15 分

    請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。

  • 描述必需15 分
  • 圖示10 分
  • 文件15 分
  • 授權條款10 分

    請在儲存庫或註冊中心條目中宣告授權條款。