Skip to content

Add env variable to allow redirecting the root of the server#394

Open
jrhouston wants to merge 2 commits into
mainfrom
redirect-top-level
Open

Add env variable to allow redirecting the root of the server#394
jrhouston wants to merge 2 commits into
mainfrom
redirect-top-level

Conversation

@jrhouston

Copy link
Copy Markdown
Contributor

This PR adds an option to configure a redirect for / if the server is configured to serve the MCP protocol at /mcp. This is useful to be able to redirect end users to documentation if they hit the root of the server in their browser. Currently they just see a bare 404 error.

PCI review checklist

  • I have documented a clear reason for, and description of, the change I am making.

  • If applicable, I've documented a plan to revert these changes if they require more than reverting the pull request.

  • If applicable, I've documented the impact of any changes to security controls.

    Examples of changes to security controls include using new access control methods, adding or removing logging pipelines, etc.

@jrhouston jrhouston requested a review from a team as a code owner July 10, 2026 20:57
@jrhouston jrhouston force-pushed the redirect-top-level branch from 04e3e26 to 8d3a026 Compare July 11, 2026 02: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