Back to Home
ragieai icon

mcp-gateway

Verified Safe

by ragieai

Overview

A multi-tenant secure proxy for AI clients to Ragie Model Context Protocol (MCP) services with WorkOS authentication and role-based access control.

Installation

Run Command
npx @ragieai/mcp-gateway

Environment Variables

  • DATABASE_URL
  • ENCRYPTION_KEY
  • WORKOS_API_KEY
  • WORKOS_AUTHORIZATION_SERVER_URL
  • WORKOS_CLIENT_ID

Security Notes

The server uses strong cryptographic practices for API key encryption (AES-256-GCM, PBKDF2, SHA-256) with a randomly generated IV for each encryption and environment variables for secrets. Authentication is robust, involving JWT verification via WorkOS JWKS and an explicit WorkOS API call to validate user organization membership and roles, addressing a potential JWT limitation. Server-side filters prevent data access bypasses. No 'eval' or similar dangerous patterns were found in the provided code. The fixed salt for PBKDF2 is acceptable as it's used for deterministic key derivation from a strong master key, not for individual data encryption.

Similar Servers

Stats

Interest Score39
Security Score9
Cost ClassMedium
Avg Tokens75
Stars10
Forks0
Last Update2026-01-11

Tags

API GatewayAuthenticationMulti-tenantWorkOSProxy