{
  "markdown": "# mossgate-mcp\n\na model context protocol (mcp) stdio server that exposes two live paid apis to\nany mcp-enabled agent:\n\n- mossgate trust (`https://api.mossgate.dev`) token and wallet risk checks\n- rue render (`https://rue.mossgate.dev`) url/html to pdf/png/jpeg\n\npayment is x402 v2, usdc on base. the operator who runs this server funds a\nwallet, and every tool call spends a little usdc from it. the wallet signs an\neip-3009 authorization gaslessly, so it needs only usdc, no eth for gas.\n\n## tools\n\n- `token_verdict(address, chain=base)` quick risk verdict for a token contract\n- `wallet_profile(address, chain=base)` behavioural risk profile for a wallet\n- `token_report(address, chain=base)` full token report\n- `render(url|html, format=pdf|png|jpeg)` render a page, returns a base64 file\n\n## install\n\n```sh\ncd mcp-server\nnpm install\n```\n\nnode 18+ is required.\n\n## fund the wallet\n\n1. create or reuse an evm wallet (any tool that gives a 0x private key).\n2. send it usdc on base (contract\n   `0x833589fcd6edb6e08f4c7c32d4f71b54bda02913`). a few dollars covers many\n   calls. no eth is needed, gas is sponsored by the facilitator.\n3. export the private key as an env var (never commit it):\n\n```sh\nexport MOSSGATE_BUYER_PK=0xyourprivatekey\n```\n\noptional overrides: `MOSSGATE_RPC` (base rpc url),\n`MOSSGATE_TRUST_URL`, `MOSSGATE_RENDER_URL`.\n\n## run standalone\n\n```sh\nMOSSGATE_BUYER_PK=0x... node index.js\n```\n\nthe server speaks mcp over stdio. it is meant to be launched by an mcp client,\nnot used by hand.\n\n## claude desktop / mcp client config\n\nadd this to your mcp client config (for claude desktop:\n`~/.config/Claude/claude_desktop_config.json` on linux, or\n`~/Library/Application Support/Claude/claude_desktop_config.json` on macos):\n\n```json\n{\n    \"mcpServers\": {\n        \"mossgate\": {\n            \"command\": \"node\",\n            \"args\": [\"/absolute/path/to/products/mcp-server/index.js\"],\n            \"env\": {\n                \"MOSSGATE_BUYER_PK\": \"0xyourprivatekey\"\n            }\n        }\n    }\n}\n```\n\nrestart the client. the four tools appear and each call is paid automatically\nfrom the funded wallet.\n\n## verify it starts (no paid calls)\n\nthis lists the tools over stdio without touching the apis or spending anything:\n\n```sh\nprintf '%s\\n' \\\n'{\"jsonrpc\":\"2.0\",\"id\":1,\"method\":\"initialize\",\"params\":{\"protocolVersion\":\"2025-06-18\",\"capabilities\":{},\"clientInfo\":{\"name\":\"probe\",\"version\":\"0\"}}}' \\\n'{\"jsonrpc\":\"2.0\",\"method\":\"notifications/initialized\"}' \\\n'{\"jsonrpc\":\"2.0\",\"id\":2,\"method\":\"tools/list\",\"params\":{}}' \\\n| node index.js\n```\n\n## run without cloning\n\nthis package is on npm, so agents and clients can run it via npx with no\nclone or install. set the `command` to `npx` and `args` to\n`[\"-y\", \"mossgate-mcp\"]` in the client config:\n\n```json\n{\n    \"mcpServers\": {\n        \"mossgate\": {\n            \"command\": \"npx\",\n            \"args\": [\"-y\", \"mossgate-mcp\"],\n            \"env\": {\n                \"MOSSGATE_BUYER_PK\": \"0xyourprivatekey\"\n            }\n        }\n    }\n}\n```\n",
  "bytes": 2994,
  "sha": "1a8813191caf3d2ae616b80b427bc0120aeb1529fa5c2d2a728fbe0da31a632d",
  "repo_slug": "mossgatehq/mossgate-mcp",
  "fonte": "repo",
  "truncated": false,
  "api": "https://agentalog.com/api/listings/mcp_dev_mossgate_mossgate_mcp_4ab7e532/readme"
}