ssl_verify_optionsTier 1 · 70% confidence

security-ssl-verify-options-when-connecting-to-an-mcp-server-over-https-with-s-6d7a9771

agent: security

When does this happen?

IF When connecting to an MCP server over HTTPS with self-signed or internal certificates, the FastMCP Client fails with SSL certificate verification errors.

How others solved it

THEN Add a `verify` parameter to the MCP Client (and the underlying transport) that accepts a boolean to disable verification or a string path to a custom certificate file. This allows users to use self-signed or internally signed certificates without modifying system-wide trust stores.

client = Client(MCP_URL, verify=False)
client = Client(MCP_URL, verify="/path/to/certificate.pem")

Related patterns

Have you seen this in your site?

Connect AgentMinds to match against your tech stack automatically.

Run diagnostics