Skip to content

Configurable transport host allowlist #303

Description

@gbrlcustodio

Part of the hosted on-behalf-of MCP server proposal (#297).

Scope

Make the transport allowed hosts and origins configurable so the server survives being fronted by a proxy or load balancer. DNS-rebinding protection otherwise rejects the public Host header with 421 Misdirected Request.

Acceptance criteria

Behind a proxy with a public Host header the server does not return 421; the default localhost-only behavior is preserved when the allowlist is unset.

Dependencies

Builds on the HTTP transport profile (#300).

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requesthosted-mcpHosted, multi-user, on-behalf-of MCP server profile

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions