
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
概覽
為代理工作階段強制設定 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 方式執行。未宣告驗證、環境變數或標頭。
安裝
在 SourceWeft 中
- 開啟 儀表板中的 Agent Token Budget Mcp,將其新增到工作區。
- 為需要使用其工具的對話啟用該服務。
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-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
✨ 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.
📜 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:
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_budgetto …" - "Use
record_callto …" - "Use
check_budgetto …"
來源:README.md,提交 a625198
工具
0版本歷史
1- v1.1.6最新Sep 16, 2026
評分
已滿足適用檢查項的 85%
該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。
- 近 30 天內可連通必需25 分
- 已宣告認證方式必需10 分
- 已列出工具必需15 分
請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。
- 描述必需15 分
- 圖示10 分
- 文件15 分
- 授權條款10 分