INDIVIDUAL MCP TOOL
x402_pay
Calls a URL that asks for an x402 payment and pays it for you: the gateway pays the seller in USDC from its own float and charges this key in USDF the seller's amount and the payer's fee (never free credit), within the key's and its agent's limits.
LIVE ENDPOINT
https://api.usdf.fi/mcp
Connect to this endpoint to inspect the live schema for x402_pay and invoke it with your own arguments.
Indexed input schema
{}Risk classification
Potential side effects detected · medium confidence · heuristic, not a guarantee.
- A tool name or description suggests retrieving external content.
- A tool name or description suggests a financial action.
Parent server
CONNECT WITH APPROVAL
Client installation
Review this server and its permissions before adding it. Secret placeholders must be set locally.
Codex
~/.codex/config.toml
[mcp_servers.foundry-gateway]
url = "https://api.usdf.fi/mcp"
enabled = true
Claude Code
.mcp.json
{
"mcpServers": {
"foundry-gateway": {
"type": "http",
"url": "https://api.usdf.fi/mcp"
}
}
}
Claude Desktop
Settings → Connectors → Add custom connector
Name: foundry-gateway
Remote MCP URL: https://api.usdf.fi/mcp
Add this remote URL as a custom connector in Claude Desktop. Availability depends on the user plan and workspace policy.
Cursor
.cursor/mcp.json
{
"mcpServers": {
"foundry-gateway": {
"url": "https://api.usdf.fi/mcp"
}
}
}
Visual Studio Code
.vscode/mcp.json
Add to Visual Studio Code{
"servers": {
"foundry-gateway": {
"type": "http",
"url": "https://api.usdf.fi/mcp"
}
}
}
Generic MCP
Client-specific MCP configuration
{
"name": "foundry-gateway",
"transport": "streamable-http",
"url": "https://api.usdf.fi/mcp"
}
MCP Inspector
Run the official MCP Inspector locally and enter the indexed Streamable HTTP endpoint.
Related tools
list_models— Models the gateway serves with their context window, output limits and whether a route is available right now; with an API key, their prices too (USD per 1M tokens, the same figure in USDF).quote— The hold the chat tool places before running a request, in USDF and USD (output capped at 4096 tokens).list_tools— Tools you can call through POST /v1/tools/{id}, paid from the same balance and key as chat, each with the input it takes (with an API key, its price in USDF too), ordered by title.quote_tool— What a call to a tool would hold for this input before it runs (its most it can cost), in USDF and USD, with the tool's price.agents_market_search— Agents, APIs and tools priced per call, in one market, every listing in the same shape: its id (svc_.agents_market_call— Calls a listing of the agents market by its id (svc_.chat— Runs a chat completion and returns the text with its receipt (tokens, price, cost, balance, settlement).balance— With an API key: what the key can spend now, the account's balance and the amount held for requests running, and what is left of the key's budget, in USDF.