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

# atoti_ai.HttpMcpServerConfig

### *final class* atoti\_ai.HttpMcpServerConfig

The configuration of an MCP server reached over HTTP.

The Streamable HTTP transport is used, which is the one Atoti Server serves by default.

<Warning>
  Declaring a server says where it is, never that it belongs to this deployment.
  Choose an [`authentication`](#atoti_ai.HttpMcpServerConfig.authentication) of `"atoti-jwt"` only for servers under the same ownership: the minted token is accepted by every server sharing the deployment’s JWT signing key.
  A third party given one holds a working credential for the whole deployment, in the name of a real user.
</Warning>

<Callout icon="link">
  **See also**:
  The other [`McpServerConfig`](./atoti_ai.mcp_server_config#atoti_ai.McpServerConfig) implementations.
</Callout>

#### authentication *: [Literal](https://docs.python.org/3/library/typing.html#typing.Literal)\['none', 'atoti-jwt', 'pass-through']* *= 'none'*

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

#### endpoint *: [str](https://docs.python.org/3/builtins/stdtypes.html#str) | [None](https://docs.python.org/3/builtins/constants.html#None)* *= None*

The path at which the server speaks the MCP protocol.

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

#### url *: [str](https://docs.python.org/3/builtins/stdtypes.html#str)*

The address of the server, without the MCP endpoint.

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