Back to Home
vielhuber icon

charly

by vielhuber

Overview

A comprehensive server gateway for integrating multiple Model Context Protocol (MCP) servers with unified OAuth2 and bearer token authentication, including a web client.

Installation

Run Command
uvicorn server.mcp:app --host 0.0.0.0 --port 8000

Environment Variables

  • CLIENT_DB_HOST
  • CLIENT_DB_PORT
  • CLIENT_DB_USER
  • CLIENT_DB_PASSWORD
  • CLIENT_DB_DATABASE
  • AUTH0_BASE_URL
  • AUTH0_URL
  • AUTH0_CLIENT_ID
  • AUTH0_CLIENT_SECRET

Security Notes

The server's use of `allow_origins=["*"]` in CORS middleware is a critical security vulnerability for production environments, enabling cross-origin attacks. While `config.example.json` uses placeholders for sensitive data, the `server/mcp.py` loads secrets directly from `config.json`, which could be exposed if committed to version control. Furthermore, the `StdioTransport` executes commands and arguments specified in `config.json`, presenting a severe arbitrary command execution risk if an attacker can modify this configuration file. The dynamic loading of a Tailwind CDN script in development environments, while common, also introduces a potential (though lower) supply chain risk.

Similar Servers

Stats

Interest Score0
Security Score3
Cost ClassLow
Stars0
Forks0
Last Update2025-12-04

Tags

MCP GatewayOAuth2Bearer TokenPolyglotWeb Client