Koskamo

USDF Foundry MCP

An official MCP server for the USDF Foundry platform that enables AI agents to interact with a prepaid AI compute marketplace. It provides tools to list models, get quotes, execute chat completions, check balances, retrieve receipts, and perform x402 payments, supporting both authenticated API key usage and anonymous x402 payment flows.

Endpoint and access

No sign-in to connect and list tools. Individual tools may still need a vendor account, credentials, or permissions; check the documented prerequisites.

USDF Foundry MCP logo, by USDFVendor evidenceStreamable HTTPNo sign-inEndpoint checked 2026-11-23Operated by USDF
MCP endpoint (Streamable HTTP)
https://api.usdf.fi/mcp
Vendor documentation

What its tools do

10 tools, grouped by the hints the server advertises. Hints are self-declared, not verified behavior.

10 of 10 have a description · 10 of 10 declare behavior hints · 8 of 9 with parameters document them all

Checks and signals

Each line is separate evidence, not a trust score.

  • Passed Endpoint answered the live check ·
  • Passed Official MCP Registry namespace is tied to usdf.fi ·
  • Passed Endpoint is on the registry namespace domain ·
  • Uptime 100% over 90 days
  • Availability 2 of 2 checks passed in 30 days

What you can do with it

  • List available AI models and tools
  • Get price quotes for model usage
  • Execute chat completions with payment
  • Check wallet balance and retrieve receipts

Source and maintenance

Vendor evidenceRegistry 1.0.0

Protocol and capabilities

Server
foundry-gateway 1.0.0
MCP protocol negotiated in check
2025-11-25
Tools
10 advertised
Resources
Not advertised
Resource templates
Not advertised
Prompts
Not advertised
Server-advertised capabilities
{
  "tools": {
    "listChanged": true
  },
  "experimental": {
    "payment": {
      "methods": {
        "evm": {
          "intents": [
            "charge"
          ]
        }
      }
    }
  }
}

Tools

10 advertised

list_models — List models
Advertised by the server during the last successful anonymous check.
Advertised read-only

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).

list_models input schema
{
  "type": "object",
  "properties": {}
}
list_models annotations
{
  "readOnlyHint": true,
  "openWorldHint": false
}
quote — Quote a request
Advertised by the server during the last successful anonymous check.
Advertised read-only

The hold the chat tool places before running a request, in USDF and USD (output capped at 4096 tokens). It is an estimate, not a ceiling: a completed request is billed the provider's reported usage, normally less. Pass prompt or messages. No key needed; a request for attested hardware (a :private model id or provider.private), and any request from a Private-tier key, is quoted on its attested routes, at the model's price.

quote input schema
{
  "type": "object",
  "$schema": "http://json-schema.org/draft-07/schema#",
  "required": [
    "model"
  ],
  "properties": {
    "model": {
      "type": "string",
      "maxLength": 200,
      "description": "Model id from list_models"
    },
    "prompt": {
      "type": "string",
      "maxLength": 262144,
      "description": "Prompt text, sent as one user message"
    },
    "messages": {
      "type": "array",
      "items": {},
      "maxItems": 256,
      "description": "Chat messages in the OpenAI format: objects with a role (system, user, assistant or tool) and content (text, or an array of content parts)"
    },
    "provider": {
      "type": "object",
      "description": "Routing asks as on the REST API, for example {\"private\": true} for attested hardware this gateway verified, at the model's price",
      "propertyNames": {
        "type": "string"
      },
      "additionalProperties": {}
    },
    "max_tokens": {
      "type": "number",
      "description": "Output token budget, a positive integer; defaults to the model's default_max_output, capped at max_output"
    }
  }
}
quote annotations
{
  "readOnlyHint": true,
  "openWorldHint": false
}
list_tools — List tools
Advertised by the server during the last successful anonymous check.
Advertised read-only

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. Every tool listed can be called now. q keeps the tools whose id, title or description has those words; a page holds up to 200, and page.next names the next one. No key needed.

list_tools input schema
{
  "type": "object",
  "$schema": "http://json-schema.org/draft-07/schema#",
  "properties": {
    "q": {
      "type": "string",
      "maxLength": 100,
      "description": "Words a tool's id, title or description has"
    },
    "cursor": {
      "type": "string",
      "maxLength": 10,
      "description": "page.next of the page before"
    }
  }
}
list_tools annotations
{
  "readOnlyHint": true,
  "openWorldHint": false
}
quote_tool — Quote a tool call
Advertised by the server during the last successful anonymous check.
Advertised read-only

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. It checks the input as the call would, and runs and holds nothing. No key needed.

