
Mossgate Mcp
dev.mossgate由 mossgate.dev 發布v0.1.1更新於 Oct 24, 2026
mcp stdio server exposing mossgate trust and rue render apis with x402 usdc payment
概覽
向 MCP 代理開放付費的 Mossgate 信任與 Rue 渲染 API,每次工具呼叫以 Base 上的 USDC 結算。
- 可以做什麼
- 這是一個本機 stdio MCP 伺服器,包裝了兩個付費 HTTP API。它提供 token_verdict、wallet_profile 與 token_report 進行代幣與錢包風險檢查,以及 render,可將 URL 或 HTML 渲染成 PDF、PNG 或 JPEG 並以 base64 回傳。付款透過 x402 v2 以 Base 上的 USDC 逐次完成,由已儲值的錢包以無 gas 方式簽署。
- 適用情境
- 當助理需要隨選進行代幣或錢包風險檢查,或需要把網頁、HTML 渲染成文件與圖片,而且你願意為一個逐次付費的錢包儲值時可使用。適合可接受付費 API 存取的代理工作流程。
- 執行需求
- 需要 Node.js 18 或更新版本,由 MCP 用戶端透過 stdio 在本機執行(npm 套件 mossgate-mcp,或使用 npx)。必須以環境變數 MOSSGATE_BUYER_PK 提供已儲值的 EVM 錢包私鑰,其中需持有 Base 上的 USDC;不需要 ETH 支付 gas。可選覆寫項:MOSSGATE_RPC、MOSSGATE_TRUST_URL、MOSSGATE_RENDER_URL。需要能連線至 Mossgate API 的網路。
安裝
在 SourceWeft 中
- 開啟 儀表板中的 Mossgate Mcp,將其新增到工作區。
- 為需要使用其工具的對話啟用該服務。
Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。
其他 MCP 客戶端
參照 儲存庫 中的啟動說明。
README
mossgate-mcp
a model context protocol (mcp) stdio server that exposes two live paid apis to any mcp-enabled agent:
- mossgate trust (
https://api.mossgate.dev) token and wallet risk checks - rue render (
https://rue.mossgate.dev) url/html to pdf/png/jpeg
payment is x402 v2, usdc on base. the operator who runs this server funds a wallet, and every tool call spends a little usdc from it. the wallet signs an eip-3009 authorization gaslessly, so it needs only usdc, no eth for gas.
tools
token_verdict(address, chain=base)quick risk verdict for a token contractwallet_profile(address, chain=base)behavioural risk profile for a wallettoken_report(address, chain=base)full token reportrender(url|html, format=pdf|png|jpeg)render a page, returns a base64 file
install
node 18+ is required.
fund the wallet
- create or reuse an evm wallet (any tool that gives a 0x private key).
- send it usdc on base (contract
0x833589fcd6edb6e08f4c7c32d4f71b54bda02913). a few dollars covers many calls. no eth is needed, gas is sponsored by the facilitator. - export the private key as an env var (never commit it):
optional overrides: MOSSGATE_RPC (base rpc url),
MOSSGATE_TRUST_URL, MOSSGATE_RENDER_URL.
run standalone
the server speaks mcp over stdio. it is meant to be launched by an mcp client, not used by hand.
claude desktop / mcp client config
add this to your mcp client config (for claude desktop:
~/.config/Claude/claude_desktop_config.json on linux, or
~/Library/Application Support/Claude/claude_desktop_config.json on macos):
restart the client. the four tools appear and each call is paid automatically from the funded wallet.
verify it starts (no paid calls)
this lists the tools over stdio without touching the apis or spending anything:
run without cloning
this package is on npm, so agents and clients can run it via npx with no
clone or install. set the command to npx and args to
["-y", "mossgate-mcp"] in the client config:
來源:README.md,提交 92b12fe
工具
0版本歷史
1- v0.1.1最新Sep 16, 2026
評分
已滿足適用檢查項的 40%
該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。
- 近 30 天內可連通25 分
請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。
- 已宣告認證方式10 分
請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。
- 已列出工具15 分
請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。
- 描述必需15 分
- 圖示10 分
- 文件15 分
- 授權條款10 分
請在儲存庫或註冊中心條目中宣告授權條款。