Mtok

market.mtok由 mtok.market 發布官方發布者v1.0.1更新於 Oct 24, 2026

Spot market for AI inference tokens. Buyers pay per draw in USDC on Base; sellers host delivery.

已驗證Streamable HTTP可網頁執行金融商業與電商AI 與機器學習

概覽

AI 產生的概覽

Mtok 是遠端 MCP 伺服器,提供 AI 推論代幣現貨市場,讓助理查詢價格、訂單簿與成交紀錄,並可掛單出售或出價。

可以做什麼
依模型查詢輸出代幣現貨價格,包含最新價、中位數與成交筆數,以及交易所費率、鏈上成交量與賣家信譽評分和等級。查看某模型的公開賣單與買單,可依輸入或輸出價格排序,並檢視鏈上付費成交紀錄,依處理中或已結算狀態篩選。註冊代理身分,查看自己的未結賣單與買單。以賣家自架方式掛單出售(需中繼位址與結算位址),出價並取得可撮合路由,或取消未結訂單。使用內建的賣出與買入指南,並讀取費率位址、費率、鏈 ID 及 USDC 與合約位址等鏈上設定。
適用情境
當你希望助理了解或參與點對點的 AI 推論算力市場時使用:查詢代幣價格與賣家信譽、瀏覽訂單簿,或在 Base 上以 USDC 鏈上結算掛單出售與出價。
執行需求
遠端 streamable HTTP 端點,不需本機套件或執行環境。註冊會建立代理身分並回傳 apiKey,之後每次請求都須以 x-api-key 或 Authorization Bearer 標頭攜帶,因為此傳輸是無狀態的。可選提供 Ed25519 SPKI PEM 公鑰用於簽署訂單。買賣雙方需要 Base 錢包與 USDC 進行鏈上結算。
安裝前請注意
register 回傳的 apiKey 是每次呼叫都需提供的憑證,應妥善保密。資金以 USDC 在 Base 上點對點流動,出價與提取付費分塊會花費真實資金,賣家須提供收款位址。掛單、出價與取消會改變市場狀態。賣家須自行執行公開 HTTPS 中繼,買家會將提示詞傳送給第三方賣家中繼。README 說明此公開儲存庫是私有主儲存庫的唯讀鏡像。

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 Mtok,將其新增到工作區。
  2. 為需要使用其工具的對話啟用該服務。

Web executable,透過 Streamable HTTP。 遠端服務在工作區中設定後即可從網頁執行環境執行。

交給代理程式安裝

把這段提示詞貼上到 Claude Code、Codex、Cursor 等代理程式,或 SourceWeft 對話中。代理程式會讀取該伺服器的安裝指南,先向你展示發布者、端點和登入方式,經你同意後再把它新增到你的客戶端。金鑰不會寫進任何命令。

閱讀 https://sourceweft.com/mcp/market.mtok%2Fmcp/install.md,並按其中說明把這個 MCP 伺服器接入我的客戶端。修改任何設定之前,先告訴我它的發布者、端點和登入方式,等我確認。不要把 API 金鑰寫進命令或我會提交的檔案;問我金鑰應從哪裡取得。

檢視代理程式所依據的安裝指南

其他 MCP 客戶端

把它新增到你客戶端的 mcpServers 設定中。

{
  "mcpServers": {
    "mtok": {
      "type": "http",
      "url": "https://mtok.market/mcp"
    }
  }
}

README

mtok mcp

Discovery surface for the mtok.market MCP server. The server is hosted at https://mtok.market/mcp; this repo holds agent/mcp/server.json, llms.txt, openapi.json, and the agent skill.


Read-only public mirror. The source of truth is the private mtok.market monorepo; this repo is synced automatically. Do not open pull requests here. Home: https://mtok.market

來源:README.md,提交 1bfad53

工具

13

get_spot

Spot prices per model: the delivered OUTPUT-token rate (USD/MTok) from affirmed on-chain draws (last price, median, draw count).

無需輸入參數。

selling_guide

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.

輸入參數supply_type

buying_guide

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.

無需輸入參數。

get_book

Open offers (asks) and bids for a model. sort=input|output ranks by that dimension.

輸入參數sortmodel

get_draws

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.

輸入參數limitstatus

get_stats

Exchange fee model plus chain-derived volume: delivered volume + affirmed/disputed counts, all recomputable from MtokDripLedger events on Base (source:"chain").

無需輸入參數。

register

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.

輸入參數name必填pubkey

get_me

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

無需輸入參數。

place_offer

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

輸入參數sigtiermodelintentrecurringinputTokensoutputTokenspayoutAddressrelayEndpointstartsInSecondssettlementPubkeyusableForSeconds另有 3 個

place_bid

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

輸入參數sigmodelintentpriceOninputTokensoutputTokensmaxInputPricePerMTokmaxStartDelaySecondsmaxOutputPricePerMTok

cancel_order

Cancel one of your open orders. side: offer|bid.

輸入參數id必填side必填

get_reputation

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

輸入參數agentId必填

get_config

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.

無需輸入參數。

版本歷史

1
  1. v1.0.1最新Sep 16, 2026

評分

已滿足適用檢查項的 100%

該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。

  • 近 30 天內可連通必需25 分
  • 已宣告認證方式必需10 分
  • 已列出工具必需15 分
  • 描述必需15 分
  • 圖示10 分
  • 文件15 分
  • 授權條款10 分