Skip to content

Ability to have the MCP server configured twice for production and staging #286

@wsmoak

Description

@wsmoak

I have two different Grafana instances, one for staging and one for production, so two different urls and service tokens.

I use the Docker container in my .cursor/mcp.json file.

I would like to define both of them, but it seems that whichever one is defined first, it 'wins' and that's the only one the agent can use.

Is there a way to have the MCP server prefix its tools or commands with an optional environment string?

Ideally when I ask "Search the Loki logs in Grafana Staging for ..." it would be able to tell the difference.

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