quote_tool input schema
{
  "type": "object",
  "$schema": "http://json-schema.org/draft-07/schema#",
  "required": [
    "tool"
  ],
  "properties": {
    "tool": {
      "type": "string",
      "maxLength": 80,
      "description": "Tool id from list_tools"
    },
    "input": {
      "type": "object",
      "description": "The input the call would send, as in the tool's input schema",
      "propertyNames": {
        "type": "string"
      },
      "additionalProperties": {}
    }
  }
}
quote_tool annotations
{
  "readOnlyHint": true,
  "openWorldHint": false
}
x402_pay — Pay an x402 URL
Advertised by the server during the last successful anonymous check.
Open-world

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. Needs an API key. Returns the seller's answer with the payment and its receipt; a payment is charged only once the chain shows it, and one that never settles costs nothing. quote: true answers what it would cost and pays nothing. Third-party tools to call this way are listed under marketplace in list_tools (GET /v1/tools?source=marketplace).

x402_pay input schema
{
  "type": "object",
  "$schema": "http://json-schema.org/draft-07/schema#",
  "required": [
    "url"
  ],
  "properties": {
    "url": {
      "type": "string",
      "maxLength": 2048,
      "description": "The seller's URL (https)"
    },
    "body": {
      "anyOf": [
        {
          "type": "string",
          "maxLength": 131072
        },
        {
          "type": "object",
          "propertyNames": {
            "type": "string"
          },
          "additionalProperties": {}
        },
        {
          "type": "array",
          "items": {}
        }
      ],
      "description": "The request body: text, or JSON sent as application/json"
    },
    "quote": {
      "type": "boolean",
      "description": "Answer the price and pay nothing"
    },
    "method": {
      "enum": [
        "GET",
        "POST",
        "PUT",
        "PATCH",
        "DELETE"
      ],
      "type": "string",
      "description": "Default GET, or POST when a body is given"
    },
    "headers": {
      "type": "object",
      "description": "Headers for the seller (the payment headers are the gateway's)",
      "propertyNames": {
        "type": "string"
      },
      "additionalProperties": {
        "type": "string"
      }
    },
    "network": {
      "type": "string",
      "maxLength": 64,
      "description": "Pay on this network only: its CAIP-2 id, one GET /v1/x402/payer lists"
    },
    "max_price": {
      "type": "string",
      "maxLength": 20,
      "description": "The most to pay in USDF, the fee included (\"0.05\")"
    }
  }
}
x402_pay annotations
{
  "readOnlyHint": false,
  "openWorldHint": true,
  "idempotentHint": false,
  "destructiveHint": false
}
agents_market_search — Search the agents market
Advertised by the server during the last successful anonymous check.
Advertised read-onlyOpen-world

Agents, APIs and tools priced per call, in one market, every listing in the same shape: its id (svc_...), name, description, tags, site and logo, how it is called (GET or POST), what one call costs in USDF from this key's balance, input and output examples, and the data policy. Ordered by popularity (default), price or newest. No key needed to search; agents_market_call calls one.

agents_market_search input schema
{
  "type": "object",
  "$schema": "http://json-schema.org/draft-07/schema#",
  "properties": {
    "q": {
      "type": "string",
      "maxLength": 200,
      "description": "Words to find in the name, description, tags or host"
    },
    "tag": {
      "type": "string",
      "maxLength": 40,
      "description": "Only listings with this tag"
    },
    "sort": {
      "enum": [
        "popular",
        "price",
        "new"
      ],
      "type": "string",
      "description": "popular (default), price (cheapest first) or new"
    },
    "limit": {
      "type": "integer",
      "maximum": 100,
      "minimum": 1
    },
    "offset": {
      "type": "integer",
      "maximum": 10000,
      "minimum": 0
    },
    "max_price": {
      "type": "string",
      "maxLength": 20,
      "description": "The most a call may cost in USDF (\"0.01\")"
    }
  }
}
agents_market_search annotations
{
  "readOnlyHint": true,
  "openWorldHint": true
}
agents_market_call — Call a listing
Advertised by the server during the last successful anonymous check.
Open-world

Calls a listing of the agents market by its id (svc_..., from agents_market_search), paid from this key's USDF balance (never free credit) within the key's and its agent's limits and at most max_price: what one call costs and nothing on top; a call its seller does not answer 2xx costs nothing, or no more than what its seller kept of it. Every listing is called the same way, and answers 503 market_calls_unarmed while calls to the market are not switched on. Needs an API key. Returns the seller's answer and the receipt. The input goes to the seller, whose own policy governs what it keeps.

