Skip to content

Conversation

@nablaone
Copy link
Member

@nablaone nablaone commented Aug 8, 2025

This PR adds 2 tools:

  • style_transfer_extract - it extracts details from the dashboard (limited to dashboards hosted here grafana.com/dashboards)
  • style_transfer_apply- applies details to the dashboard and creates new dashboard

An example chat:

Screenshot 2025-08-08 at 15 44 10

Final dashboard:

Screenshot 2025-08-08 at 15 44 27

How to run on the local machine:

  1. Clone this repo
  2. Build MCP (it's golang project)
make mcp
  1. Create a service account and API token (http://localhost:3000/org/serviceaccounts)
  2. Add MCP to your Claude config (Settings -> Developer)
{
  "mcpServers":
    {
    "MCP_DOCKER":{"command":"docker","args":["mcp","gateway","run"]},
    
    "GRAFANA_MCP":{"command":"/Users/YOUR_PATH_HERE/mcp-grafana/dist/mcp-grafana",
      "args":[],
      "env": {
        "GRAFANA_URL": "http://localhost:3000",
        "GRAFANA_API_KEY": "glsa_YOUR_TOKEN_HERE"
      }
    }
  }
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants