X402engine MCP Server
by agentc22io.github.agentc22/x402engine-mcpv1.0.3
50+ pay-per-call APIs for AI agents — images, LLM, code, crypto, travel & more via x402
context tax
queued
security
queued
cold start
queued
freshness
Maintained3mo ago
Install X402engine MCP server
Install in Claude Code
claude mcp add x402engine -e X402_DEV_BYPASS='<x402-dev-bypass>' -e X402_PAYMENT_HEADER='<x402-payment-header>' -- npx -y x402engine-mcpInstall in Cursor
{
"mcpServers": {
"x402engine": {
"command": "npx",
"args": [
"-y",
"x402engine-mcp"
],
"env": {
"X402_DEV_BYPASS": "<x402-dev-bypass>",
"X402_PAYMENT_HEADER": "<x402-payment-header>"
}
}
}
}Add to ~/.cursor/mcp.json (global) or .cursor/mcp.json (project).
Install in Claude Desktop
{
"mcpServers": {
"x402engine": {
"command": "npx",
"args": [
"-y",
"x402engine-mcp"
],
"env": {
"X402_DEV_BYPASS": "<x402-dev-bypass>",
"X402_PAYMENT_HEADER": "<x402-payment-header>"
}
}
}
}Settings → Developer → Edit Config (claude_desktop_config.json), then restart.
Install in VS Code
{
"servers": {
"x402engine": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"x402engine-mcp"
],
"env": {
"X402_DEV_BYPASS": "<x402-dev-bypass>",
"X402_PAYMENT_HEADER": "<x402-payment-header>"
}
}
}
}Add to .vscode/mcp.json in your workspace.
Install in Windsurf
{
"mcpServers": {
"x402engine": {
"command": "npx",
"args": [
"-y",
"x402engine-mcp"
],
"env": {
"X402_DEV_BYPASS": "<x402-dev-bypass>",
"X402_PAYMENT_HEADER": "<x402-payment-header>"
}
}
}
}Add to ~/.codeium/windsurf/mcp_config.json.
Configuration
| Variable | Required | Secret | Description |
|---|---|---|---|
| X402_BASE_URL | — | — | Gateway URL (default: https://x402engine.app) |
| X402_DEV_BYPASS | — | yes | Dev bypass secret to skip payments during testing |
| X402_PAYMENT_HEADER | — | yes | Pre-signed x402 payment header for automatic payment |
Freshness
Maintained — last maintenance signal 3mo ago. The newest of the signals below sets the band.
Last commit (default branch)
2026-07-25 · 3mo ago · GitHub
Latest release
no data · GitHub
Package published
no data · npm/PyPI
Registry entry updated
2026-02-11 · 8mo ago · official registry · v1.0.3
FAQ
›How do I install the X402engine MCP server in Claude Code?
Run: claude mcp add x402engine -e X402_DEV_BYPASS='<x402-dev-bypass>' -e X402_PAYMENT_HEADER='<x402-payment-header>' -- npx -y x402engine-mcp. For Cursor, VS Code, Claude Desktop and Windsurf, use the install tabs above.
›Does X402engine require an API key?
Yes. It expects X402_DEV_BYPASS, X402_PAYMENT_HEADER, of which 2 are secrets.
›Can I use X402engine as a remote (hosted) MCP server?
No hosted endpoint is published; it runs locally over stdio.
›Is X402engine in the official MCP registry?
Yes, as io.github.agentc22/x402engine-mcp.
Alternatives to X402engine
Other ai & llm tools MCP servers.