Back to Home
Cronos402 icon

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

Run Command
pnpm dev

Environment 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

Stats

Interest Score0
Security Score3
Cost ClassMedium
Stars0
Forks0
Last Update2026-01-16

Tags

CronosMCPPayment GatewayAI ServicesWeb App