mcp-server-fetch SSL verify Off
Is your feature request related to a problem? Please describe. I need to fetch some local systems with either self-signed or invalid SSL i.e when using DDEV deployments.
Currently fetch refuses to connect to the DDEV server hosted on the same machine as claude due to SSL issues.
Describe the solution you'd like Id like a flag to enable ignore bad ssl certificates to allow it to communicate with my ddev server.
Describe alternatives you've considered None as proxying would also require a SSL cert issue.
I set up the MCP with the flag ?sslmode=require in the connection string. This normally would tell a postgres client that CA verification is not needed. But the MCP still complains that the certificate is self-signed.
I set up the MCP with the flag
?sslmode=requirein the connection string. This normally would tell a postgres client that CA verification is not needed. But the MCP still complains that the certificate is self-signed.
Same problem (
Same here ...
I was able to workaround this when connecting to an RDS postgres server by specifying the root cert in the connection string:
postgresql://username:password@pghost:5432/db_name?sslmode=allow&sslrootcert=/cert.pem
A list of downloadable certs are here: https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/UsingWithRDS.SSL.html
I downloaded the pem for my region, renamed it as 'cert.pem' and mounted it as /cert.pem in container.
using sslmode=require&sslrootcert=/path/to/cert.crt I was able to get it to work with digitalocean https://chatgpt.com/share/6828e4e9-f4f8-8007-8c18-8991c7081ed6 https://github.com/modelcontextprotocol/servers/issues/1803#issuecomment-2888551526
open the installation location of the Python library, for example, site-packages\mcp_server_fetch, and modify function in server.py. The function uses httpx, so change the corresponding line to: async with AsyncClient(verify=False) as client: This will disable certificate verification.
if you are using StdioServerParameters and getting the error use server_params = StdioServerParameters( command="npx", args=["-y", "@openbnb/mcp-server-airbnb", "--ignore-robots-txt"], env= { "NODE_TLS_REJECT_UNAUTHORIZED": "0" } ) env= { "NODE_TLS_REJECT_UNAUTHORIZED": "0" } like this