Agent Token Budget Mcp

io.github.CSOAI-ORG由 GitHub 帳號 CSOAI-ORG 發布v1.1.6更新於 Nov 4, 2026

Agent Token Budget MCP — hard per-session token + spend cap with signed budget-exhausted

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

概覽

AI 產生的概覽

為代理工作階段強制設定 token 與花費硬性上限,並在預算耗盡時回傳簽章訊號的 MCP 伺服器。

可以做什麼
  • 為工作階段啟動預算、依呼叫記錄 token 或花費用量,並查詢剩餘預算。
  • 說明中稱此上限為硬性限制,耗盡時會以簽章訊號回報。
  • README 僅提到 start_budget、record_call、check_budget 三個工具名稱,未說明其輸入輸出細節。
  • 除此之外,README 只列出一般宣傳(協定相容、安裝簡單、可用於生產)以及歐盟 AI 法案合規聲明。
適用情境
當你執行會呼叫付費模型的代理,希望依工作階段限制 token 或花費、而不只依賴服務商端限額時可考慮。由於缺少具體文件,建議先依自身成本控制需求評估。
執行需求
可作為遠端端點執行,也可作為本機 Python 套件(pip install agent_token_budget_mcp,或 uvx agent_token_budget_mcp)以 stdio 方式執行。未宣告驗證、環境變數或標頭。
安裝前請注意
README 稱 MEOK 依任務收費且沒有公開價目表,使用託管端點前請確認是否產生費用。README 中的宣傳與合規聲明缺乏工具文件佐證,依賴此上限前請自行驗證實際行為。

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 Agent Token Budget Mcp,將其新增到工作區。
  2. 為需要使用其工具的對話啟用該服務。

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

交給代理程式安裝

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

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

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

其他 MCP 客戶端

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

{
  "mcpServers": {
    "agent-token-budget": {
      "type": "http",
      "url": "https://api.meok.ai/v1/a2a/agent-token-budget"
    }
  }
}

README

[MCP Scorecard: 90/100]

mcp-name: io.github.CSOAI-ORG/agent-token-budget-mcp

Agent Token Budget MCP

[MEOK AI Labs] [License] [PyPI]

🧱 Part of the MEOK A2A Substrate

🧱 Part of the MEOK A2A Substrate


🚀 Quick Start

bash
# Install via pippip install agent_token_budget_mcp
# Or install via Smitherynpx -y @smithery/cli@latest install agent-token-budget-mcp --client claude

✨ Features

  • MCP protocol compliant
  • Easy installation
  • Well-documented API
  • Production-ready
  • Active maintenance

📖 Documentation

🛡️ Compliance

This MCP server is built with EU AI Act compliance built-in:

  • ✅ Article 9 — Risk Management System
  • ✅ Article 13 — Transparency & Instructions for Use
  • ✅ Article 15 — Bias Detection & Testing
  • ✅ Article 26 — FRIA Support (where applicable)
  • ✅ Article 50 — AI Content Watermarking (where applicable)

Need help getting compliant? Book a free 15-min diagnostic →

How MEOK charges

MEOK has no subscriptions and no tiers. You pay per job, and only when the agreed artifact has been delivered to you. There is no public price list. See https://meok.ai/pricing.

This repository's source is MIT-licensed and free to self-host.

🤝 Part of the MEOK Ecosystem

This server is part of the MEOK AI Labs ecosystem — 300+ MCP servers for sovereign AI governance.

DomainPurpose
councilof.aiEU AI Act compliance marketplace
safetyof.aiAI safety & monitoring
meok.aiSovereign AI platform
cobolbridge.aiLegacy modernization

📜 License

MIT © CSOAI-ORG


Built with 💜 by MEOK AI Labs · UK Companies House 16939677

MIT. By [MEOK AI Labs](https://meok.ai) (CSOAI LTD, UK Companies House 16939677).

Configuration

Add to your claude_desktop_config.json (Claude Desktop) or your MCP client config:

json
{  "mcpServers": {    "agent-token-budget-mcp": {      "command": "uvx",      "args": ["agent-token-budget-mcp"]    }  }}

Or: pip install agent-token-budget-mcp then run the agent-token-budget-mcp command (stdio transport).

Examples

Once configured, ask your assistant, for example:

  • "Use start_budget to …"
  • "Use record_call to …"
  • "Use check_budget to …"

來源:README.md,提交 a625198

工具

0
SourceWeft 尚未讀取此伺服器的工具。

版本歷史

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

評分

已滿足適用檢查項的 85%

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

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

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

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