dev.mossgate/mossgate-mcp

السجل الرسمي المالية والمدفوعات

mcp stdio server exposing mossgate trust and rue render apis with x402 usdc payment

ماذا يمكنك أن تفعل مع dev.mossgate/mossgate-mcp؟

  • token_verdict(address, chain=base) quick risk verdict for a token contract
  • wallet_profile(address, chain=base) behavioural risk profile for a wallet
  • token_report(address, chain=base) full token report
  • render(url|html, format=pdf|png|jpeg) render a page, returns a base64 file

التثبيت

أضف هذا إلى إعدادات MCP في عميلك (Claude Desktop: claude_desktop_config.json، وCursor: ‏.cursor/mcp.json، ويستخدم VS Code وغيره الصيغة نفسها «mcpServers»).

NPM package mossgate-mcp
Claude Code
claude mcp add mossgate-mcp -e 'MOSSGATE_BUYER_PK=<your mossgate_buyer_pk>' -- npx -y mossgate-mcp@0.1.1
إعداد JSON (Claude Desktop وCursor وVS Code)
{
    "mcpServers": {
        "mossgate-mcp": {
            "command": "npx",
            "args": [
                "-y",
                "mossgate-mcp@0.1.1"
            ],
            "env": {
                "MOSSGATE_BUYER_PK": "<your mossgate_buyer_pk>"
            }
        }
    }
}

متغيرات البيئة

  • MOSSGATE_BUYER_PK إلزامي سري evm private key funding x402 usdc payments on base

التوثيق

مأخوذ من ملف README للمشروع على GitHub ويُحدَّث أسبوعيًا. تفتح الروابط على GitHub.

المحتويات
  1. mossgate-mcp
  2. tools
  3. install
  4. fund the wallet
  5. run standalone
  6. claude desktop / mcp client config
  7. verify it starts (no paid calls)
  8. run without cloning

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 contract
  • wallet_profile(address, chain=base) behavioural risk profile for a wallet
  • token_report(address, chain=base) full token report
  • render(url|html, format=pdf|png|jpeg) render a page, returns a base64 file

install

cd mcp-server
npm install

node 18+ is required.

fund the wallet

  1. create or reuse an evm wallet (any tool that gives a 0x private key).
  2. send it usdc on base (contract 0x833589fcd6edb6e08f4c7c32d4f71b54bda02913). a few dollars covers many calls. no eth is needed, gas is sponsored by the facilitator.
  3. export the private key as an env var (never commit it):
export MOSSGATE_BUYER_PK=0xyourprivatekey

optional overrides: MOSSGATE_RPC (base rpc url), MOSSGATE_TRUST_URL, MOSSGATE_RENDER_URL.

run standalone

MOSSGATE_BUYER_PK=0x... node index.js

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

{
    "mcpServers": {
        "mossgate": {
            "command": "node",
            "args": ["/absolute/path/to/products/mcp-server/index.js"],
            "env": {
                "MOSSGATE_BUYER_PK": "0xyourprivatekey"
            }
        }
    }
}

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:

printf '%s\n' \
'{"jsonrpc":"2.0","id":1,"method":"initialize","params":{"protocolVersion":"2025-06-18","capabilities":{},"clientInfo":{"name":"probe","version":"0"}}}' \
'{"jsonrpc":"2.0","method":"notifications/initialized"}' \
'{"jsonrpc":"2.0","id":2,"method":"tools/list","params":{}}' \
| node index.js

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:

{
    "mcpServers": {
        "mossgate": {
            "command": "npx",
            "args": ["-y", "mossgate-mcp"],
            "env": {
                "MOSSGATE_BUYER_PK": "0xyourprivatekey"
            }
        }
    }
}

الأسئلة الشائعة

ما هو dev.mossgate/mossgate-mcp؟

mcp stdio server exposing mossgate trust and rue render apis with x402 usdc payment

كيف أثبّت dev.mossgate/mossgate-mcp؟

يعمل على جهازك. في Claude Code: claude mcp add mossgate-mcp -e 'MOSSGATE_BUYER_PK=<your mossgate_buyer_pk>' -- npx -y mossgate-mcp@0.1.1. وفي العملاء الآخرين، الصق إعداد JSON من هذه الصفحة في إعدادات MCP الخاصة بهم.

هل يحتاج dev.mossgate/mossgate-mcp إلى مفتاح API؟

نعم. يتطلب MOSSGATE_BUYER_PK، وتضبطها في إعداداته.

هل dev.mossgate/mossgate-mcp مفتوح المصدر؟

شيفرته علنية على GitHub، لكن المستودع لا يعلن ترخيصًا قياسيًا.

من يصون dev.mossgate/mossgate-mcp؟

ينشره mossgatehq. يدرجه AI.tn لكنه لا يصونه ولا يوصي به.

من سجل MCP الرسمي. الإدراج ليس توصية: راجع شيفرة الخادم وصلاحياته قبل منحه الوصول إلى بياناتك.