Skip to content

feat: add gemini-extension.json to support Gemini CLI installation#248

Open
shuvajyotikar13 wants to merge 3 commits intoelastic:mainfrom
shuvajyotikar13:main
Open

feat: add gemini-extension.json to support Gemini CLI installation#248
shuvajyotikar13 wants to merge 3 commits intoelastic:mainfrom
shuvajyotikar13:main

Conversation

@shuvajyotikar13
Copy link
Copy Markdown

Description

This PR introduces a gemini-extension.json manifest to the repository root and updates the README.md to enable seamless, 1-click installation of the Elasticsearch MCP server via the Gemini CLI.

Motivation

By utilizing the Gemini CLI's settings schema, users no longer need to manually manage plain-text environment variables. During installation, the CLI interactively prompts the user for their connection details (e.g., ES_URL, ES_API_KEY) and stores them securely in the system keychain.

Because this server is distributed as a Docker image, the manifest is configured to automatically pass these securely stored environment variables into the docker run command, completely abstracting the manual configuration away from the end-user.

Changes Included

Added gemini-extension.json mapping the required environment variables to the docker run execution block.

Added a short "Using with Gemini CLI" section to README.md.

Testing

Users can now install and configure the server simply by running:
gemini extensions install https://github.com/elastic/mcp-server-elasticsearch

@cla-checker-service
Copy link
Copy Markdown

cla-checker-service Bot commented Mar 5, 2026

💚 CLA has been signed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant