M

Magneta Contract Risk

by Bosacks · io.github.Bosacks/magneta-contract-risk

Enables AI agents to request paid on-chain smart-contract risk reports and free quick flags across supported EVM chains through MCP tools.

Remote GlamaOfficial MCP Registry High confidence

Install

Add to ~/Library/Application Support/Claude/claude_desktop_config.json

Windows / Linux path
Windows: %APPDATA%\Claude\claude_desktop_config.json
Linux: ~/.config/Claude/claude_desktop_config.json
{
  "mcpServers": {
    "io-github-bosacks-magneta-contract-risk": {
      "command": "npx",
      "args": [
        "-y",
        "mcp-remote",
        "https://x402.magneta.finance/mcp"
      ]
    }
  }
}

Restart Claude Desktop to activate the new server. If the server uses OAuth (not known from registry metadata), mcp-remote opens a browser to sign in on first start and caches tokens in ~/.mcp-auth.

Add to .cursor/mcp.json (project) or ~/.cursor/mcp.json (global)

Windows / Linux path
Windows: .cursor\mcp.json (project) or %USERPROFILE%\.cursor\mcp.json (global)
Linux: .cursor/mcp.json (project) or ~/.cursor/mcp.json (global)
{
  "mcpServers": {
    "io-github-bosacks-magneta-contract-risk": {
      "url": "https://x402.magneta.finance/mcp"
    }
  }
}

Cursor usually picks up config changes automatically; if the server does not appear, reload the window.

Add to .mcp.json (project) or ~/.claude.json (global)

Windows / Linux path
Windows: .mcp.json (project) or %USERPROFILE%\.claude.json (global)
Linux: .mcp.json (project) or ~/.claude.json (global)
{
  "mcpServers": {
    "io-github-bosacks-magneta-contract-risk": {
      "type": "http",
      "url": "https://x402.magneta.finance/mcp"
    }
  }
}

The server will be available in the next Claude Code session. If the server uses OAuth, run /mcp inside Claude Code to authenticate.

Add to .vscode/mcp.json

Windows / Linux path
Windows: .vscode\mcp.json
Linux: .vscode/mcp.json
{
  "servers": {
    "io-github-bosacks-magneta-contract-risk": {
      "type": "http",
      "url": "https://x402.magneta.finance/mcp"
    }
  }
}

Reload the VS Code window to activate.

Add to ~/.codeium/windsurf/mcp_config.json

Windows / Linux path
Windows: %USERPROFILE%\.codeium\windsurf\mcp_config.json
Linux: ~/.codeium/windsurf/mcp_config.json
{
  "mcpServers": {
    "io-github-bosacks-magneta-contract-risk": {
      "serverUrl": "https://x402.magneta.finance/mcp"
    }
  }
}

Restart Windsurf (or refresh its MCP servers panel) to activate the new server.

Windsurf Next uses ~/.codeium/windsurf-next/mcp_config.json. Devin Desktop (the Windsurf rebrand) uses ~/.config/devin/mcp_config.json and imports the Windsurf file.

Add to ~/Library/Application Support/Code/User/globalStorage/saoudrizwan.claude-dev/settings/cline_mcp_settings.json

Windows / Linux path
Windows: %APPDATA%\Code\User\globalStorage\saoudrizwan.claude-dev\settings\cline_mcp_settings.json
Linux: ~/.config/Code/User/globalStorage/saoudrizwan.claude-dev/settings/cline_mcp_settings.json
{
  "mcpServers": {
    "io-github-bosacks-magneta-contract-risk": {
      "type": "streamableHttp",
      "url": "https://x402.magneta.finance/mcp"
    }
  }
}

Cline reloads cline_mcp_settings.json automatically; if the server does not appear, reload the VS Code window.

Open it from Cline's MCP Servers panel → Configure. Roo Code uses a different file and format.

Configuration

Environment variables this server reads. Secrets stay on your machine.

NameRequiredDescription
PORT No Listening port (default 3011). Default: 3011
PAY_TO Yes Receiving address for x402 payments (required).
ADERYN_BIN No Path to the aderyn 0.6.8 binary (default /home/dominique/bin/aderyn). Default: /home/dominique/bin/aderyn
PUBLIC_URL No Public HTTPS URL with no trailing slash, advertised as the MCP resource URL for Bazaar discovery.
X402_NETWORK No CAIP-2 network identifier. Default is eip155:84532 (Base Sepolia); use eip155:8453 for Base mainnet production. Default: eip155:84532
SOLANA_PAY_TO No Optional Solana receiving address. When set, the same routes and tools also accept USDC on Solana mainnet. The address must already own a USDC token account.
CDP_API_KEY_ID No Coinbase CDP API key ID. Required when FACILITATOR_URL is set to `cdp`.
FACILITATOR_URL No Either `cdp` (Coinbase CDP facilitator, which needs CDP_API_KEY_ID and CDP_API_KEY_SECRET) or an HTTP facilitator URL such as https://x402.org/facilitator (testnet).
CDP_API_KEY_SECRET No Coinbase CDP API key secret. Required when FACILITATOR_URL is set to `cdp`.

Similar servers