Demo MCP server for host-run model calls with budget gating.
Copy the install command and let the AI configure it · recommended for beginners
No copy-paste install info for "learn-mcp-agent-ledger" yet — see the docs or source repo.
Use learn-mcp-agent-ledger to start a request that requires model sampling, set a very low budget cap, and show how it estimates cost and rejects an over-budget call.
A blocked result showing the call was refused because the estimated cost exceeded the budget.
Demonstrate how this MCP server asks the host to execute a model call and return the sampling result, highlighting the split of responsibilities.
A sample flow where the host runs the model call and the server receives the sampling result.
Run similar model requests with higher and lower budgets, and compare how learn-mcp-agent-ledger handles each case.
A comparison showing calls allowed under sufficient budget and rejected under insufficient budget.
Developers or students can use it to understand how an MCP server requests the host to perform model sampling instead of calling the model directly. It fits teaching, demos, and experiments.
Research or development teams can use it to test cost estimation and budget gating before model requests run. This helps reject calls that are expected to exceed budget.
It is a demo MCP server. It shows how a server asks the host to run model calls and uses a spend gate to estimate costs and refuse over-budget requests.
Based on the description, it asks the host to execute the model call rather than doing the sampling directly on the server. The key demo is host-run model calls.
The provided material does not include installation steps, runtime details, or key requirements. See the source repository for more information.
Learn and test MCP tools, resources, and prompts in one sample server.
Permanently store AI agent reasoning traces for auditable, verifiable decision logging.
Test MCP client connectivity with a simple example server and ping tool.
Build effective AI agents with MCP and simple workflow patterns.
Provide a learning MCP server with tools, prompts, resources, and local storage.
Aggregate multiple MCP servers into one unified access point.