← usdf.fi

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 on Base or Solana and charges this key in USDF cost plus 5% at most, no minimum (the seller's amount and a fee of at most 5% of it; never free credit), within the key's and its agent's limits.

usdf.finone authenticationAvailability not checked

LIVE ENDPOINT

https://api.usdf.fi/mcp

No auth detected

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

usdf.fi

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 prices (USD per 1M tokens, the same figure in USDF), context window, output limits and whether a route is available right now.
  • quote — The hold the chat tool places before running a request, in USDF and USD (output capped at 4096 tokens).
  • list_tools — Tools callable through POST /v1/tools/{id} on the same balance and key as chat, with their price (USDF base units: 1 unit = $0.
  • quote_tool — The hold a call to a tool takes for this input before it runs (its worst case), in USDF base units 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 through the metered gateway and returns the text with its receipt (tokens, price, cost, balance, settlement).
  • balance — The calling key's available balance, the account's balance and held amount, and the key's budget left, in USDF (Authorization: Bearer sk_.