> ## Documentation Index
> Fetch the complete documentation index at: https://docs.activeviam.com/llms.txt
> Use this file to discover all available pages before exploring further.

# StreamableHttpMcpServerConfig

<span id="atoti_ai.StreamableHttpMcpServerConfig" />

> atoti\_ai.StreamableHttpMcpServerConfig(<br />
>     \*,<br />
>     *url*: [str](https://docs.python.org/3/library/stdtypes.html#str),<br />
>     *authentication*: [Literal](https://docs.python.org/3/library/typing.html#typing.Literal)\['none', 'atoti-jwt', 'pass-through'] = `'none'`,<br />
>     *endpoint*: [str](https://docs.python.org/3/library/stdtypes.html#str) | [None](https://docs.python.org/3/library/constants.html#None) = `None`,<br />
> )

The configuration of an MCP server reached over Streamable HTTP.

This is the transport used by Atoti Server’s own MCP.

### Attributes

<h4 id="atoti_ai.StreamableHttpMcpServerConfig.url">
  *url*
</h4>

The address of the server, without the MCP endpoint.

For example `"https://pnl.example.com"`.

<h4 id="atoti_ai.StreamableHttpMcpServerConfig.authentication">
  *authentication*
</h4>

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`](./atoti.config.security.JwtConfig#atoti.JwtConfig)).
  > <Warning>
  >   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.
  > </Warning>
* `"pass-through"` forwards the calling user’s own bearer token unchanged, for a server validating tokens against an external identity provider.

<h4 id="atoti_ai.StreamableHttpMcpServerConfig.endpoint">
  *endpoint*
</h4>

The path at which the server speaks the MCP protocol.

Defaults to `"/mcp"`, which is the path Atoti Server serves it at.
