← code402.dev

INDIVIDUAL MCP TOOL

code402_get_seller_invoice

Compute a seller's platform-fee invoice from settled receipts: GET /v1/sellers/{sellerId}/invoice?

code402.devnone authenticationAvailability not checked

LIVE ENDPOINT

https://mcp.code402.dev/mcp

No auth detected

Connect to this endpoint to inspect the live schema for code402_get_seller_invoice and invoke it with your own arguments.

Indexed input schema

{}

Risk classification

Potential side effects detected · medium confidence · heuristic, not a guarantee.

  • A tool name or description suggests a financial action.

Parent server

code402.dev

CONNECT WITH APPROVAL

Client installation

Review this server and its permissions before adding it. Secret placeholders must be set locally.

Codex

~/.codex/config.toml

[mcp_servers.code402-mcp-server]
url = "https://mcp.code402.dev/mcp"
enabled = true
Claude Code

.mcp.json

{
  "mcpServers": {
    "code402-mcp-server": {
      "type": "http",
      "url": "https://mcp.code402.dev/mcp"
    }
  }
}
Claude Desktop

Settings → Connectors → Add custom connector

Name: code402-mcp-server
Remote MCP URL: https://mcp.code402.dev/mcp

Add this remote URL as a custom connector in Claude Desktop. Availability depends on the user plan and workspace policy.

Cursor

.cursor/mcp.json

{
  "mcpServers": {
    "code402-mcp-server": {
      "url": "https://mcp.code402.dev/mcp"
    }
  }
}
Visual Studio Code

.vscode/mcp.json

Add to Visual Studio Code
{
  "servers": {
    "code402-mcp-server": {
      "type": "http",
      "url": "https://mcp.code402.dev/mcp"
    }
  }
}
Generic MCP

Client-specific MCP configuration

{
  "name": "code402-mcp-server",
  "transport": "streamable-http",
  "url": "https://mcp.code402.dev/mcp"
}
MCP Inspector

Run the official MCP Inspector locally and enter the indexed Streamable HTTP endpoint.

Related tools

  • code402_list_services — List services on the code402 gateway storefront (GET /v1/services): first-party APIs and third-party seller listings, each with method, URL, USDC price, and network.
  • code402_get_service — Fetch a single service from the code402 storefront by its serviceId (as returned by code402_list_services).
  • code402_probe_endpoint — Send an unpaid GET to any public https URL and report whether it answers with a valid x402 402 challenge, plus normalized terms { scheme, network, amount (USDC base units), price (dollars), payTo, asset }.
  • code402_gateway_health — Check the code402 gateway's /healthz: returns { status, service, network } where network is the settlement chain currently configured (e.
  • code402_register_seller — Register a seller on the code402 gateway (or update its name — the payout wallet is immutable once set; re-binding requires EIP-191 proof): POST /v1/sellers with { id, wallet, name }.
  • code402_create_listing — Create or update a paid listing for a registered seller: POST /v1/sellers/{sellerId}/services with { serviceId, upstream_url, price_usd, method?
  • code402_get_seller_analytics — Fetch a seller's own settlement analytics (free): GET /v1/sellers/{sellerId}/analytics.