Skip to content

Disable MCP allowed hosts check to support non-loopback binding#83

Merged
asiniscalchi merged 1 commit into
mainfrom
fix/mcp-disable-allowed-hosts
May 11, 2026
Merged

Disable MCP allowed hosts check to support non-loopback binding#83
asiniscalchi merged 1 commit into
mainfrom
fix/mcp-disable-allowed-hosts

Conversation

@asiniscalchi

Copy link
Copy Markdown
Owner

When the server is bound to a non-loopback address, rmcp's default Host header allowlist (localhost/127.0.0.1/::1) rejects legitimate clients. Clearing it lets the bind address configuration be the sole access control.

When the server is bound to a non-loopback address, rmcp's default
Host header allowlist (localhost/127.0.0.1/::1) rejects legitimate
clients. Clearing it lets the bind address configuration be the sole
access control.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@asiniscalchi asiniscalchi merged commit bf43e88 into main May 11, 2026
2 checks passed
@asiniscalchi asiniscalchi deleted the fix/mcp-disable-allowed-hosts branch May 11, 2026 08:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant