MCP server
X402engine MCP
50+ pay-per-call APIs for AI agents — images, LLM, code, crypto, travel & more via x402
Runs locallyStatus and history
- Pricing
- Open source
- Runs
- Locally
- Version
- 1.0.3
- Listing updated
- 5 days ago
About X402engine MCP
X402engine MCP is an open-source MCP server. It runs locally on your machine and is started by your AI client.
Install
Run in a terminal
claude mcp add x402engine-mcp --env X402_DEV_BYPASS='<X402_DEV_BYPASS>' --env X402_PAYMENT_HEADER='<X402_PAYMENT_HEADER>' -- npx -y x402engine-mcpAdd to claude_desktop_config.json
{
"mcpServers": {
"x402engine-mcp": {
"command": "npx",
"args": [
"-y",
"x402engine-mcp"
],
"env": {
"X402_DEV_BYPASS": "<X402_DEV_BYPASS>",
"X402_PAYMENT_HEADER": "<X402_PAYMENT_HEADER>"
}
}
}
}Add to ~/.cursor/mcp.json
{
"mcpServers": {
"x402engine-mcp": {
"command": "npx",
"args": [
"-y",
"x402engine-mcp"
],
"env": {
"X402_DEV_BYPASS": "<X402_DEV_BYPASS>",
"X402_PAYMENT_HEADER": "<X402_PAYMENT_HEADER>"
}
}
}
}Add to .vscode/mcp.json
{
"servers": {
"x402engine-mcp": {
"type": "stdio",
"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
{
"mcpServers": {
"x402engine-mcp": {
"command": "npx",
"args": [
"-y",
"x402engine-mcp"
],
"env": {
"X402_DEV_BYPASS": "<X402_DEV_BYPASS>",
"X402_PAYMENT_HEADER": "<X402_PAYMENT_HEADER>"
}
}
}
}Add to your client's MCP settings (most use this shape)
{
"mcpServers": {
"x402engine-mcp": {
"command": "npx",
"args": [
"-y",
"x402engine-mcp"
],
"env": {
"X402_DEV_BYPASS": "<X402_DEV_BYPASS>",
"X402_PAYMENT_HEADER": "<X402_PAYMENT_HEADER>"
}
}
}
}Using several servers? Build one config file with the MCP config generator.
Configuration
X402_BASE_URLGateway URL (default: https://x402engine.app)X402_DEV_BYPASSDev bypass secret to skip payments during testingX402_PAYMENT_HEADERPre-signed x402 payment header for automatic payment
Pricing
Open source
X402engine MCP FAQ
Is X402engine MCP free?
Yes. X402engine MCP is open source, so you can use and self-host it for free.
How do I add X402engine MCP to Claude Code?
Run this command in your terminal: claude mcp add x402engine-mcp --env X402_DEV_BYPASS='<X402_DEV_BYPASS>' --env X402_PAYMENT_HEADER='<X402_PAYMENT_HEADER>' -- npx -y x402engine-mcp
Where this comes from
- Description: from the official MCP Registry entry.
- Install steps: from the official MCP Registry entry.