# MCPTools now accepts static auth headers

> A new headers argument on MCPTools passes connect-time auth headers for Streamable HTTP and SSE directly, without building a StreamableHTTPClientParams object first.

- Published: 2026-09-01
- Author: LHMQ878
- Categories: Changelog
- Canonical: https://www.agno.com/articles/mcptools-now-accepts-static-auth-headers
- Markdown: https://www.agno.com/articles/mcptools-now-accepts-static-auth-headers.md

We added a `headers=` argument to `MCPTools`. You can pass connect-time auth headers directly on the `url=` path for Streamable HTTP and SSE, without building a `StreamableHTTPClientParams` object first.

```python
from agno.tools.mcp import MCPTools

mcp_tools = MCPTools(
    url="https://example.com/mcp",
    transport="streamable-http",
    headers={"Authorization": "Bearer ..."},
)
```

Before, passing headers meant constructing `StreamableHTTPClientParams` and threading it through. Now the common case, a static token or key, is one keyword argument.
