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 分