home / mcp / influx oss api service mcp server

Influx OSS API Service MCP Server

MCP Server generated by mcp.ag2.ai

Installation
Add the following to your MCP client configuration file.

Configuration

View docs
{
  "mcpServers": {
    "ag2-mcp-servers-influx-oss-api-service": {
      "command": "python",
      "args": [
        "mcp_server/main.py",
        "stdio"
      ],
      "env": {
        "CONFIG": "{\"server\": {\"name\": \"influx_mcp\"}}",
        "SECURITY": "YOUR_SECURITY_TOKEN",
        "CONFIG_PATH": "mcp_server/mcp_config.json"
      }
    }
  }
}

You run an MCP (Model Context Protocol) server that serves the InfluxData OpenAPI specification to clients. This server enables efficient, protocol-aware communication between your applications and the InfluxDB API, helping you discover capabilities, validate requests, and integrate data sources with consistent context handling.

How to use

Start the local MCP server in stdio mode to connect client tooling directly to your running process. The server acts as a local MCP endpoint that your client can interact with through standard input/output.

How to install

Prerequisites: Python 3.9 or newer, pip, and uv (for lightweight server running). Install and prepare the server locally from your development environment.

Clone the project and install dependencies. Use your preferred shell.

git clone <repository-url>
cd mcp_server
pip install -e ".[dev]"
# or using uv
uv pip install --editable ".[dev]"

Running the server locally

You can start the MCP server in stdio mode using Python.

{
  "command": "python",
  "args": ["mcp_server/main.py", "stdio"]
}

Environment and configuration

Configure how the server loads its settings either via a JSON config file or environment variables.

# Example environment variables you can set
export CONFIG_PATH=mcp_server/mcp_config.json
export CONFIG='{"server": {"name": "influx_mcp"}}'
export SECURITY={YOUR_SECURITY_VAR}