TrustAI Pay MCP
An official MCP server for trustai.center that enables AI agents to perform pay-per-use LLM inference using crypto payments (USDC/USDT) via x402 or prepaid keys. It provides tools for listing models, checking prices, managing balances, setting spend caps, and executing chat completions across hundreds of models.
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.
https://pay.trustai.center/mcpWhat you can do with it
- List available LLM models and trending options
- Quote costs for specific model requests
- Manage agent spending caps and usage limits
- Execute chat completions with crypto payment
Source and maintenance
Protocol and capabilities
- Server
- trustai-pay 1.4.0
- MCP protocol
- 2025-06-18
- Tools
- 11 advertised
- Resources
- Not advertised
- Resource templates
- Not advertised
- Prompts
- Not advertised
{
"tools": {
"listChanged": false
}
}Server-provided instructions
Untrusted server output shown for inspection. It is not Koskamo guidance and is excluded from knowledge search.
Tools
11 advertised
list_models
List servable text chat models with USD prices (pricing.vs_list vs maker list price). Pass include=discovery to also see image/video models (servable:false). Filter by modality, max output price, text search; sort by popularity or price.
{
"type": "object",
"properties": {
"q": {
"type": "string"
},
"sort": {
"enum": [
"popularity",
"price",
"price_desc",
"name"
],
"type": "string"
},
"limit": {
"type": "number",
"default": 50
},
"include": {
"enum": [
"discovery"
],
"type": "string",
"description": "Also list image/video/other models that are not servable here (servable:false)"
},
"modality": {
"enum": [
"text",
"image",
"video",
"audio",
"embedding",
"rerank",
"other"
],
"type": "string"
},
"max_price": {
"type": "number",
"description": "Max USD per 1M output tokens (or per unit for media)"
}
}
}list_trending
Featured trending models with prices (ranked by recent tokens served when available, otherwise a curated ranking; see ranking field).
{
"type": "object",
"properties": {
"limit": {
"type": "number",
"default": 10
}
}
}quote
Price check before paying: worst-case USD cost and exact x402 amount for a model + max_tokens (+ optional messages or input_tokens), with up to 3 cheaper trending alternatives. No key needed, never charges.
{
"type": "object",
"required": [
"model"
],
"properties": {
"model": {
"type": "string"
},
"messages": {
"type": "array",
"items": {
"type": "object",
"required": [
"role",
"content"
],
"properties": {
"role": {
"type": "string"
},
"content": {
"type": "string"
}
}
}
},
"max_tokens": {
"type": "number"
},
"input_tokens": {
"type": "number"
}
}
}get_balance
Get the credit balance, spend cap and amount spent for a tai_ API key.
{
"type": "object",
"properties": {
"api_key": {
"type": "string",
"description": "tai_ key (optional if sent as Authorization: Bearer header)"
}
}
}create_topup
Create a stablecoin top-up order. Returns the deposit address, chain and the exact amount to send. Omit api_key to create a new key (returned once).
{
"type": "object",
"required": [
"pack"
],
"properties": {
"pack": {
"enum": [
1,
3,
10,
25
],
"type": "number",
"description": "Credits in USD (1 = starter pack)"
},
"chain": {
"enum": [
"base",
"solana",
"bsc"
],
"type": "string",
"default": "base"
},
"promo": {
"type": "string"
},
"api_key": {
"type": "string"
}
}
}verify_topup
Confirm a top-up after sending funds, by order id and transaction hash/signature. Credits the amount received (tolerance -0.5% or $0.01; other amounts need the sender's signature).
{
"type": "object",
"required": [
"order_id",
"tx_hash"
],
"properties": {
"tx_hash": {
"type": "string"
},
"order_id": {
"type": "string"
},
"signature": {
"type": "string"
}
}
}claim_topup
Credit a stablecoin transfer to our address that has no matching order (or a non-exact amount). Requires the sending wallet's signature of 'trustai.center claim <chain>:<tx_hash>'. Max 7 days old, each tx once. Omit api_key to get a new key.
{
"type": "object",
"required": [
"chain",
"tx_hash"
],
"properties": {
"chain": {
"enum": [
"base",
"solana",
"bsc"
],
"type": "string"
},
"api_key": {
"type": "string"
},
"tx_hash": {
"type": "string"
},
"signature": {
"type": "string"
}
}
}set_cap
Set spend controls on a tai_ key: total spend cap, daily limit (UTC day) and per-request max, in USD. Omit a field to keep it, pass null to remove it.
{
"type": "object",
"properties": {
"api_key": {
"type": "string"
},
"spend_cap_usd": {
"type": [
"number",
"null"
]
},
"daily_limit_usd": {
"type": [
"number",
"null"
]
},
"per_request_max_usd": {
"type": [
"number",
"null"
]
}
}
}get_usage
Usage and audit log for a tai_ key: recent charges (model, tokens, cost), top-ups, last-24h totals, balance and limits.
{
"type": "object",
"properties": {
"limit": {
"type": "number",
"default": 50
},
"api_key": {
"type": "string"
}
}
}get_stats
Public platform stats from our database (tokens and requests in the last 24h, keys created, top models). Real numbers only.
{
"type": "object",
"properties": {}
}chat_completion
Run a chat completion billed to a tai_ key's credits.
{
"type": "object",
"required": [
"model",
"messages"
],
"properties": {
"model": {
"type": "string"
},
"api_key": {
"type": "string"
},
"messages": {
"type": "array",
"items": {
"type": "object",
"required": [
"role",
"content"
],
"properties": {
"role": {
"type": "string"
},
"content": {
"type": "string"
}
}
}
},
"max_tokens": {
"type": "number"
}
}
}Prompts
Not advertised
Resources
Not advertised
30-day availability
Aggregated from read-only remote checks; this is not a tool-execution or security guarantee.
- Successful checks
- 1 of 1 (100%)
- Average latency
- 564 ms
- 95th percentile latency
- 564 ms
Maintenance history
Public check and source-refresh events. Editorial and ownership records remain private.
- · probe · passed · 564 ms · metadata changed · 11 tool(s)
Connect from your client
Each snippet registers the same endpoint; pick the client you use.
Claude Code
claude mcp add --transport http trustai-pay-mcp https://pay.trustai.center/mcpCodex
codex mcp add trustai-pay-mcp --url https://pay.trustai.center/mcpCursor
{
"mcpServers": {
"trustai-pay-mcp": {
"url": "https://pay.trustai.center/mcp"
}
}
}Cline
{
"mcpServers": {
"trustai-pay-mcp": {
"type": "streamableHttp",
"url": "https://pay.trustai.center/mcp",
"disabled": false
}
}
}VS Code
{
"servers": {
"trustai-pay-mcp": {
"type": "http",
"url": "https://pay.trustai.center/mcp"
}
}
}Gemini CLI
gemini mcp add --transport http trustai-pay-mcp https://pay.trustai.center/mcpClaude Desktop
{
"mcpServers": {
"trustai-pay-mcp": {
"url": "https://pay.trustai.center/mcp"
}
}
}Windsurf
{
"mcpServers": {
"trustai-pay-mcp": {
"serverUrl": "https://pay.trustai.center/mcp"
}
}
}Let your agent find its tools
Find servers like TrustAI Pay MCP from your agent. Add Koskamo once to search the index for endpoints, access requirements, and client setup. Public discovery needs no key.
Other ai and machine learning servers
Do you run TrustAI Pay 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.