mcp-servers-sse
by lkm1developer
Overview
A scalable Express.js server that acts as an API gateway, hosting multiple Model Context Protocol (MCP) servers with real-time Server-Sent Events (SSE) support, route-based isolation, and JWT authentication for integrating various external APIs and tools.
Installation
npm startEnvironment Variables
- JWT_SECRET
- PORT
- SSE_PORT
- MCP_API_KEY
- SUPABASE_URL
- SUPABASE_SERVICE_ROLE_KEY
- ENCRYPTION_KEY
- TAVILY_API_KEY
- RESEND_API_KEY
- SENDER_EMAIL_ADDRESS
- REPLY_TO_EMAIL_ADDRESSES
- NOTION_TOKEN
- SLACK_ACCESS_TOKEN
- MEERKATS_API_KEY
- MEERKATS_TABLE_API_KEY
- EMAIL_SERVICE_URL
- EMAIL_API_KEY
- SCRAPPER_API_URL
- SCRAPPER_API_KEY
- JOB_INSERTER_URL
- ICYPEAS_API_KEY
- PROSPEO_API_KEY
- APOLLO_API_KEY
- HUNTER_API_KEY
- BUILTWITH_API_KEY
- NEVERBOUNCE_API_KEY
- ROCKETREACH_API_KEY
- FINDYMAIL_API_KEY
- OCEAN_API_KEY
- GOOGLE_SHEETS_API_KEY
- GOOGLE_DOCS_API_KEY
- HATCH_API_KEY
- APIFY_API_TOKEN
- GMAIL_ACCESS_TOKEN
- SMARTLEAD_API_KEY
Security Notes
1. Hardcoded Secret: The 'EMAIL_API_KEY' in 'servers/meerkats/adapter.js' is hardcoded ('jhfgkjghtucvfg'), posing a critical security risk. 2. Unencrypted Network Communication: The 'EMAIL_SERVICE_URL' in 'servers/meerkats/adapter.js' uses plain HTTP ('http://34.46.80.154/api/email'), which allows eavesdropping and tampering with sensitive data. 3. DNS Rebinding Protection Disabled: 'enable_dns_rebinding_protection: false' in 'server.json' is a severe vulnerability that can allow attackers to bypass same-origin policies and attack internal network resources. 4. Sensitive Data in JWT: The server stores 'apiKey' or 'accessToken' directly within the JWT payload. If the 'JWT_SECRET' (an environment variable) is compromised, an attacker can forge tokens and gain full access to all integrated external APIs for any user. 5. Google API Credentials Handling: Google Sheets/Docs require a path to a service account key file, and Gmail requires an OAuth2 access token. The secure handling, storage, and refresh mechanisms for these credentials are critical and not fully detailed, posing a potential risk.
Similar Servers
frontmcp
The CodeCall plugin provides AgentScript-based meta-tools for orchestrating MCP tools, enabling programmatic discovery, description, execution, and invocation of server capabilities within a sandboxed JavaScript environment.
mcp-server-playground
A playground and reference implementation for a Model Context Protocol (MCP) server, featuring streamable HTTP transport, OAuth proxy for third-party authorization servers like Auth0, and stateful session management.
mcp-proxy-saas
An API gateway/proxy for Model Context Protocol (MCP) servers, providing authentication, security, and logging for multi-tenant applications.
QuickMCP
Building high-performance, enterprise-grade MCP (Model Context Protocol) servers using TypeScript, with built-in features for authentication, monitoring, and developer tools.