I’m unable to connect my agno-based agent to an internal MCP server due to SSL certificate verification failures. The connection fails during FastAPI startup with the error.
server_params = StreamableHTTPClientParams(
url=mcp_url,
headers={"App-User-Id": "userid"},
timeout=30.0
)
print(f"Creating MCP tools with persistent SSL configuration")
try:
mcp_tools = MCPTools(
server_params=server_params,
transport="streamable-http",
timeout_seconds=30,
)
How do I configure MCPTools to accept custom CA certificates or disable SSL verification for internal servers?
Does MCPTools support parameters like:
-
Custom CA certificate file path
-
Client certificate authentication (mutual TLS)
-
SSL context configuration
-
Verification disable flag