Locus Pro · Prepaid tool credits
MCP Payments
Connect agents to prepaid, metered tools through Model Context Protocol (MCP) with OAuth or enterprise service credentials scoped to a bundle of tools.
Updated
What is the Model Context Protocol?
The Model Context Protocol (MCP), created by Anthropic, is an open standard that lets AI applications discover and call external tools through a common interface. Locus Pro exposes one hosted MCP server for metered catalog tools, so a client can search, inspect, estimate, and execute permitted APIs without configuring a separate provider key for each one.
How Locus integrates with MCP
Locus MCP server
Locus Pro provides a hosted MCP server backed by 3,941 catalog services and 16,205 callable endpoints. Its compact meta-tools let an agent search the catalog, inspect one contract, estimate cost, and execute an allowed tool.
Automatic payment on tool call
When the agent invokes a tool, Locus Pro reserves and burns prepaid credits from the authenticated account. Available balance, enabled tools, credential scope, and any enterprise end-user or connection limits are checked before provider execution.
OAuth for people, scoped credentials for services
Use an OAuth-capable MCP client for an interactive personal or enterprise connection. An unattended enterprise runtime can send a scoped lcac_ Agent Connection credential if its client supports custom authorization headers. Tenant secret keys stay on trusted servers.
MCP payment workflow
Here's what happens when an agent makes a paid MCP tool call:
- •Tool discovery — The client receives compact catalog meta-tools, then uses search_apis and describe_api to retrieve only permitted contracts and their price or pricing basis.
- •Tool invocation — An interactive client completes browser OAuth. A headless enterprise client sends its endpoint- and budget-scoped lcac_ credential. Neither flow puts a tenant secret key in the MCP client.
- •Policy check — Locus verifies that the prepaid credit balance can cover the quote and that the call satisfies enabled-tool, credential, account, and configured policy limits.
- •Execution and billing — Locus calls the selected API, returns the result with charged credits and remaining balance, and records the burn for usage review. MCP calls are non-streaming; a failed upstream call releases its reservation.
Why MCP payments matter
MCP standardizes tool discovery and invocation, but it does not define prepaid balances, per-call metering, refunds, or enterprise account policy. Locus Pro adds those controls behind one hosted server, letting agents use premium catalog tools while account owners keep a bounded balance, explicit access, and a durable usage record.
Connect and control usage
Locus Pro uses prepaid credits. Start with the agent connection guide, review current plans, and configure spending controls before scaling a workflow. Pay With Locus is the separate on-chain wallet product.
Related resources
- What is the Machine Payments Protocol (MPP)?
- MCP vs API vs SDK: Which interface fits your agent
- MCP marketplace — Paid tools your MCP agent can call with one connection
- Agentic payments guide — How agents pay for tools under policy, from MCP to x402
- HTTP 402 Payments — Machine-native payment protocol for the web
- Enterprise — Meter and bill MCP tool usage across your customers
- Agent tools — 3,941 catalog services available through Locus
- Agentic Payments — The broader vision for autonomous agent payments
Frequently asked questions
Does MCP handle payments itself?
No. MCP standardizes tool discovery and invocation but does not define prepaid balances, per-call metering, or refunds. Locus Pro adds those behind one hosted server.
Am I charged if a tool call fails?
Not when the upstream call fails. A failed upstream call releases its reservation, and MCP calls through Locus Pro are non-streaming.
Can a headless agent use the Locus MCP server?
Yes, on enterprise. An unattended runtime can send a scoped lcac_ Agent Connection credential if its client supports custom authorization headers. Tenant secret keys stay on trusted servers.
Do I need a separate API key for each provider?
No. The hosted server lets a client search, inspect, estimate, and execute permitted APIs without a separate provider key for each one.