grafana/grafana-mcp-agent-datasource — reverse-engineered prompt
Reverse engineered prompt
Build me a Grafana data source plugin that lets someone connect Grafana to an MCP server and ask questions in plain English.
I want users to be able to add the data source in Grafana, enter the MCP server URL, choose or auto detect the connection type, add auth like basic, bearer token, or OAuth if needed, then test that the connection works. In the query editor they should be able to ask natural language questions, directly call an MCP tool with arguments, or list available tools. The results should come back as Grafana friendly data so they can be shown in panels and dashboards.
Please include a Go backend for the Grafana plugin, a React and TypeScript frontend, health checks, sensible error messages, and support for HTTP, WebSocket, and SSE style MCP connections. Use the current Grafana plugin docs and MCP docs online if you need to.
Want more depth? Deep Reverse