feat: add gemini-extension.json to support Gemini CLI installation#248
Open
shuvajyotikar13 wants to merge 3 commits intoelastic:mainfrom
Open
feat: add gemini-extension.json to support Gemini CLI installation#248shuvajyotikar13 wants to merge 3 commits intoelastic:mainfrom
shuvajyotikar13 wants to merge 3 commits intoelastic:mainfrom
Conversation
|
💚 CLA has been signed |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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