Koskamo

x402-mcp

An open-source MCP server that auto-discovers over 100 x402-paid APIs from CDP Bazaar, enabling AI agents to execute tools with automatic USDC micropayments across multi-chain networks like Base and Solana. It supports agentic commerce workflows, handles HTTP 402 responses, and integrates with clients like Claude and Cursor.

Package and access

Local package with source-attributed installation metadata. Koskamo does not execute packages during review.

x402-mcp logo, by x402nodeCommunity listingLocal stdioSource reviewed; not executedPublished by x402node
You need:Set X402_PRIVATE_KEY to a Base EOA private key (hex, 0x-prefixed) with USDC on Base mainnet
Vendor documentation

What you can do with it

  • Auto-discover and execute paid APIs from CDP Bazaar
  • Handle USDC micropayments via x402 protocol
  • Enable agentic commerce and autonomous workflows
  • Integrate with Claude, Cursor, and MCP-aware clients

Source and maintenance

Community listingRegistry 1.0.4
Maintenance checked

Packages and installation

Source-provided package data. Koskamo has not executed or live-probed this package.

x402node-mcp 1.0.4

npm
x402node-mcp package definition
{
  "version": "1.0.4",
  "transport": "stdio",
  "identifier": "x402node-mcp",
  "registryType": "npm",
  "environmentVariables": [
    {
      "name": "X402_PRIVATE_KEY",
      "format": "string",
      "isRequired": true,
      "description": "Base EOA private key (hex, 0x-prefixed) with USDC for signing x402 payments"
    }
  ]
}

Tools

Reported by the attributed source; not independently observed by Koskamo.

No tool definitions available.

Connect from your client

Each snippet configures the same source-provided package; replace placeholders before use.

This server is operated by the named third party. Listing and endpoint checks are not an endorsement or a security audit. Review the operator's permissions, terms, and data handling before connecting. How listings are checked and corrected.

Cursor

Merge this local stdio configuration, replace every placeholder environment value, and restart Cursor. Koskamo has not executed this package.
Cursor configuration
{
  "mcpServers": {
    "x402-mcp-x402node-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "x402node-mcp@1.0.4"
      ],
      "env": {
        "X402_PRIVATE_KEY": "<YOUR_X402_PRIVATE_KEY>"
      }
    }
  }
}

Cline

Merge this local stdio configuration, replace every placeholder environment value, and restart Cline. Koskamo has not executed this package.
Cline configuration
{
  "mcpServers": {
    "x402-mcp-x402node-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "x402node-mcp@1.0.4"
      ],
      "env": {
        "X402_PRIVATE_KEY": "<YOUR_X402_PRIVATE_KEY>"
      }
    }
  }
}

VS Code

Merge this local stdio configuration, replace every placeholder environment value, and restart VS Code. Koskamo has not executed this package.
VS Code configuration
{
  "servers": {
    "x402-mcp-x402node-mcp": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "x402node-mcp@1.0.4"
      ],
      "env": {
        "X402_PRIVATE_KEY": "<YOUR_X402_PRIVATE_KEY>"
      }
    }
  }
}

Claude Desktop

Merge this local stdio configuration, replace every placeholder environment value, and restart Claude Desktop. Koskamo has not executed this package.
Claude Desktop configuration
{
  "mcpServers": {
    "x402-mcp-x402node-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "x402node-mcp@1.0.4"
      ],
      "env": {
        "X402_PRIVATE_KEY": "<YOUR_X402_PRIVATE_KEY>"
      }
    }
  }
}

Let your agent find its tools

Find servers like x402-mcp from your agent. Add Koskamo once to search the index for endpoints, access requirements, and client setup. Public discovery needs no key.