Skip to content

docs: Add runtime.mcp.allowed_hosts configuration#1678

Merged
lukekim merged 1 commit into
trunkfrom
docs/mcp-allowed-hosts-10638
May 7, 2026
Merged

docs: Add runtime.mcp.allowed_hosts configuration#1678
lukekim merged 1 commit into
trunkfrom
docs/mcp-allowed-hosts-10638

Conversation

@claudespice
Copy link
Copy Markdown
Collaborator

Summary

  • Document the new runtime.mcp.allowed_hosts setting for DNS rebinding attack prevention on the /v1/mcp endpoint
  • Add allowed hosts section to both MCP docs pages

Source PRs

Changes

  • website/docs/reference/spicepod/runtime.md — Added runtime.mcp and runtime.mcp.allowed_hosts reference section with behavior table, examples for explicit list and wildcard modes
  • website/docs/features/large-language-models/mcp.md — Added "Allowed Hosts" section under "Spice as an MCP Server"
  • website/docs/components/tools/mcp.md — Added "Allowed Hosts" section under "Spice as an MCP Server"

Test plan

  • Verified default behavior (localhost, 127.0.0.1, ::1) matches source code
  • Verified wildcard behavior matches source code
  • Links are valid
  • Version references are correct (vNext only — new feature)

Document the new runtime.mcp.allowed_hosts setting that controls
which Host header values are accepted on the /v1/mcp endpoint
for DNS rebinding attack prevention.
@claudespice claudespice self-assigned this May 7, 2026
@github-actions
Copy link
Copy Markdown

github-actions Bot commented May 7, 2026

🔍 Pull with Spice Failed

Passing checks:

  • ✅ Title meets minimum length requirement (10 characters)
  • ✅ Has at least one of the required labels: area/blog, area/docs, area/cookbook, dependencies
  • ✅ No banned labels detected

Failed checks:

  • ❌ At least one assignee is required for this pull request.

Please address these issues and update your pull request.

@github-actions
Copy link
Copy Markdown

github-actions Bot commented May 7, 2026

🚀 deployed to https://d5af8394.spiceai-org-website.pages.dev

@lukekim lukekim merged commit 3ebf55e into trunk May 7, 2026
6 of 9 checks passed
@lukekim lukekim deleted the docs/mcp-allowed-hosts-10638 branch May 7, 2026 15:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants