Back to Home
ragieai icon

mcp-gateway

Verified Safe

by ragieai

Overview

A multi-tenant secure proxy for AI clients to access Ragie MCP services with organization-based authentication and routing.

Installation

Run Command
npx @ragieai/mcp-gateway

Environment Variables

  • MAPPING_FILE
  • WORKOS_API_KEY
  • WORKOS_AUTHORIZATION_SERVER_URL
  • WORKOS_CLIENT_ID

Security Notes

The server implements robust security features including JWT verification via WorkOS JWKS, organization membership validation, and role-based access control. Secrets (API keys, WorkOS credentials) are managed through environment variables or a mapping file, preventing hardcoding. It acts as a secure proxy, carefully routing and authenticating requests. The only minor point is a 'FIXME' in the `authMiddleware` related to WorkOS JWT not directly containing organization ID, which is addressed with a separate API call, maintaining security but indicating a potential area for future optimization in the authentication flow. No 'eval' or other obviously dangerous patterns were found.

Similar Servers

Stats

Interest Score40
Security Score9
Cost ClassMedium
Avg Tokens2000
Stars9
Forks0
Last Update2025-12-12

Tags

AI GatewayMulti-tenantAuthenticationWorkOSProxyNode.js