You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Feature Suggestion: Optional token metering & paid API key support via neuforge-pay #1179
Love the work on modelcontextprotocol/rust-sdk! As usage grows across AI agent frameworks, server compute costs can start adding up quickly. We've also seen developers report that their autonomous agents accidentally burn through thousands of dollars in a single session because traditional payment rails lack built-in agent guardrails.
Would you be open to adding an optional usage metering & billing decorator using neuforge-pay? It acts as a proactive Spend Firewall and Merchant of Record for MCP servers. In 3 lines of code, it meters tokens, calculates live LLM COGS, and proactively blocks agent transactions that exceed a strict session budget limit (to prevent surprise bills).
We likely wouldn't incorporate a vendor specific solution into the SDK, though I am sure projects that use the Rust SDK could also use this library if they have that need. Thank you
Activity
alexhancock commentedon Aug 17, 2026
Hi @sophieamoure2026-ui
We likely wouldn't incorporate a vendor specific solution into the SDK, though I am sure projects that use the Rust SDK could also use this library if they have that need. Thank you