Skip to content

Feature Request: True Simultaneous Multi-Organization Support #414

@shikiroot

Description

@shikiroot

The README file mentions multi-organization support. However, the current implementation only allows specifying a single target organization at a time. This is more of an "organization-selectable" feature rather than true, simultaneous "multi-organization" support. And for teams that manage multiple Grafana organizations, the only workaround is to run and manage a separate instance of mcp-grafana for each organization.

The configuration could look something like this:

{
  "mcpServers": {
    "grafana": {
      "command": "mcp-grafana",
      "organizations": [
        {
          "name": "org1",
          "env": {
            "GRAFANA_URL": "",
            "GRAFANA_SERVICE_ACCOUNT_TOKEN": "token_for_org1",
            "GRAFANA_ORG_ID": "1"
          }
        },
        {
          "name": "org2",
          "env": {
            "GRAFANA_URL": "",
            "GRAFANA_SERVICE_ACCOUNT_TOKEN": "token_for_org2",
            "GRAFANA_ORG_ID": "2"
          }
        },
        {
          "name": "org3",
          "env": {
            "GRAFANA_URL": "",
            "GRAFANA_SERVICE_ACCOUNT_TOKEN": "token_for_org3",
            "GRAFANA_ORG_ID": "3"
          }
        }
      ]
    }
  }
}

A key part of this feature would be the ability to specify a Service Account Token for each configured organization.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions