Skip to main content
atoti_ai.StreamableHttpMcpServerConfig(
    *,
    url: str,
    authentication: Literal[‘none’, ‘atoti-jwt’, ‘pass-through’] = 'none',
    endpoint: str | None = None,
)
The configuration of an MCP server reached over Streamable HTTP. This is the transport used by Atoti Server’s own MCP.

Attributes

url

The address of the server, without the MCP endpoint. For example "https://pnl.example.com".

authentication

How the session authenticates itself against the server.
  • "none" sends no credential, for a server that is genuinely unauthenticated.
  • "atoti-jwt" sends a JWT minted for the calling user, carrying their username and authorities, and requires the server to share this session’s JWT signing key (see atoti.JwtConfig).
    Only choose this for servers operated by whoever operates this session. The token is handed to the server, which can then send it to any other server sharing the same signing key and be taken for the calling user there.
  • "pass-through" forwards the calling user’s own bearer token unchanged, for a server validating tokens against an external identity provider.

endpoint

The path at which the server speaks the MCP protocol. Defaults to "/mcp", which is the path Atoti Server serves it at.