Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

the Search tool needs some improvement #182

Copy link
Copy link
@tybalex

Description

@tybalex
Issue body actions

I've tried to use elasticsearch MCP with Cursor as client, and I think the search tool needs better description (especially for the queryBody arg). I ingested a few text files in my es index, and asked my agent to:

find main characters of `reunion under sky` story, search in my Elasticsearch indexes

Claude4.0 was able to figure out the correct search query after 5 tries, and gpt4.1 got completely lost.
the search method should just be straightforward enough instead of the current form.

BTW here is my cursor setup:

    "Elasticsearch": {
      "command": "npx",
      "args": [
        "-y",
        "@elastic/mcp-server-elasticsearch"
      ],
      "env": {
        "ES_URL": "https://my-elasticsearch-project-xxxx.es.us-central1.gcp.elastic.cloud:443",
        "ES_API_KEY": "xxxx"
      }
    }
FelixCmmrsv

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.