For detailed information about Gemini CLI extensions and MCP servers, please refer to the official documentation:
Here's how to get mcp-confluent running with Gemini CLI:
-
Install Gemini CLI: If you haven't already, install the Gemini CLI. You can find installation instructions on the official GitHub repository.
-
Install the
mcp-confluentExtension:gemini extensions install https://github.com/confluentinc/mcp-confluent # Navigate to the root directory of this project (where `gemini-extension.json` is located) and run: # gemini extensions install .
This command registers the
mcp-confluentserver with Gemini CLI and creates a dedicated directory for it under~/.gemini/extensions/mcp-confluent. -
Provide Environment Variables: The extension requires your Confluent Cloud credentials and configuration to be available in a
.envfile.- First, ensure you have a correctly populated
.envfile in the root of this project. For instructions, see the Configuration section. - Next, copy your
.envfile into the extension's directory so Gemini CLI can access it (the Gemini extension expects the.envfile at${extensionPath}${pathSeparator}.env; see the variables documentation for details):
cp .env ~/.gemini/extensions/mcp-confluent/.env - First, ensure you have a correctly populated
-
Verify and Use: You can now start using the Confluent tools via Gemini CLI. To verify that the tools are available, you can list them:
gemini -l # or `gemini extensions list`And here's an example of invoking a tool:
gemini .... ๐ข mcp-confluent (from mcp-confluent) - Ready (24 tools) .... Using: 1 MCP server (ctrl+t to toggle) โญโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโฎ โ > list topics โ โฐโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโฏ โญโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโฎ โ โ list-topics (mcp-confluent MCP Server) {} โ โ โ โ Kafka topics: โ โ products_summarized,products,topic_8,products_summarized_with_embeddings,elastic_minimized,user_message_related_products,user_message_embeddin โ โ gs,dlq-lcc-d3738o,user_message,elastic โ โฐโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโฏ โฆ Okay, I see the following topics: products_summarized, products, topic_8, products_summarized_with_embeddings, elastic_minimized, user_message_related_products, user_message_embeddings, dlq-lcc-d3738o, user_message, and elastic.