Use case
Offer a public MCP server
External tools and agents need access to public documentation without managing keys. A public MCP endpoint lets any MCP client search the corpus directly.
Last updated: November 9, 2026
The server answers at POST /mcp/<project-uid> without an Authorization header when the project is marked public via the mcp_public flag. Only external projects can be exposed this way. Internal projects require a key on every request.
The endpoint returns search results and answers but does not expose a list of indexed documents. Clients discover content through retrieval only.
Ways to build this
One surface.
- Mark the project public and point MCP clients at the endpoint. Set
mcp_publicon an external project, then give agents the URL/mcp/<uid>. See MCP server.
What to index
Public documentation and public repositories only. Use the web crawler for documentation sites and the GitHub or GitLab connectors for open source repositories.
- GitHub - public repositories, Markdown and issues.
- GitLab - public projects.
- Website crawler via
POST /api/upload/website.
Keep the project external. An internal project cannot be served without a key. See Projects & visibility.
Resources
- MCP server - endpoint contract and the
mcp_publicflag. - Quickstart.
