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 分