xPay
Verified Safeby dimitrov-d
Overview
Monetize existing HTTP endpoints into paid microservices and expose them as AI-native Model Context Protocol (MCP) tools on Solana.
Installation
npm run devEnvironment 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
bifrost
A high-performance AI gateway with a unified interface for multiple providers, offering real-time monitoring, configuration management, and comprehensive observability for AI infrastructure.
lunar
A Model Context Protocol (MCP) server that acts as a control plane for AI agents and tools, providing management, access control, and observability for AI API calls.
metorial-platform
The Metorial Platform is an open source integration platform for agentic AI, designed to connect any AI model to thousands of APIs, data sources, and tools with a single function call, built to scale for enterprise-grade AI applications.
mockloop-mcp
Provides a comprehensive platform for generating and managing mock API servers with AI-driven test generation, scenario management, proxy capabilities, and robust monitoring and auditing features.