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_public on 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

Public MCP serves external projects only
Internal projects require a Bearer token on every request. Marking an internal project public has no effect; the server still demands a key.