> ## 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

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