Back to Home
dimitrov-d icon

xPay

Verified Safe

by dimitrov-d

Overview

Monetize existing HTTP endpoints into paid microservices and expose them as AI-native Model Context Protocol (MCP) tools on Solana.

Installation

Run Command
npm run dev

Environment Variables

  • DATABASE_URL
  • JWT_SECRET
  • NEXT_PUBLIC_API_URL
  • NEXT_PUBLIC_CDP_PROJECT_ID

Security Notes

The server employs robust practices including Zod for input validation, JWTs for authentication, and Solana signature verification. It integrates Faremeter for x402 payment enforcement and uses `@modelcontextprotocol/sdk` for MCP server functionality with DNS rebinding protection. Dynamic MCP tool schemas infer types from sample data, which is generally safe. Local image storage for AI-generated content (served publicly) introduces a potential risk if `BASE_URL` is misconfigured or if malicious content could be generated and served. Overall, good security hygiene is demonstrated, but thorough configuration and monitoring are essential for production.

Similar Servers

Stats

Interest Score0
Security Score8
Cost ClassMedium
Avg Tokens500
Stars0
Forks1
Last Update2025-11-23

Tags

API monetizationx402SolanaMCPAI AgentsNo-code