Back to Home
stainless-api icon

mcp-front

Verified Safe

by stainless-api

Overview

Provides a multi-user, OAuth-authenticated gateway for AI agents (like Claude.ai) to securely access internal Model Context Protocol (MCP) servers, databases, and APIs without direct exposure.

Installation

Run Command
docker run -p 8080:8080 -v $(pwd)/config.json:/app/config.json dgellow/mcp-front:latest

Environment Variables

  • GOOGLE_CLIENT_ID
  • GOOGLE_CLIENT_SECRET
  • JWT_SECRET
  • ENCRYPTION_KEY

Security Notes

The project demonstrates a very high level of security consciousness. It mandates OAuth 2.0 with PKCE, enforces Google Workspace domain validation, encrypts session cookies using AES-256-GCM, and applies per-service audience claims (RFC 8707) to prevent token reuse. Secrets are strictly managed via environment variables and validated for sufficient entropy (e.g., JWT_SECRET must be 32+ bytes). Network traffic forwarding actively strips sensitive hop-by-hop and internal authentication headers. Inline command execution is carefully controlled to prevent injection. Extensive integration tests cover authentication bypass, malformed inputs, and secure session handling. The project explicitly defines its security boundary (proxy for authentication, backend for authorization/input validation) and warns that it's alpha software, but the implemented security features are robust.

Similar Servers

Stats

Interest Score43
Security Score9
Cost ClassLow
Stars30
Forks1
Last Update2025-12-01

Tags

AI ProxyAuthentication GatewayOAuth 2.0MCPSecurityInternal Tools Integration