Skip to main content
Glama

X402 MCP Template

by CodaLabs-xyz
package.jsonโ€ข891 B
{ "name": "x402-mcp-template", "version": "1.0.0", "description": "MCP server template for consuming X402-protected APIs with gasless micropayments", "type": "module", "bin": { "x402-mcp-template": "build/index.js" }, "main": "./build/index.js", "scripts": { "build": "tsc && chmod +x build/index.js", "prepare": "npm run build", "dev": "tsx watch index.ts", "inspector": "npx @modelcontextprotocol/inspector build/index.js" }, "keywords": [ "x402", "mcp", "micropayments", "claude", "ai-agent", "api-client" ], "author": "", "license": "MIT", "dependencies": { "@modelcontextprotocol/sdk": "^1.18.2", "axios": "^1.12.2", "dotenv": "^16.4.7", "viem": "^2.37.9", "x402-axios": "^0.6.5" }, "devDependencies": { "@types/node": "^22.10.6", "tsx": "^4.19.2", "typescript": "^5.7.2" } }

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/CodaLabs-xyz/Template-x402-Mcp'

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