v0.2.1stdioMCP
Connect your AI tool to Metera
One config block. Access to all paid MCPs in the Metera marketplace. Payments handled automatically via your agent wallet.
No API keys to distribute. No billing setup. Your agent wallet pays per call in USDC on Solana.
Step 1 — Get your agent key
You need a Metera agent wallet with USDC balance before connecting any tool.
Go to metera.xyz/agents
Sign in — no crypto wallet required.
Create an agent wallet
Give it a name. A Solana address and agent key are created instantly.
Deposit USDC
Click "Deposit". Pay via Pix (BRL). USDC arrives on Solana mainnet.
Copy your agent key
The agent key is a UUID shown on your wallet card.
Step 2 — Add the config block
Pick your AI tool and add one config block. The command is always the same — only the file path changes.
.mcp.json
json
{
"mcpServers": {
"metera": {
"command": "npx",
"args": ["@metera/mcp-client"],
"env": {
"METERA_AGENT_KEY": "your_agent_key"
}
}
}
}
Replace your_agent_key with the UUID from your wallet card at metera.xyz/agents.
After connecting, your AI tool will have access to these tools:
metera_listList all available MCPs with pricing, descriptions, and skill URLs
metera_{slug}Call any MCP in the registry — payment handled automatically via your wallet
The registry refreshes on every list call — new MCPs appear automatically without reconfiguring.
Optional configuration
METERA_MAX_PER_CALL0.05Max USDC per individual tool call — blocks calls above this cost
METERA_API_URLhttps://api.metera.xyzCustom API URL (for self-hosted or staging environments)
json
{
"mcpServers": {
"metera": {
"command": "npx",
"args": ["@metera/mcp-client"],
"env": {
"METERA_AGENT_KEY": "your_agent_key",
"METERA_MAX_PER_CALL": "0.02",
"METERA_API_URL": "https://api.metera.xyz"
}
}
}
}
The command is always the same — only the config file location changes per tool.
commandnpx
args["@metera/mcp-client"]
envMETERA_AGENT_KEY=your_agent_key
How payments work
When your agent calls a paid MCP tool, the following happens automatically:
Tool call routed through Metera
Your agent calls metera_{slug} with tool name and args.
Metera connects to the MCP server
If the server requires payment (x402), Metera detects it.
Spending limit check
Call amount is checked against METERA_MAX_PER_CALL and your wallet's spending limits.
USDC payment on Solana
Metera signs a USDC transfer from your wallet to the MCP server provider.
Tool result returned
The MCP server returns the result. Your agent receives it as a normal tool response.
Settlement time: ~400ms. Gas fees: ~$0.00025 SOL per transaction. All payments go directly to the MCP server provider — Metera takes no cut.