mossgate-mcp — Claude Code MCP server: risk checks and rendering
Gives an agent tools to assess token and wallet risk, then turn a URL or HTML into a PDF, PNG, or JPEG. API calls spend USDC from the operator’s wallet.
claude mcp add mossgate-mcp -e MOSSGATE_BUYER_PK=<MOSSGATE_BUYER_PK> -- npx -y mossgate-mcpWhat mossgate-mcp does
The server exposes four tools: a quick token verdict, a wallet behaviour profile, a full token report, and page rendering. Rendered files come back as Base64. It communicates with MCP clients over stdio.
You need Node.js 18+ and a wallet funded with USDC on Base. The facilitator covers gas, so the wallet does not need ETH. Each API call spends USDC from that wallet; without funds, paid requests cannot run. Pass the private key through MOSSGATE_BUYER_PK and keep it out of the repository. Run the package with npx, or install from mcp-server with npm install and start it using node index.js.
What it helps with
- check a token contract’s risk
- inspect a wallet’s behavioural risk profile
- request a full token report
- render a URL or HTML as PDF, PNG, or JPEG
Example prompts for the agent
- Check the risk of token contract
0x…on Base. - Get a risk profile for wallet
0x…on Base. - Render this page as a PDF and return the file.
How to install mossgate-mcp
Platform CLI
claude mcp add mossgate-mcp -e MOSSGATE_BUYER_PK=<MOSSGATE_BUYER_PK> -- npx -y mossgate-mcpReplace <…> with your own values
Platform CLI
codex mcp add mossgate-mcp --env MOSSGATE_BUYER_PK=<MOSSGATE_BUYER_PK> -- npx -y mossgate-mcpReplace <…> with your own values
Config file
{
"mcpServers": {
"mossgate-mcp": {
"command": "npx",
"args": [
"-y",
"mossgate-mcp"
],
"env": {
"MOSSGATE_BUYER_PK": "<MOSSGATE_BUYER_PK>"
}
}
}
}Replace <…> with your own values
Config file
{
"servers": {
"mossgate-mcp": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"mossgate-mcp"
],
"env": {
"MOSSGATE_BUYER_PK": "<MOSSGATE_BUYER_PK>"
}
}
}
}Replace <…> with your own values
Platform CLI
gemini mcp add -e MOSSGATE_BUYER_PK=<MOSSGATE_BUYER_PK> mossgate-mcp npx -y mossgate-mcpReplace <…> with your own values
Step by step, with commands for each platform: How to add an MCP server to Claude Code, Codex, Cursor, VS Code, Gemini CLI and more
Questions about mossgate-mcp
How do I install mossgate-mcp in Claude Code?
Set MOSSGATE_BUYER_PK to your wallet’s private key, then run claude mcp add mossgate-mcp -e MOSSGATE_BUYER_PK=<MOSSGATE_BUYER_PK> -- npx -y mossgate-mcp. The wallet needs USDC on Base for paid API calls.
What does mossgate-mcp do?
It gives an MCP agent tools for token and wallet risk checks, plus URL and HTML rendering to PDF, PNG, or JPEG. API calls are paid from the operator’s USDC wallet.
Which network and token do paid calls require?
Fund the wallet with USDC on Base. ETH is not needed for gas; the facilitator covers it.