Skip to content

Issue with fetching results from mcp server #232

@amarjit25

Description

@amarjit25

The Elasticsearch MCP server fails to connect to an HTTPS Elasticsearch instance, even when:

  • SSL verification is disabled (ES_SSL_VERIFY=false)
  • Custom SSL certificate is mounted via volume
  • Host networking is enabled (--network=host)
  • The same credentials work perfectly with curl

docker run --rm --network=host
-e "ES_URL=https://elk-url:9200"
-e "ES_USERNAME=username"
-e "ES_PASSWORD=password"
-e "ES_SSL_VERIFY=false"
docker.elastic.co/mcp/elasticsearch:latest
stdio

curl -k -u 'username:password' 'https://estest01api.vih.infineon.com:9200/bus-app-plm-publishing-audit/_search'
-H 'Content-Type: application/json'
-d '{"query":{"match_all":{}}}'

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions