SentioGate FinOps & LLM Router

io.github.SentioGate由 GitHub 帳號 SentioGate 發布v1.0.0更新於 Nov 8, 2026

BYOK AI router & FinOps control plane: audit token waste, check tool safety, and rank models.

發布方自己的服務:370.ai — AI Gateway: 100+ Chat Models, Image & Speech Generation

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

概覽

AI 產生的概覽

BYOK 大型語言模型路由與 FinOps 閘道,讓助理稽核 token 浪費、依成本推薦模型、檢查工具安全並轉送子任務。

可以做什麼
  • 稽核過往 LLM 請求日誌,找出成本浪費、上下文膨脹與提示快取可節省空間
  • 讀取即時花費、快取節省金額與剩餘 Community Pool 配額
  • 為任務推薦模型與供應商備援鏈
  • 對工具呼叫與終端機指令做安全預檢
  • 在不執行推論的情況下模擬上下文壓縮與工具輸出裁剪
  • 將聊天補全子任務經路由器轉送或排入背景批次佇列
適用情境
適合想讓助理持續掌握並控制大型語言模型花費的情境:檢視過往請求日誌中的浪費、為程式開發或代理任務挑選成本最佳模型、預覽載荷壓縮效果,或在執行前篩檢高風險指令。
執行需求
遠端 streamable HTTP 端點 api.sentiogate.dev;README 另提供供 Claude Code、Cursor 與 Cline 使用的本機 npx 套件。API 金鑰透過 SENTIOGATE_API_KEY 環境變數或 Authorization Bearer 標頭傳入;據稱公開工具無需驗證即可使用。
安裝前請注意
API 金鑰屬於憑證,請勿寫入共用設定或日誌。轉送工具會把提示詞送至 SentioGate 及上游供應商,對話內容會離開本機。日誌稽核代表要上傳請求日誌,其中可能含敏感提示詞。安全檢查僅供提示,不能取代自行審查。

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 SentioGate FinOps & LLM Router,將其新增到工作區。
  2. 為需要使用其工具的對話啟用該服務。

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

交給代理程式安裝

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

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

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

其他 MCP 客戶端

把它新增到你客戶端的 mcpServers 設定中。

{
  "mcpServers": {
    "sentiogate-finops-llm-router": {
      "type": "http",
      "url": "https://api.sentiogate.dev/v1/mcp"
    }
  }
}

README

@sentiogate/mcp

Official Model Context Protocol (MCP) server for SentioGate — Zero-markup BYOK LLM router & FinOps control plane.

Expose real-time LLM cost analytics, token-waste auditing, task-based model recommendations, and tool-safety inspection directly inside Claude Code, Cursor, Cline, OpenClaw, and Google Gemini / Search (Connected Apps).


Features (Exposed MCP Tools)

  1. sentiogate_audit_waste — Scan past completion logs (JSON, JSONL, or CSV) to calculate dollar waste, prompt-cache misses, and potential savings with SentioGate.
  2. sentiogate_get_finops_ledger — Retrieve live spend, cache savings, and remaining 5-hour Community Pool quota.
  3. sentiogate_recommend_model — Classify prompt difficulty and receive optimal model + provider fallback chain based on empirical benchmarks and live TTFT.
  4. sentiogate_guard_check — Pre-flight check terminal commands and tool calls against SentioGate Armor safety rules (credential leak, destructive deletions, reverse shells).
  5. sentiogate_optimize_payload — Simulate prompt compaction and tool-output trimming to preview token savings before model invocation.

Quick Setup

1. Claude Code

Run in your project directory:

bash
claude mcp add sentiogate -- npx -y @sentiogate/mcp

2. Cursor / Cline (mcpServers config)

Add to your mcpServers configuration (settings.json or ~/.cursor/mcp.json):

json
{  "mcpServers": {    "sentiogate": {      "command": "npx",      "args": ["-y", "@sentiogate/mcp"],      "env": {        "SENTIOGATE_API_KEY": "sg_live_your_api_key_here"      }    }  }}

3. Remote HTTP Endpoint (Google Connected Apps / Gemini)

For remote MCP environments, point directly to the edge HTTP endpoint:

  • Server URL: https://api.sentiogate.dev/v1/mcp
  • Transport: Streamable HTTP / SSE (MCP 2024-11-05)
  • Headers: Authorization: Bearer <your_key> (optional, public tools work unauthenticated)

License

Apache-2.0 © SentioGate Team

來源:README.md,提交 d0aa1cb

工具

6

sentiogate_audit_waste

Analyze past LLM request logs (raw JSON/JSONL/CSV or array of message turns) to detect cost waste, unnecessary context bloat, prompt-cache opportunities, and achievable savings with SentioGate.

輸入參數recordsraw_logs

sentiogate_get_finops_ledger

Fetch real-time SentioGate BYOK FinOps metrics: measured spend by provider, prompt-cache USD savings, active sessions, and remaining 5-hour Community Pool quota.

輸入參數time_range

sentiogate_recommend_model

Recommend the optimal model and provider fallback chain for a given coding or agent task based on real-time task difficulty, live catalog pricing, and measured latency.

輸入參數prioritytask_prompt必填requires_tools

sentiogate_guard_check

Pre-flight check tool calls, terminal commands, or conversation history against SentioGate Armor security rules (credential leakage, destructive rm, pipe-to-shell, git force-push, and runaway tool loops).

輸入參數messagesarguments必填tool_name必填

sentiogate_optimize_payload

Preview and simulate context compaction and tool-output trimming on an array of conversation messages without executing upstream model inference.

輸入參數messages必填

sentiogate_delegate_prompt

Route a chat completion sub-task through SentioGate (using model "auto" or a pinned provider/model) or enqueue it on the background batch queue.

輸入參數modelprompt必填systemasync_batch

版本歷史

1
  1. v1.0.0最新Nov 8, 2026

評分

已滿足適用檢查項的 100%

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

  • 近 30 天內可連通必需25 分
  • 已宣告認證方式必需10 分
  • 已列出工具必需15 分
  • 描述必需15 分
  • 圖示10 分
  • 文件15 分
  • 授權條款10 分

其他 Router 整合