app
by Cronos402
Overview
This server acts as a web application and payment gateway for the Cronos blockchain, enabling users to discover and pay for AI services offered by Model Context Protocol (MCP) servers, and allowing developers to register and monetize their own MCP servers.
Installation
pnpm devEnvironment Variables
- NODE_ENV
- NEXT_PUBLIC_AUTH_URL
- NEXT_PUBLIC_MCP2_URL
- NEXT_PUBLIC_MCP_PROXY_URL
- NEXT_PUBLIC_MCP_DATA_URL
- NEXT_PUBLIC_API2_URL
- NEXT_PUBLIC_FACILITATOR_URL
- NEXT_PUBLIC_WALLETCONNECT_PROJECT_ID
- NEXT_PUBLIC_MCP_SERVER_URL
Security Notes
The `/api/mcp-proxy` endpoint acts as a forwarding proxy. It takes a `target-url` parameter, which is base64-decoded and then fetched without further host validation. This is a critical Server-Side Request Forgery (SSRF) vulnerability, allowing an authenticated attacker to make arbitrary requests from the server's context, potentially probing internal networks or sensitive external services. Additionally, while the `getValidOrigin` function attempts to restrict `Access-Control-Allow-Origin` in production, its fallback to `*` if no valid origin is found, combined with `credentials: 'include'` in fetch requests, could lead to unexpected cross-origin issues if not correctly protected by authentication at all layers. The general use of `credentials: 'include'` across various API calls increases the surface for CSRF if anti-CSRF tokens are not robustly implemented elsewhere.
Similar Servers
solana-mcp-server
A Solana MCP (Multi-Chain Protocol) server that acts as a proxy for Solana RPC requests, offering enhanced capabilities like caching, metrics, and local sBPF program testing and management.
kukapay-mcp-servers
Aggregates real-time cryptocurrency and blockchain data for AI agents and developers, spanning DeFi, trading, market analytics, and Web3 services.
solx402-mcp-server
The SOLx402 MCP Server enables AI assistants to interact with the x402 payment protocol on Solana, providing tools for service discovery, consumption, USDC payments, and access to Solana development resources.
mcp-x402
Generates X402 payment headers and looks up associated wallet addresses for internet-native payments using the Model Context Protocol.