Skip to content

docs(mcp): follow_redirect, the redirected status and REDIRECT_REFUSED - #1795

Closed
nc9 wants to merge 2 commits into
mainfrom
docs/4003-follow-redirect
Closed

nc9 wants to merge 2 commits into
mainfrom
docs/4003-follow-redirect

Conversation

@nc9

@nc9 nc9 commented Nov 12, 2026

Copy link
Copy Markdown
Contributor

Pairs with private squirrelscan/repo#4113 (server-side redirect resolution at registration, repo#4003). Do not merge before that PR ships: the docs describe hosted MCP behaviour it adds.

Adds one bullet to docs/developers/mcp.mdx: run_audit and add_website follow a redirecting URL (5 hops, never to a private address), register under the final domain with the start host as an alias, answer status "redirected" for a different registrable domain until follow_redirect: true, register as sent with a redirect field on a refused hop, loop, cap or timeout, and refuse with REDIRECT_REFUSED when the chain had already left the site. make validate passes. The REST endpoints (POST /v1/websites, /v1/agent-runs/cloud) are not documented in docs/ today, so no REST page changes. Agent skill: no change.

nik

nc9 added 2 commits November 12, 2026 23:51
…_redirect and the redirected status

Signed-off-by: Nik Cubrilovic <[email protected]>
@nc9

nc9 commented Nov 13, 2026

Copy link
Copy Markdown
Contributor Author

Landed in bundle #1799, rebase-merged to main.

nik

@nc9 nc9 closed this Nov 13, 2026
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