MCP ExplorerExplorer

Opengemini Mcp Server

@openGeminion 10 months ago
1 Apache-2.0
FreeCommunity
AI Systems
CNCF openGemini MCP Server

Overview

What is Opengemini Mcp Server

openGemini-mcp-server is an implementation of the Model Context Protocol (MCP) for the CNCF openGemini project. It provides a secure and structured way for AI assistants to explore and analyze databases.

Use cases

Use cases for openGemini-mcp-server include data analysis for AI models, database management tasks, and querying large datasets efficiently in research and development environments.

How to use

To use openGemini-mcp-server, install it via pip with ‘pip install .’. Then, configure the Claude Desktop by adding the MCP server settings in the configuration file, specifying the openGemini host, port, user, and password. Finally, restart Claude Desktop to apply the changes.

Key features

Key features of openGemini-mcp-server include listing databases, listing measurements within a database, reading sample data from measurements, and executing InfluxQL queries on the openGemini cluster.

Where to use

openGemini-mcp-server can be used in various fields that require database exploration and analysis, particularly in AI applications where structured data interaction is essential.

Content

openGemini-mcp-server

A Model Context Protocol (MCP) server implementation for CNCF openGemini.

This server provides AI assistants with a secure and structured way to explore and analyze databases.

Capabilities

  • list_databases

    • List all databases on your openGemini cluster.
  • list_measurements

    • List all measurements in a database.
    • Input: database (string): The name of the database.
  • read_resource

    • Read sample data from a measurement.
    • Input: measurement (string): The name of the measurement.
  • execute_influxql

    • Execute an InfluxQL on your openGemini cluster.
    • Input: query (string): InfluxQL query to execute.
    • Only support query start with SELECT or SHOW.

Installation

pip install . 

Configuration

  1. Open the Claude Desktop configuration file located at:

    • On macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
    • On Windows: %APPDATA%/Claude/claude_desktop_config.json
  2. Add the following:

{
  "mcpServers": {
    "mcp-openGemini": {
      "command": "/path/to/python",
      "args": [
        "-m",
        "mcp_openGemini.server"
      ],
      "env": {
        "OPENGEMINI_HOST": "<opengemini-host>",
        "OPENGEMINI_PORT": "<opengemini-port>",
        "OPENGEMINI_USER": "<opengemini-user>",
        "OPENGEMINI_PASSWORD": "<opengemini-password>"
      }
    }
  }
}

Update the environment variables to point to your own openGemini service.

  1. Restart Claude Desktop to apply the changes.

Tools

No tools

Comments

Recommend MCP Servers

View All MCP Servers