Skip to main content
Glama

my-x402-mcp

MCP tool with x402 payment middleware for fetching cryptocurrency data from DexScreener.

Features

  • Payment-protected API: $0.002 USDC per call via x402

  • Network: Base Mainnet (eip155:8453)

  • Data source: DexScreener public API

  • MCP compliant: Tool metadata endpoint included

Related MCP server: AgentData MCP Server

Setup

  1. Install dependencies:

npm install
  1. Create .env file:

cp .env.example .env
  1. Run the server:

npm start

API Endpoints

GET /api/cryptodata

Fetch token data from DexScreener (payment required).

Query Parameters:

  • token (required): Token contract address

Example:

curl "http://localhost:3000/api/cryptodata?token=0x..."

Payment:

  • Price: $0.002 USDC

  • Network: Base Mainnet

  • Payment address: 0xf081ee84c0d85278a6242bc265f0b312021ebeb1

GET /mcp/tools

Get MCP tool metadata.

GET /health

Health check endpoint.

Deployment

Deploy to Vercel:

vercel

The vercel.json configuration is already set up for Express.

Response Format

{
  "token": "0x...",
  "timestamp": "2026-09-04T13:40:35.000Z",
  "pairs": [...],
  "schemaVersion": "1.0.0"
}

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections. Dates show when Glama detected each change.

No tool schema history has been recorded yet.

Maintenance

ActivityMaintained
ResponsivenessNo issues

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Connectors

Related MCP Servers

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/acceptancestronk01-sudo/my-x402-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server