market.mtok/mcp is an MCP server published by market.mtok, hosted at mtok.market. When last checked on 2026-11-23 it was working: it answers and lists its tools. It declares 13 tools, including get_spot, selling_guide, buying_guide, get_book, get_draws.
Spot market for AI inference tokens. Buyers pay per draw in USDC on Base; sellers host delivery.
1 connections through 5 shared values. Tap any node.
Spot prices per model: the delivered OUTPUT-token rate (USD/MTok) from affirmed on-chain draws (last price, median, draw count).
No parameters.
{
"name": "get_spot",
"description": "Spot prices per model: the delivered OUTPUT-token rate (USD/MTok) from affirmed on-chain draws (last price, median, draw count).",
"inputSchema": {
"type": "object",
"properties": {}
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}Turnkey, executable steps to put a human's spare AI capacity on mtok.market via SELLER-HOSTED delivery — run YOUR OWN relay pointed at an upstream you control (a local Ollama/vLLM model, a subscription via a CLI bridge, or a provider key) and list a tier:direct offer; buyers pay you per chunk on-chain. Gotchas baked in. supply_type filters to one path.
None yet. Changes appear after a server's second daily check.
Squares are this server's values; dots are other servers sharing them. A shared address or publisher is a lead, not proof of a common operator.
Inferred from the host name and headers: what a server runs on, not who runs it.
| Parameter | Type | Description |
|---|---|---|
| supply_type | string | Narrow the guide to one supply path: "open-weight" (a local Ollama/vLLM model), "subscription" (a CLI bridge to a plan you pay for), or "provider-key" (an API key you hold). Omit for all three. |
{
"name": "selling_guide",
"description": "Turnkey, executable steps to put a human's spare AI capacity on mtok.market via SELLER-HOSTED delivery — run YOUR OWN relay pointed at an upstream you control (a local Ollama/vLLM model, a subscription via a CLI bridge, or a provider key) and list a tier:direct offer; buyers pay you per chunk on-chain. Gotchas baked in. supply_type filters to one path.",
"inputSchema": {
"type": "object",
"properties": {
"supply_type": {
"enum": [
"open-weight",
"subscription",
"provider-key"
],
"type": "string",
"description": "Narrow the guide to one supply path: \"open-weight\" (a local Ollama/vLLM model), \"subscription\" (a CLI bridge to a plan you pay for), or \"provider-key\" (an API key you hold). Omit for all three."
}
}
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}Turnkey, executable steps to get a human cheap AI tokens and run their prompts on mtok.market: bid (read routes[]) or read the book for a tier:direct offer, then draw paid chunks from the seller's relay (pay each draw on-chain through MtokDripLedger, POST <relayEndpoint>/chunk, the relay verifies DrawPaid and serves). You need a funded wallet on Base.
No parameters.
{
"name": "buying_guide",
"description": "Turnkey, executable steps to get a human cheap AI tokens and run their prompts on mtok.market: bid (read routes[]) or read the book for a tier:direct offer, then draw paid chunks from the seller's relay (pay each draw on-chain through MtokDripLedger, POST <relayEndpoint>/chunk, the relay verifies DrawPaid and serves). You need a funded wallet on Base.",
"inputSchema": {
"type": "object",
"properties": {}
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}Open offers (asks) and bids for a model. sort=input|output ranks by that dimension.
| Parameter | Type | Description |
|---|---|---|
| sort | string | Rank by "input" (inputPricePerMTok) or "output" (outputPricePerMTok). Default output. |
| model | string | Model id as listed in the book, e.g. "llama-3.1-70b". Exact string match. Omit for every model. |
{
"name": "get_book",
"description": "Open offers (asks) and bids for a model. sort=input|output ranks by that dimension.",
"inputSchema": {
"type": "object",
"properties": {
"sort": {
"enum": [
"input",
"output"
],
"type": "string",
"description": "Rank by \"input\" (inputPricePerMTok) or \"output\" (outputPricePerMTok). Default output."
},
"model": {
"type": "string",
"description": "Model id as listed in the book, e.g. \"llama-3.1-70b\". Exact string match. Omit for every model."
}
}
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}The chain-derived draw tape: contract-paid draws indexed from MtokDripLedger events on Base. status=inProcess (DrawPaid with no terminal yet) | settled (closed by DrawAffirmed or DrawDisputed). This is the canonical delivered/receipt surface; the platform records nothing off-chain.
| Parameter | Type | Description |
|---|---|---|
| limit | integer | Max draws returned, newest first, 1..200. Default 50. |
| status | string | "inProcess" = DrawPaid with no terminal event yet; "settled" = closed by DrawAffirmed or DrawDisputed. Omit for both. |
{
"name": "get_draws",
"description": "The chain-derived draw tape: contract-paid draws indexed from MtokDripLedger events on Base. status=inProcess (DrawPaid with no terminal yet) | settled (closed by DrawAffirmed or DrawDisputed). This is the canonical delivered/receipt surface; the platform records nothing off-chain.",
"inputSchema": {
"type": "object",
"properties": {
"limit": {
"type": "integer",
"description": "Max draws returned, newest first, 1..200. Default 50."
},
"status": {
"enum": [
"inProcess",
"settled"
],
"type": "string",
"description": "\"inProcess\" = DrawPaid with no terminal event yet; \"settled\" = closed by DrawAffirmed or DrawDisputed. Omit for both."
}
}
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}Exchange fee model plus chain-derived volume: delivered volume + affirmed/disputed counts, all recomputable from MtokDripLedger events on Base (source:"chain").
No parameters.
{
"name": "get_stats",
"description": "Exchange fee model plus chain-derived volume: delivered volume + affirmed/disputed counts, all recomputable from MtokDripLedger events on Base (source:\"chain\").",
"inputSchema": {
"type": "object",
"properties": {}
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}Create an agent identity. Returns {agentId, apiKey}; send the apiKey as the x-api-key (or Authorization: Bearer) header on EVERY subsequent request to act as that agent — this transport is stateless, so it is not remembered between calls. Pass pubkey (Ed25519 SPKI PEM) if you will place signed non-custodial orders.
| Parameter | Type | Description |
|---|---|---|
| name * | string | Display name for the agent, free text, e.g. "my-ollama-seller". Not unique. |
| pubkey | string | Ed25519 public key as an SPKI PEM ("-----BEGIN PUBLIC KEY-----" ... ). Required later for signed orders; the SDK mints and publishes one for you. |
{
"name": "register",
"description": "Create an agent identity. Returns {agentId, apiKey}; send the apiKey as the x-api-key (or Authorization: Bearer) header on EVERY subsequent request to act as that agent — this transport is stateless, so it is not remembered between calls. Pass pubkey (Ed25519 SPKI PEM) if you will place signed non-custodial orders.",
"inputSchema": {
"type": "object",
"required": [
"name"
],
"properties": {
"name": {
"type": "string",
"description": "Display name for the agent, free text, e.g. \"my-ollama-seller\". Not unique."
},
"pubkey": {
"type": "string",
"description": "Ed25519 public key as an SPKI PEM (\"-----BEGIN PUBLIC KEY-----\" ... ). Required later for signed orders; the SDK mints and publishes one for you."
}
}
},
"annotations": {
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": false,
"destructiveHint": false
}
}Your agent state: open orders (offers + bids). Non-custodial — there is no platform wallet, grant, or credential vault in /me; money moves peer-to-peer on-chain, and your delivered draws are the on-chain tape (get_draws).
No parameters.
{
"name": "get_me",
"description": "Your agent state: open orders (offers + bids). Non-custodial — there is no platform wallet, grant, or credential vault in /me; money moves peer-to-peer on-chain, and your delivered draws are the on-chain tape (get_draws).",
"inputSchema": {
"type": "object",
"properties": {}
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}List capacity for sale via SELLER-HOSTED delivery (tier:"direct" — the only advertised path). Set tier:"direct" + relayEndpoint (your relay's PUBLIC HTTPS url — a cloudflared tunnel gives one free) + settlementPubkey (your seller payout EVM address on Base) and NO credentialId: you run your own relay (mtok-relay or any conforming passthrough) pointed at an upstream you control, and buyers pay each draw on-chain through MtokDripLedger (canonical relay protocol: GET /api/guides/selling, notes.directTierProtocol). After every instance behind relayEndpoint is dual-stack, add requestHashScheme:"nonce-v1"; omit it during a mixed-fleet rollout. Set a positive price; each on-chain draw pays seller plus configured platform fee, and the platform holds nothing. Your relay is REPORT-FREE: it verifies the DrawPaid event before delivery and reports nothing (the platform indexes the draw from MtokDripLedger events; the canonical tape is GET /api/chain/draws). GET /api/models/licenses is best-effort guidance, not a gate: you are responsible for the right to sell what you list. usableForSeconds is required. SIGNING: a non-custodial market requires a client-signed Ed25519 intent — the MCP server CANNOT sign (it does not hold your key); sign tier/relayEndpoint/settlementPubkey/requestHashScheme INTO the intent params. Use the mtok SDK's offer() (it signs for you), or sign the intent yourself and pass {intent, sig}.
| Parameter | Type | Description |
|---|---|---|
| sig | string | Ed25519 signature over intent, base64url. Pair with intent. |
| tier | string | Delivery tier. "direct" (seller-hosted relay) is the only one advertised. |
| model | string | Model id as listed in the book, e.g. "llama-3.1-70b". Exact string match. |
| intent | object | Pre-signed order intent (the SDK builds it). When present with sig the flat fields are ignored; the order comes from intent.params. |
| recurring | boolean | true to re-list the same block each time the window closes. Default false. |
| inputTokens | integer | Input (prompt) tokens in the block, whole tokens, e.g. 1000000 for one MTok. |
| outputTokens | integer | Output (completion) tokens in the block, whole tokens, e.g. 500000. |
| payoutAddress | string | Where seller USDC lands. Canonical EVM address on Base: 0x + 40 hex, e.g. "0x1234567890abcdef1234567890abcdef12345678". |
| relayEndpoint | string | Public HTTPS base url of your relay, e.g. "https://quiet-fox.trycloudflare.com". Buyers POST <relayEndpoint>/chunk. |
| startsInSeconds | integer | Delay before the offer window opens, seconds, 0..604800. Default 0 (open now). |
| settlementPubkey | string | Seller wallet the on-chain draw pays; for a direct offer the same wallet as payoutAddress. Canonical EVM address on Base: 0x + 40 hex, e.g. "0x1234567890abcdef1234567890abcdef12345678". |
| usableForSeconds | integer | How long buyers can draw against this offer once its window opens, seconds, 300..604800 (5 minutes to 7 days), e.g. 43200. |
| inputPricePerMTok | number | Ask price for input tokens, USD per million tokens, positive, e.g. 0.20. |
| requestHashScheme | string | Optional signed rollout marker; set only when every relay instance behind relayEndpoint is dual-stack. |
| outputPricePerMTok | number | Ask price for output tokens, USD per million tokens, positive, e.g. 0.80. |
{
"name": "place_offer",
"description": "List capacity for sale via SELLER-HOSTED delivery (tier:\"direct\" — the only advertised path). Set tier:\"direct\" + relayEndpoint (your relay's PUBLIC HTTPS url — a cloudflared tunnel gives one free) + settlementPubkey (your seller payout EVM address on Base) and NO credentialId: you run your own relay (mtok-relay or any conforming passthrough) pointed at an upstream you control, and buyers pay each draw on-chain through MtokDripLedger (canonical relay protocol: GET /api/guides/selling, notes.directTierProtocol). After every instance behind relayEndpoint is dual-stack, add requestHashScheme:\"nonce-v1\"; omit it during a mixed-fleet rollout. Set a positive price; each on-chain draw pays seller plus configured platform fee, and the platform holds nothing. Your relay is REPORT-FREE: it verifies the DrawPaid event before delivery and reports nothing (the platform indexes the draw from MtokDripLedger events; the canonical tape is GET /api/chain/draws). GET /api/models/licenses is best-effort guidance, not a gate: you are responsible for the right to sell what you list. usableForSeconds is required. SIGNING: a non-custodial market requires a client-signed Ed25519 intent — the MCP server CANNOT sign (it does not hold your key); sign tier/relayEndpoint/settlementPubkey/requestHashScheme INTO the intent params. Use the mtok SDK's offer() (it signs for you), or sign the intent yourself and pass {intent, sig}.",
"inputSchema": {
"type": "object",
"anyOf": [
{
"required": [
"intent",
"sig"
]
},
{
"required": [
"model",
"inputTokens",
"outputTokens",
"inputPricePerMTok",
"outputPricePerMTok",
"usableForSeconds",
"relayEndpoint",
"settlementPubkey",
"payoutAddress"
]
}
],
"required": [],
"properties": {
"sig": {
"type": "string",
"description": "Ed25519 signature over intent, base64url. Pair with intent."
},
"tier": {
"enum": [
"direct"
],
"type": "string",
"description": "Delivery tier. \"direct\" (seller-hosted relay) is the only one advertised."
},
"model": {
"type": "string",
"description": "Model id as listed in the book, e.g. \"llama-3.1-70b\". Exact string match."
},
"intent": {
"type": "object",
"description": "Pre-signed order intent (the SDK builds it). When present with sig the flat fields are ignored; the order comes from intent.params."
},
"recurring": {
"type": "boolean",
"description": "true to re-list the same block each time the window closes. Default false."
},
"inputTokens": {
"type": "integer",
"description": "Input (prompt) tokens in the block, whole tokens, e.g. 1000000 for one MTok."
},
"outputTokens": {
"type": "integer",
"description": "Output (completion) tokens in the block, whole tokens, e.g. 500000."
},
"payoutAddress": {
"type": "string",
"description": "Where seller USDC lands. Canonical EVM address on Base: 0x + 40 hex, e.g. \"0x1234567890abcdef1234567890abcdef12345678\"."
},
"relayEndpoint": {
"type": "string",
"description": "Public HTTPS base url of your relay, e.g. \"https://quiet-fox.trycloudflare.com\". Buyers POST <relayEndpoint>/chunk."
},
"startsInSeconds": {
"type": "integer",
"description": "Delay before the offer window opens, seconds, 0..604800. Default 0 (open now)."
},
"settlementPubkey": {
"type": "string",
"description": "Seller wallet the on-chain draw pays; for a direct offer the same wallet as payoutAddress. Canonical EVM address on Base: 0x + 40 hex, e.g. \"0x1234567890abcdef1234567890abcdef12345678\"."
},
"usableForSeconds": {
"type": "integer",
"description": "How long buyers can draw against this offer once its window opens, seconds, 300..604800 (5 minutes to 7 days), e.g. 43200."
},
"inputPricePerMTok": {
"type": "number",
"description": "Ask price for input tokens, USD per million tokens, positive, e.g. 0.20."
},
"requestHashScheme": {
"enum": [
"nonce-v1"
],
"type": "string",
"description": "Optional signed rollout marker; set only when every relay instance behind relayEndpoint is dual-stack."
},
"outputPricePerMTok": {
"type": "number",
"description": "Ask price for output tokens, USD per million tokens, positive, e.g. 0.80."
}
}
},
"annotations": {
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": false,
"destructiveHint": false
}
}Bid for a block. The bid response returns routes[] — the crossing SELLER-HOSTED offers (lowest price first), each {offerId, sellerId, relayEndpoint, settlementPubkey, requestHashScheme?, inputPricePerMTok, outputPricePerMTok, availableInputTokens, availableOutputTokens}. Pick a route and DRAW paid chunks from its relayEndpoint (pay each draw on-chain through MtokDripLedger using /api/config, POST <relayEndpoint>/chunk, then affirmDraw/disputeDraw on-chain — see buying_guide / drawFromSeller). priceOn=input|output ranks matches by one dimension. You ALWAYS need a funded wallet on Base (there is no no-wallet path). SIGNING: a non-custodial market requires a client-signed Ed25519 intent — the MCP server CANNOT sign (it does not hold your key). Use the mtok SDK's bid() (it signs for you), or sign the intent yourself and pass {intent, sig}.
| Parameter | Type | Description |
|---|---|---|
| sig | string | Ed25519 signature over intent, base64url. Pair with intent. |
| model | string | Model id as listed in the book, e.g. "llama-3.1-70b". Exact string match. |
| intent | object | Pre-signed order intent (the SDK builds it). When present with sig the flat fields are ignored; the order comes from intent.params. |
| priceOn | string | Rank crossing offers by "input" or "output" price alone. Omit to rank by the sum of both. |
| inputTokens | integer | Input (prompt) tokens in the block, whole tokens, e.g. 1000000 for one MTok. |
| outputTokens | integer | Output (completion) tokens in the block, whole tokens, e.g. 500000. |
| maxInputPricePerMTok | number | Most you will pay for input tokens, USD per million tokens, e.g. 0.25. |
| maxStartDelaySeconds | integer | Longest you will wait for an offer window to open, seconds, 0..604800. Default 0 (open now only). |
| maxOutputPricePerMTok | number | Most you will pay for output tokens, USD per million tokens, e.g. 1.00. |
{
"name": "place_bid",
"description": "Bid for a block. The bid response returns routes[] — the crossing SELLER-HOSTED offers (lowest price first), each {offerId, sellerId, relayEndpoint, settlementPubkey, requestHashScheme?, inputPricePerMTok, outputPricePerMTok, availableInputTokens, availableOutputTokens}. Pick a route and DRAW paid chunks from its relayEndpoint (pay each draw on-chain through MtokDripLedger using /api/config, POST <relayEndpoint>/chunk, then affirmDraw/disputeDraw on-chain — see buying_guide / drawFromSeller). priceOn=input|output ranks matches by one dimension. You ALWAYS need a funded wallet on Base (there is no no-wallet path). SIGNING: a non-custodial market requires a client-signed Ed25519 intent — the MCP server CANNOT sign (it does not hold your key). Use the mtok SDK's bid() (it signs for you), or sign the intent yourself and pass {intent, sig}.",
"inputSchema": {
"type": "object",
"anyOf": [
{
"required": [
"intent",
"sig"
]
},
{
"required": [
"model",
"inputTokens",
"outputTokens",
"maxInputPricePerMTok",
"maxOutputPricePerMTok"
]
}
],
"required": [],
"properties": {
"sig": {
"type": "string",
"description": "Ed25519 signature over intent, base64url. Pair with intent."
},
"model": {
"type": "string",
"description": "Model id as listed in the book, e.g. \"llama-3.1-70b\". Exact string match."
},
"intent": {
"type": "object",
"description": "Pre-signed order intent (the SDK builds it). When present with sig the flat fields are ignored; the order comes from intent.params."
},
"priceOn": {
"enum": [
"input",
"output"
],
"type": "string",
"description": "Rank crossing offers by \"input\" or \"output\" price alone. Omit to rank by the sum of both."
},
"inputTokens": {
"type": "integer",
"description": "Input (prompt) tokens in the block, whole tokens, e.g. 1000000 for one MTok."
},
"outputTokens": {
"type": "integer",
"description": "Output (completion) tokens in the block, whole tokens, e.g. 500000."
},
"maxInputPricePerMTok": {
"type": "number",
"description": "Most you will pay for input tokens, USD per million tokens, e.g. 0.25."
},
"maxStartDelaySeconds": {
"type": "integer",
"description": "Longest you will wait for an offer window to open, seconds, 0..604800. Default 0 (open now only)."
},
"maxOutputPricePerMTok": {
"type": "number",
"description": "Most you will pay for output tokens, USD per million tokens, e.g. 1.00."
}
}
},
"annotations": {
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": false,
"destructiveHint": false
}
}Cancel one of your open orders. side: offer|bid.
| Parameter | Type | Description |
|---|---|---|
| id * | string | The order id returned by place_offer / place_bid, also listed by get_me. |
| side * | string | "offer" or "bid": which book the order is on. |
{
"name": "cancel_order",
"description": "Cancel one of your open orders. side: offer|bid.",
"inputSchema": {
"type": "object",
"required": [
"side",
"id"
],
"properties": {
"id": {
"type": "string",
"description": "The order id returned by place_offer / place_bid, also listed by get_me."
},
"side": {
"enum": [
"offer",
"bid"
],
"type": "string",
"description": "\"offer\" or \"bid\": which book the order is on."
}
}
},
"annotations": {
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": true
}
}A seller's reputation: score, tier, recommendedMaxChunkUsd (the per-draw size a buyer should risk in the direct tier), plus a chain object {affirmed, disputed, deliveredUsd} folded from MtokDripLedger events (source:"chain").
| Parameter | Type | Description |
|---|---|---|
| agentId * | string | The seller agent id, as returned by register and shown as sellerId on routes[] and book offers. |
{
"name": "get_reputation",
"description": "A seller's reputation: score, tier, recommendedMaxChunkUsd (the per-draw size a buyer should risk in the direct tier), plus a chain object {affirmed, disputed, deliveredUsd} folded from MtokDripLedger events (source:\"chain\").",
"inputSchema": {
"type": "object",
"required": [
"agentId"
],
"properties": {
"agentId": {
"type": "string",
"description": "The seller agent id, as returned by register and shown as sellerId on routes[] and book offers."
}
}
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}Chain config a SELLER-HOSTED buyer needs to build the on-chain draw payment: { feeAddress, feeBps, dustThresholdUsd, chainId, usdcAddress, dripContractAddress }. Pay each draw through the MtokDripLedger contract at dripContractAddress (payDraw), then affirmDraw/disputeDraw on-chain; the seller relay verifies the DrawPaid event before delivery.
No parameters.
{
"name": "get_config",
"description": "Chain config a SELLER-HOSTED buyer needs to build the on-chain draw payment: { feeAddress, feeBps, dustThresholdUsd, chainId, usdcAddress, dripContractAddress }. Pay each draw through the MtokDripLedger contract at dripContractAddress (payDraw), then affirmDraw/disputeDraw on-chain; the seller relay verifies the DrawPaid event before delivery.",
"inputSchema": {
"type": "object",
"properties": {}
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}Spot market for AI inference tokens — NON-CUSTODIAL and SELLER-HOSTED: the platform never vaults a key, never proxies inference, and never holds money; it matches, verifies on-chain payments, prices, and tracks reputation. Delivery is always seller-hosted (tier:"direct"): the seller runs THEIR OWN relay pointed at an upstream they control, and buyers pay bounded draws in USDC on Base. Each draw goes through the MtokDripLedger contract (get_config.dripContractAddress) and the relay requires the DrawPaid event before upstream delivery; the canonical delivered tape is GET /api/chain/draws. Every live draw is paid in USDC, and every participant needs a funded EVM wallet on Base (there is no no-wallet path). register to get an agent key, then send it as the x-api-key header on EVERY subsequent request (this transport is stateless — the key is not remembered between calls). BUY flow: register -> fund a wallet on Base (USDC + a little ETH for gas; only a human can) -> place_bid -> read routes[] OR get_book -> get_config -> pay each draw on-chain through MtokDripLedger and draw through the seller relay (it verifies DrawPaid and serves report-free) -> affirmDraw on-chain when good (disputeDraw + STOP on a bad draw, max loss one draw). The mtok SDK's drawFromSeller implements the loop. SELL flow: register -> set up your inference upstream -> run mtok-relay over public HTTPS -> place_offer with tier:"direct" + relayEndpoint + settlementPubkey; your relay serves report-free. See buying_guide / selling_guide for detail. Full manual: https://mtok.market/llms.txt
Names, descriptions and schemas were written by the server and are shown as data.