Skip to content
MCP server

XDC AI

Wallet and x402 payment tools for AI agents paying in USDC on XDC

Install

XDC AI is an MCP server for finance and payments. It runs as a hosted remote server, so there is nothing to install locally.

Platforms
API
Runs
Remotely
Version
1.0.0
Listing updated

Similar MCP servers

Install

Add with the CLI

Run in a terminal

claude mcp add --transport http xdc-ai https://api.xdcai.tech/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": {
    "xdc-ai": {
      "type": "http",
      "url": "https://api.xdcai.tech/mcp"
    }
  }
}

Claude Code setup guide

In Customize → Connectors → Add → Add custom connector

https://api.xdcai.tech/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": {
    "xdc-ai": {
      "url": "https://api.xdcai.tech/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": {
    "xdc-ai": {
      "type": "http",
      "url": "https://api.xdcai.tech/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://api.xdcai.tech/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 xdc-ai --url https://api.xdcai.tech/mcp

Or add to config.toml

Add to ~/.codex/config.toml

[mcp_servers.xdc-ai]
url = "https://api.xdcai.tech/mcp"

Codex setup guide

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

https://api.xdcai.tech/mcp

Enter a Name (for example "XDC AI"), 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": {
    "xdc-ai": {
      "type": "http",
      "url": "https://api.xdcai.tech/mcp"
    }
  }
}
  • Gemini CLI and Antigravity

    Gemini CLI

    Add to ~/.gemini/settings.json

    {
      "mcpServers": {
        "xdc-ai": {
          "httpUrl": "https://api.xdcai.tech/mcp"
        }
      }
    }

    Or run: gemini mcp add -s user --transport http xdc-ai https://api.xdcai.tech/mcp

    Antigravity

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

    {
      "mcpServers": {
        "xdc-ai": {
          "serverUrl": "https://api.xdcai.tech/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": {
        "xdc-ai": {
          "url": "https://api.xdcai.tech/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": {
        "xdc-ai": {
          "type": "streamableHttp",
          "url": "https://api.xdcai.tech/mcp"
        }
      }
    }

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

    Cline setup guide

  • Zed

    Add to Zed settings.json

    {
      "context_servers": {
        "xdc-ai": {
          "url": "https://api.xdcai.tech/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": {
        "xdc-ai": {
          "url": "https://api.xdcai.tech/mcp"
        }
      }
    }

    Junie

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

    {
      "mcpServers": {
        "xdc-ai": {
          "url": "https://api.xdcai.tech/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": {
        "xdc-ai": {
          "url": "https://api.xdcai.tech/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 XDC AI

XDC AI gives an AI agent its own wallet so it can pay for x402-gated APIs in USDC on the XDC network without a human approving each request. Spending is bounded by on-chain limits set for the wallet, so an agent can only transact within the allowance it was given.

The server is reached over streamable HTTP at a hosted endpoint, so an MCP-compatible client can connect to it without installing local packages. Once connected, the agent can call paid APIs and have the payment settled automatically in the background.

It suits developers building autonomous agents that need to consume pay-per-request APIs and want spending controls enforced on-chain rather than in application code.

What it does

Agent wallet
Gives an AI agent a wallet it can use to hold and send USDC on XDC.
Automatic x402 payments
Settles payment for x402-gated API calls without manual confirmation at each step.
On-chain spending limits
Caps what the agent can spend using limits enforced by the blockchain.
Hosted MCP endpoint
Connects to MCP clients over streamable HTTP with no local package install.

Good for

  • Letting an autonomous agent pay for pay-per-call APIs in USDC
  • Running agent workflows that need budgeted spending without per-transaction approval
  • Adding micropayment capability to an MCP-based agent on the XDC network

XDC AI FAQ

What currency do agents pay in?

Payments are made in USDC on the XDC network.

How is spending controlled?

Spending is kept within limits enforced on-chain for the agent's wallet.

How does a client connect?

Through a streamable HTTP MCP endpoint hosted at api.xdcai.tech.

How do I add XDC AI to Claude Code?

Run this command in your terminal: claude mcp add --transport http xdc-ai https://api.xdcai.tech/mcp

What are the best alternatives to XDC AI?

The closest alternatives to XDC AI are x402 Wallet, X402 Payagent MCP, three.ws Agent Wallet, x402 Trinity and X402 Gateway.

Where this comes from

  • Description: written from its MCP Registry entry.
  • Install steps: from the official MCP Registry entry.

How AIPoweredBot checks servers