Skip to content

Support Multiple Prometheus Data Sources in a Single MCP Server Instance #76

Description

@kubehan

We would like to request support for multiple Prometheus data sources within a single instance of the Prometheus MCP Server.

In our environment, we have hundreds of Prometheus instances (e.g., one per cluster or tenant), but we prefer to deploy only one MCP server for operational simplicity and resource efficiency. Currently, the MCP server appears to be configured for a single fixed Prometheus endpoint.

It would be extremely valuable if the MCP server could:
Accept a list of named Prometheus data sources (e.g., via config file or environment variables),
Allow clients to specify which data source to query via an identifier (e.g., through a header, URL parameter, or context field),
Route queries dynamically to the appropriate Prometheus backend based on that identifier.

This would enable scalable, multi-tenant usage without requiring hundreds of MCP server deployments.

Thank you for considering this enhancement!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions