Grafana
Official
Search dashboards, investigate incidents and query datasources in your Grafana instance
About Grafana MCP Server
Grafana is an MCP server in the Data category. It exposes tools, resources to connected AI applications, enabling them to interact with grafana capabilities through the standardized Model Context Protocol.
Features
Tools
Resources
Category
Data
Getting Started
To use the Grafana MCP server in your AI application, follow these steps:
- Install the MCP client SDK for your platform
- Connect to the Grafana MCP server
- Authenticate with your Grafana credentials
- Start using the tools, resources, and prompts provided by the server
Example Code
// Connect to the Grafana MCP server
const server = await mcp.connect("grafana");
// List available tools
const tools = await server.tools.list();
// List available resources
const resources = await server.resources.list();
// List available prompts
const prompts = await server.prompts.list();
Installation
npm
npm install @mcp/server-grafanapip
pip install mcp-server-grafanaCompatible With
Claude Desktop
Cursor
Windsurf
Zed
Any MCP-compatible client