agents_market_call input schema
{
  "type": "object",
  "$schema": "http://json-schema.org/draft-07/schema#",
  "required": [
    "id",
    "max_price"
  ],
  "properties": {
    "id": {
      "type": "string",
      "maxLength": 40,
      "description": "The listing's id (svc_...), from agents_market_search"
    },
    "input": {
      "anyOf": [
        {
          "type": "object",
          "propertyNames": {
            "type": "string"
          },
          "additionalProperties": {}
        },
        {
          "type": "array",
          "items": {}
        },
        {
          "type": "string",
          "maxLength": 131072
        },
        {
          "type": "number"
        },
        {
          "type": "boolean"
        }
      ],
      "description": "What the call sends: JSON for a POST listing, an object of plain values (its query) for a GET one"
    },
    "max_price": {
      "type": "string",
      "maxLength": 20,
      "description": "The most this call may cost in USDF (\"0.05\"): required, as a seller may change its price; the listing's price is in agents_market_search"
    }
  }
}
agents_market_call annotations
{
  "readOnlyHint": false,
  "openWorldHint": true,
  "idempotentHint": false,
  "destructiveHint": false
}
chat — Chat completion
Advertised by the server during the last successful anonymous check.
Open-world

Runs a chat completion and returns the text with its receipt (tokens, price, cost, balance, settlement). With an API key it spends from that key's balance, holding the most the request can cost first. Not streamed. Output is capped at 4096 tokens. A call without a progress token answers within 55 s of arriving. With a progress token, progress is sent every 15 s and the call may run 10 minutes, so the client must reset its timeout on progress (resetTimeoutOnProgress: true in the TypeScript SDK) or wait that long. At its deadline, or when the client's connection closes, a call is cut: the text produced so far is returned with finish_reason "length" and billed on the provider's usage report where the provider gives one, otherwise on an estimate never above max_tokens; for a model whose reasoning is not streamed, at the held output budget. Cancellation messages are not supported: a call the client stops waiting for without disconnecting runs to completion or its deadline and is billed. With no key, the call is paid with x402 in USDF (signature transfer) or USDG (signed transfer), as POST /x402/v1/chat/completions: without a payment it returns isError with the payment requirements (x402Version, resource, accepts) as structuredContent; sign one accept and call again with the payment in _meta["x402/payment"], the payment argument or the PAYMENT-SIGNATURE header. The quote is the call's maximum cost at the published price (prompt at one token per byte, output at max_tokens, capped as above, no minimum), paid up front; the call is charged what it uses at that price and the rest is refunded in the asset paid, the gateway paying the gas. A paid call runs to its end or its deadline whether or not the client waits and returns the receipt and _meta["x402/payment-response"]; at the deadline the text so far is returned with finish_reason "length" and a note, charged what it used and the rest refunded. A call no provider accepted before its deadline, or whose provider failed or ended with nothing, is refunded in full in the asset paid; so is one cut by the deadline after the provider accepted it, with nothing produced. A call with less than 20 s left before its deadline is refused before the payment is settled (deadline_too_close), nothing charged. MPP clients pay the same quote: the payment-required result also carries _meta["org.paymentauth/payment-required"] with evm charge challenges (USDG by signed transfer authorization, USDF by signature transfer); call again with the credential in _meta["org.paymentauth/credential"], and the paid result carries _meta["org.paymentauth/receipt"].

chat input schema
{
  "type": "object",
  "$schema": "http://json-schema.org/draft-07/schema#",
  "required": [
    "model",
    "messages"
  ],
  "properties": {
    "model": {
      "type": "string",
      "maxLength": 200,
      "description": "Model id from list_models"
    },
    "payment": {
      "anyOf": [
        {
          "type": "string",
          "maxLength": 16384
        },
        {
          "type": "object",
          "propertyNames": {
            "type": "string"
          },
          "additionalProperties": {}
        }
      ],
      "description": "With no key: the x402 payment for this call's quote, as the PAYMENT-SIGNATURE value (base64 JSON) or the payload object; _meta[\"x402/payment\"] and the PAYMENT-SIGNATURE header are read too"
    },
    "messages": {
      "type": "array",
      "items": {},
      "maxItems": 256,
      "description": "Chat messages in the OpenAI format: objects with a role (system, user, assistant or tool) and content (text, or an array of content parts)"
    },
    "max_tokens": {
      "type": "number",
      "description": "Output token budget, a positive integer; defaults to the model's default_max_output, capped at max_output"
    },
    "temperature": {
      "type": "number",
      "description": "Sampling temperature, 0 to 2"
    }
  }
}
chat annotations
{
  "readOnlyHint": false,
  "openWorldHint": true,
  "idempotentHint": false,
  "destructiveHint": false
}
balance — Balance
Advertised by the server during the last successful anonymous check.
Advertised read-only

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. With address instead, and no key: that wallet's USDF and USDG on the chain now, and how much USDF it lets the signature-transfer contract spend, which x402 payments come from.

balance input schema
{
  "type": "object",
  "$schema": "http://json-schema.org/draft-07/schema#",
  "properties": {
    "address": {
      "type": "string",
      "maxLength": 64,
      "description": "A wallet address (0x...): its USDF and USDG on the chain, with no key"
    }
  }
}
balance annotations
{
  "readOnlyHint": true,
  "openWorldHint": false
}
receipt — Receipt
Advertised by the server during the last successful anonymous check.
Advertised read-only

With the API key that made the request: its receipt, with the usage, the price sheet version, the cost and, once settled, the settlement, its transaction and the rows behind the onchain digest. With no key: the public receipt of any request id, x402 ones included, with its line in the usage log, the payment, the settlement and where its proof is (GET /x402/v1/receipts/{id}).

receipt input schema
{
  "type": "object",
  "$schema": "http://json-schema.org/draft-07/schema#",
  "required": [
    "request_id"
  ],
  "properties": {
    "request_id": {
      "type": "string",
      "maxLength": 128,
      "description": "The id returned with the completion (also the x-request-id header)"
    }
  }
}
receipt annotations
{
  "readOnlyHint": true,
  "openWorldHint": false
}

Prompts

Not advertised

No prompt definitions available.

Resources

Not advertised

No resource definitions available.

90-day uptime

A lightweight connection check about every six hours, sampled on hosts with many listings. It shows the server answered, not that its tools work.

100% (29 of 29 checks answered)

  1. 2026-11-18: 5 of 5 checks answered
  2. 2026-11-19: 4 of 4 checks answered
  3. 2026-11-20: 3 of 3 checks answered
  4. 2026-11-21: 4 of 4 checks answered
  5. 2026-11-22: 4 of 4 checks answered
  6. 2026-11-23: 3 of 3 checks answered
  7. 2026-11-24: 4 of 4 checks answered
  8. 2026-11-25: 2 of 2 checks answered

30-day availability

Aggregated from read-only remote checks; this is not a tool-execution or security guarantee.

Successful checks
2 of 2 (100%)
Average latency
1005 ms
95th percentile latency
1523 ms

Maintenance history

Public check and source-refresh events. Editorial and ownership records remain private.

  • · probe · passed · 430 ms · 10 tool(s)
  • · probe · passed · 1580 ms · metadata changed · 10 tool(s)

Connect from your client

Each snippet registers the same endpoint; pick the client you use.

This server is operated by the named third party. Listing and endpoint checks are not an endorsement or a security audit. Review the operator's permissions, terms, and data handling before connecting. How listings are checked and corrected.

Claude Code

Run this once in a terminal. It registers the remote server. Use --scope project to write .mcp.json for the repo.
Claude Code configuration
claude mcp add --transport http usdf-foundry-mcp https://api.usdf.fi/mcp

Codex

Run this once. Codex stores MCP servers in ~/.codex/config.toml (or .codex/config.toml in a trusted project).
Codex configuration
codex mcp add usdf-foundry-mcp --url https://api.usdf.fi/mcp

Cursor

Merge this server into .cursor/mcp.json in your project, then enable usdf-foundry-mcp in your MCP settings.
Cursor configuration
{
  "mcpServers": {
    "usdf-foundry-mcp": {
      "url": "https://api.usdf.fi/mcp"
    }
  }
}

Cline

Merge this into cline_mcp_settings.json (Cline → MCP Servers → Configure).
Cline configuration
{
  "mcpServers": {
    "usdf-foundry-mcp": {
      "type": "streamableHttp",
      "url": "https://api.usdf.fi/mcp",
      "disabled": false
    }
  }
}

VS Code

Merge this server into .vscode/mcp.json. Use MCP: List Servers to start usdf-foundry-mcp and inspect its tools.
VS Code configuration
{
  "servers": {
    "usdf-foundry-mcp": {
      "type": "http",
      "url": "https://api.usdf.fi/mcp"
    }
  }
}

Gemini CLI

Run this once. It writes .gemini/settings.json in the current project; pass --scope user for ~/.gemini/settings.json.
Gemini CLI configuration
gemini mcp add --transport http usdf-foundry-mcp https://api.usdf.fi/mcp

Claude Desktop

Open Claude Settings > Connectors > Add custom connector, enter this server URL and enable it for the conversation. This is a manual remote-connector handoff, not a desktop JSON configuration.
Claude Desktop configuration
https://api.usdf.fi/mcp

Windsurf

Merge this into ~/.codeium/windsurf/mcp_config.json, then refresh MCP in Cascade. Windsurf remote servers use serverUrl, not url.
Windsurf configuration
{
  "mcpServers": {
    "usdf-foundry-mcp": {
      "serverUrl": "https://api.usdf.fi/mcp"
    }
  }
}

Let your agent find its tools

Find servers like USDF Foundry MCP from your agent. Add Koskamo once to search the index for endpoints, access requirements, and client setup. Public discovery needs no key.

Do you run USDF Foundry MCP?

Prove ownership with a DNS record, a well-known file, or your Official MCP Registry entry, and your edits publish immediately. Proofs are re-checked weekly; admins can still hide or remove a listing.

Claim this listing