MCP gateway server that provides a unified interface for managing MCP targets, authentication, authorization policies, environment configuration, and session management. Supports multiple transport types (STDIO, Kubernetes) and includes observability features.
Reflow Gateway exposes 39 tools with consistent naming (verb_noun pattern) and descriptions present for all tools. However, critical gaps undermine production readiness: (1) Input schemas lack type definitions for most parameters, only string/object/array are declared, with no constraints, enums, or ranges; (2) Parameter descriptions are minimal (avg ~30 chars) and lack actionable guidance on format, constraints, or dependencies; (3) No output schemas documented, LLMs cannot predict response structure or chain tools; (4) Error handling is absent, no recovery guidance, no categorization of retryable vs fatal errors; (5) Security concerns: credentials/tokens exposed as parameters (e.g., SetUserTargetToken, SetRoleTargetToken accept 'token' param), no indication of permission gates or audit trails; (6) Composition issues: 26 token/config management tools are highly granular (SetUserTargetToken, SetRoleTargetToken, SetGroupTargetToken, SetDefaultTargetToken), should consolidate into fewer, more flexible tools. Tool descriptions average 95 chars (below 194-char baseline) and lack WHEN/WHY context. No tool declares idempotency, destructiveness, or read-only hints.
Adds a subject (user, role, group, or everyone) to an authorization policy. Admin only.
Sets multiple environment configuration variables at once. Admin only. Automatically restarts Kubernetes instances if applicable.
Creates a new API token for the current authenticated user.
Creates a new authorization policy. Admin only.
Creates a new MCP target. Admin only.
Deletes the default target token. Admin only.
Deletes an environment configuration variable. Admin only. Automatically restarts Kubernetes instances if applicable.
Input schemas lack type constraints and enums. Parameters declared as 'string' or 'object' with no min/max length, regex patterns, or allowed values. LLMs cannot validate inputs or self-correct.
No output schemas documented. LLMs cannot predict response structure, chain tools, or extract required fields for downstream calls. Breaks tool composition.
Credentials/tokens exposed as tool parameters. SetUserTargetToken, SetRoleTargetToken, SetGroupTargetToken, SetDefaultTargetToken all accept 'token' parameter, secrets will leak into agent logs and prompt history.
| Scored | Grade | Overall | Spec posture | Rubric |
|---|---|---|---|---|
| 2026-09-23 | F | 47 | 2026-07-28+ | v2 |
Deletes the target token for a specific group. Admin only.
Deletes an authorization policy. Admin only.
Removes a subject from an authorization policy. Admin only.
Deletes the target token for a specific role. Admin only.
Deletes an MCP target. Admin only.
Deletes the target token for the current user.
Returns the current authenticated user's profile information.
Returns environment configuration variables for a specific scope (default, role, group, or user).
Returns a specific authorization policy by ID.
Retrieves a specific MCP target by ID.
Retrieves all token configurations for a target (view all tokens).
Retrieves the target token for the current user.
Lists all API tokens for the current authenticated user.
Returns all environment configuration variables for a target.
Returns all authorization policies.
Lists request logs.
Lists all MCP targets accessible to the current user.
Lists all users in the system. Admin only.
Handles user login. Authenticates user with email and password, returns JWT token.
Recycles all MCP sessions for a user. Users can recycle their own sessions; admins can recycle any user's sessions.
Handles user registration. Creates a new user account with email and password. The first registered user automatically becomes an admin.
Returns the resolved environment configuration variables for the current user based on their role and groups.
Restarts all instances for a target. Admin only.
Revokes an API token by ID for the current authenticated user.
Sets or updates the default target token. Admin only.
Creates or updates an environment configuration variable. Admin only. Automatically restarts Kubernetes instances if applicable.
Sets or updates the target token for a specific group. Admin only.
Sets or updates the target token for a specific role. Admin only.
Sets or updates the target token for the current user.
Updates an existing authorization policy. Admin only.
Updates an existing MCP target. Admin only.
Updates a user's role and groups. Admin only.
26 token/config management tools are granular and repetitive (SetUserTargetToken, SetRoleTargetToken, SetGroupTargetToken, SetDefaultTargetToken, plus delete variants). Should consolidate into 2-3 flexible tools with scope parameter to reduce cognitive load and maintenance burden.
No error handling guidance. Tools lack recovery hints, retryability classification, or actionable error messages. LLMs cannot self-correct or know when to retry vs escalate.