Skip to content

mcp-server-fetch SSL verify Off #508

Closed as not planned
Closed as not planned

Description

@random-robbie

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.

Activity

  1. GeertJohan commented on Mar 31, 2025

    @GeertJohan

    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.

  2. Stefs-2142 commented on Apr 2, 2025

    @Stefs-2142

    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.

    Same problem (

  3. rlacotte commented on Apr 9, 2025

    @rlacotte

    Same here ...

  4. leonowski commented on Apr 25, 2025

    @leonowski

    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.

  5. Connoropolous commented on May 17, 2025

    @Connoropolous

    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
    #1803 (comment)

  6. MarxICB commented on Jul 2, 2025

    @MarxICB

    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.

  7. nayannandakumar1698-cloud commented on Dec 1, 2025

    @nayannandakumar1698-cloud

    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

  8. added a commit that references this issue on Jan 19, 2026
    dc626ba
  9. added a commit that references this issue on Jan 27, 2026
    eea22fc
  10. added 2 commits that reference this issue on Feb 4, 2026
    4c72451
    c938f5b
  11. added a commit that references this issue on Aug 27, 2026
    84667c2
  12. cliffhall commented on Oct 19, 2026

    @cliffhall
    Member

    Closing: out of scope for the reference servers.

    Thank you for the suggestion, and apologies for the long wait for a response.

    These servers are reference implementations: they exist to show how each part of MCP is used, not to be general-purpose products, so new features are taken selectively (CONTRIBUTING.md). A switch that disables TLS certificate verification weakens a reference server's security posture; trusting a local CA through the standard certificate environment settings is the better route. This is not a judgment on the idea or on you; a server in the MCP Registry may well offer it, and anyone is welcome to build on these servers to do so. This is happening as part of the backlog triage in #4875.

  13. added
    closed-out-of-scopeClosed: out of scope here; listings and new servers go to the MCP Registry (#4875)
    closed-security-declinedClosed: reviewed and declined on security grounds; do not re-propose (#4875)
    on Oct 19, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    closed-out-of-scopeClosed: out of scope here; listings and new servers go to the MCP Registry (#4875)closed-security-declinedClosed: reviewed and declined on security grounds; do not re-propose (#4875)enhancementNew feature or request

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions