home / mcp / influx oss api service mcp server
MCP Server generated by mcp.ag2.ai
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.
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.
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]"You can start the MCP server in stdio mode using Python.
{
"command": "python",
"args": ["mcp_server/main.py", "stdio"]
}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}