Skip to content
MCP server

x402 Agent Toolkit — Quant Arb, TWSE & Agent Security

Pay-per-call x402 MCP tools for trading data, Taiwan AI supply chain and agent security

x402 Agent Toolkit — Quant Arb, TWSE & Agent Security is a paid MCP server for security. It runs as a hosted remote server, so there is nothing to install locally.

Pricing
Paid
Platforms
API, Web
Runs
Remotely
Version
3.4.0
Listing updated

Similar MCP servers

Install

You install MCP servers on a computer. Send yourself the link.

Add with the CLI

Run in a terminal

claude mcp add --transport http x402-agent-toolkit https://x402-agent-toolkit.x402-edge-tools.workers.dev/mcp

Add --scope user to use it in every project, or --scope project to share it in .mcp.json.

Or share it with your project

Add to .mcp.json

{
  "mcpServers": {
    "x402-agent-toolkit": {
      "type": "http",
      "url": "https://x402-agent-toolkit.x402-edge-tools.workers.dev/mcp"
    }
  }
}

Claude Code setup guide

In Customize → Connectors → Add → Add custom connector

https://x402-agent-toolkit.x402-edge-tools.workers.dev/mcp

Paste this URL, choose how to sign in, then click Add and Connect. On Team and Enterprise an Owner adds it in Organization settings → Connectors.

Claude Desktop setup guide

Install in CursorOpens Cursor, which asks you to confirm. Or add it by hand:

Add to ~/.cursor/mcp.json

{
  "mcpServers": {
    "x402-agent-toolkit": {
      "url": "https://x402-agent-toolkit.x402-edge-tools.workers.dev/mcp"
    }
  }
}

Use .cursor/mcp.json in a project to share it with the project.

Cursor setup guide

Install in VS CodeOpens VS Code, which asks you to confirm. Or add it by hand:

Add to ~/.copilot/mcp-config.json

{
  "mcpServers": {
    "x402-agent-toolkit": {
      "type": "http",
      "url": "https://x402-agent-toolkit.x402-edge-tools.workers.dev/mcp"
    }
  }
}

Or put the same entry in .mcp.json at your workspace root to share it.

VS Code setup guide

In chatgpt.com → Plugins → + → Add custom MCP server

https://x402-agent-toolkit.x402-edge-tools.workers.dev/mcp

Paste this URL, set up sign-in, accept the warning and install the plugin. Then type @ in a chat to use it.

ChatGPT setup guide

Add with the CLI

Run in a terminal

codex mcp add x402-agent-toolkit --url https://x402-agent-toolkit.x402-edge-tools.workers.dev/mcp

Or add to config.toml

Add to ~/.codex/config.toml

[mcp_servers.x402-agent-toolkit]
url = "https://x402-agent-toolkit.x402-edge-tools.workers.dev/mcp"

Codex setup guide

Add to Grok Bot desktop app → Connect apps → Add a custom connector

https://x402-agent-toolkit.x402-edge-tools.workers.dev/mcp

Enter a Name (for example "x402 Agent Toolkit — Quant Arb, TWSE & Agent Security"), choose Type: Remote HTTPS, paste this as the Server URL and choose Add plugin.

Full Grok Bot setup guide

Add to your client's MCP settings (most use this shape)

{
  "mcpServers": {
    "x402-agent-toolkit": {
      "type": "http",
      "url": "https://x402-agent-toolkit.x402-edge-tools.workers.dev/mcp"
    }
  }
}
  • Gemini CLI and Antigravity

    Gemini CLI

    Add to ~/.gemini/settings.json

    {
      "mcpServers": {
        "x402-agent-toolkit": {
          "httpUrl": "https://x402-agent-toolkit.x402-edge-tools.workers.dev/mcp"
        }
      }
    }

    Or run: gemini mcp add -s user --transport http x402-agent-toolkit https://x402-agent-toolkit.x402-edge-tools.workers.dev/mcp

    Antigravity

    Add to ~/.gemini/config/mcp_config.json

    {
      "mcpServers": {
        "x402-agent-toolkit": {
          "serverUrl": "https://x402-agent-toolkit.x402-edge-tools.workers.dev/mcp"
        }
      }
    }

    Use .agents/mcp_config.json to add it to one workspace only.

    Gemini CLI and Antigravity setup guide

  • Devin Desktop (formerly Windsurf)

    Add to ~/.config/devin/mcp_config.json

    {
      "mcpServers": {
        "x402-agent-toolkit": {
          "url": "https://x402-agent-toolkit.x402-edge-tools.workers.dev/mcp",
          "transport": "http"
        }
      }
    }

    On Windows the file is %APPDATA%\devin\mcp_config.json. Use .devin/mcp_config.json to share it with a project.

    Devin Desktop setup guide

  • Cline

    Add to cline_mcp_settings.json

    {
      "mcpServers": {
        "x402-agent-toolkit": {
          "type": "streamableHttp",
          "url": "https://x402-agent-toolkit.x402-edge-tools.workers.dev/mcp"
        }
      }
    }

    Open it from the MCP Servers icon → Configure → Configure MCP Servers.

    Cline setup guide

  • Zed

    Add to Zed settings.json

    {
      "context_servers": {
        "x402-agent-toolkit": {
          "url": "https://x402-agent-toolkit.x402-edge-tools.workers.dev/mcp"
        }
      }
    }

    Open it with zed: open settings file. Merge context_servers into the settings you already have.

    Zed setup guide

  • JetBrains AI Assistant and Junie

    AI Assistant

    Add to Settings → Tools → AI Assistant → Model Context Protocol (MCP) → Add

    {
      "mcpServers": {
        "x402-agent-toolkit": {
          "url": "https://x402-agent-toolkit.x402-edge-tools.workers.dev/mcp"
        }
      }
    }

    Junie

    Add to ~/.junie/mcp/mcp.json

    {
      "mcpServers": {
        "x402-agent-toolkit": {
          "url": "https://x402-agent-toolkit.x402-edge-tools.workers.dev/mcp"
        }
      }
    }

    Use .junie/mcp/mcp.json to share it with a project.

    JetBrains AI Assistant and Junie setup guide

  • Kiro

    Add to ~/.kiro/settings/mcp.json

    {
      "mcpServers": {
        "x402-agent-toolkit": {
          "url": "https://x402-agent-toolkit.x402-edge-tools.workers.dev/mcp"
        }
      }
    }

    Use .kiro/settings/mcp.json to add it to one workspace only.

    Kiro setup guide

Using several servers? Build one config file with the MCP config generator.

About x402 Agent Toolkit — Quant Arb, TWSE & Agent Security

A remote MCP server and HTTP API where each tool call is paid in Base USDC through the x402 protocol, so an agent settles small fees per request without accounts or API keys. The catalogue spans three areas: market data for quant and trading agents, including cross-venue perpetual funding spreads on Hyperliquid and dYdX and probability gaps between Polymarket and Kalshi, plus Taiwan listed-company data pulled from official TWSE feeds.

A second group targets the risks agents face when browsing or connecting to unknown services. Tools strip hidden prompt injections from web pages, score x402 endpoints before payment, and scan remote MCP servers for poisoned tool descriptions. Utility endpoints convert pages to Markdown, audit HTTP security headers and summarise GitHub repository health.

The service runs on Cloudflare Workers and is open source under the MIT licence. It is aimed at developers building autonomous agents that need paid, machine-readable data and a way to vet other tools before trusting them.

Tools this server provides (14)

Taken from the project documentation; the running server may differ.

From the tool list in its README, going by the names, 2 of 14 tools read data; 12 names don't say.

From the server's own tool labels and tool names; not verified by us.

safe_fetchName suggests: reads
Fetch a public URL and strip hidden prompt injections, returning sanitised Markdown and a verdict.
ai_supply_chain
Taiwan AI hardware supplier data mapped to US tickers with a composite demand index.
x402_preflight
Audit an unknown x402 URL and return a 0-100 trust score.
repo_intel
GitHub repository activity, release and maintenance health with npm and PyPI metadata.
tw_stock_intel
Official TWSE daily market data, valuation ratios and monthly revenue growth.
market_signals
Polymarket orderbook signals and multi-DEX cross-pool price spreads.
deep_extract
Parse HTML tables and embedded SPA data into structured JSON.
web_to_markdown
Convert a public web page into Markdown with metadata and links.
token_checkName suggests: reads
DexScreener liquidity and GoPlus contract security risk report.
tw_institutional_flows
TWSE institutional money flows, margin and short balances.
mcp_security_scan
Scan a remote MCP server's tool descriptions for injections and exfiltration instructions.
funding_arb
Cross-venue perpetual funding-rate arbitrage scanner for Hyperliquid and dYdX v4.
prediction_arb
Polymarket and Kalshi cross-exchange probability spread scanner.
site_intel
HTTP security header, metadata, tech stack and llms.txt audit.

What it does

Pay-per-call x402 access
Each tool call settles a small USDC payment on Base mainnet, while discovery calls such as initialize and tools/list are free.
Funding and prediction arbitrage
Scans perpetual funding rates across Hyperliquid and dYdX v4 and compares Polymarket and Kalshi markets for probability spreads.
Taiwan AI supply chain data
Combines official TWSE OHLCV, revenue, valuation and institutional flow data with a mapping of 24 Taiwanese AI hardware suppliers.
Prompt injection filtering
Fetches public URLs and removes zero-width characters, hidden comments and override directives before returning sanitised Markdown with a hash.
MCP server security scanning
Inspects a remote Streamable HTTP MCP server's tool descriptions and schemas for hidden instructions and returns a risk score.
Pre-payment x402 audit
Checks an unknown x402 endpoint's payment challenge, USDC contract and payee address, and returns a trust score.

Good for

  • Letting a trading agent compare funding-rate carry across perpetual venues
  • Screening prediction market markets for cross-exchange mispricing
  • Vetting an unknown MCP server before connecting an agent to it
  • Feeding cleaned web pages to an LLM without injected instructions
  • Pulling structured Taiwan listed-company financials for research

Pricing

Paid

Pay per call in USDC; endpoints range from $0.002 to $0.03 each.

Prices change. Check x402-agent-toolkit.x402-edge-tools.workers.dev before you buy.

x402 Agent Toolkit — Quant Arb, TWSE & Agent Security FAQ

How is the server paid for?

Tool calls are paid per request in USDC on Base mainnet using the x402 protocol.

Does the server hold private keys?

It is configured only with a public payee address and the code rejects private keys in configuration.

Which MCP transport does x402 Agent Toolkit — Quant Arb, TWSE & Agent Security use?

It exposes a Streamable HTTP endpoint at /mcp.

How do I add x402 Agent Toolkit — Quant Arb, TWSE & Agent Security to Claude Code?

Run this command in your terminal: claude mcp add --transport http x402-agent-toolkit https://x402-agent-toolkit.x402-edge-tools.workers.dev/mcp

What are the best alternatives to x402 Agent Toolkit — Quant Arb, TWSE & Agent Security?

The closest alternatives to x402 Agent Toolkit — Quant Arb, TWSE & Agent Security are Tech Risk, Sage Agent x402 Tools, Nullroute x402 Agent Toolkit, Agent Toolkit and AgentX402: Pay-per-Call AI, Web Render, Search & DeFi Tools.

Where this comes from

  • Description: written from the project's README, the project's website and its MCP Registry entry.
  • Install steps: from the official MCP Registry entry.

How AIPoweredBot checks servers