Connect
Optimize
Secure
Announcing StackOne Defender: leading open-source prompt injection guard for your agent • Read More →
Production-ready Grafana MCP server with 89 extensible actions — plus built-in authentication, security, and optimized execution.
Coverage
Create, read, update, and delete across Grafana — and extend your agent's capabilities with custom actions.
Authentication
Per-user OAuth in one call. Your Grafana MCP server gets session-scoped tokens with zero credentials stored on your infra.
Agent Auth →Security
Every Grafana tool response scanned for prompt injection in milliseconds — 88.7% accuracy, all running on CPU.
Prompt Injection Defense →Performance
Free up to 96% of your agent's context window to enhance reasoning and reduce cost, on every Grafana call.
Tools Discovery →A Grafana MCP server lets AI agents read and write Grafana data through the Model Context Protocol — Anthropic's open standard for connecting LLMs to external tools. StackOne's Grafana MCP server ships with 89 pre-built actions, fully extensible via the Connector Builder — plus managed authentication, prompt injection defense, and optimized agent context. Connect it from MCP clients like Claude Desktop, Cursor, and VS Code, or from agent frameworks like OpenAI Agents SDK, LangChain, and Vercel AI SDK.
Every action from Grafana's API, ready for your agent. Create, read, update, and delete — scoped to exactly what you need.
Create a new alert rule
Retrieve all provisioned alert rules
Retrieve a specific alert rule by its UID
Update an existing alert rule by its UID
Delete an alert rule by its UID
Create a new alert notification contact point
Retrieve all alert notification contact points
Update an existing alert notification contact point by its UID
Delete an alert notification contact point by its UID
Retrieve the notification policy tree
Update the notification policy tree
Create a new mute timing configuration
Retrieve all mute timing configurations
Retrieve a specific mute timing by its name
Update an existing mute timing configuration by its name
Delete a mute timing by its name
Create a new annotation on a dashboard or organization-wide
Retrieve annotations filtered by time range, tags, dashboard, or user
Update an existing annotation by its ID
Delete an annotation by its ID
Create or update a dashboard
Search for dashboards and folders by query, tags, or type
Retrieve a dashboard by its UID
Delete a dashboard by its UID
Retrieve all permissions for a dashboard
Update permissions for a dashboard
Retrieve all versions of a dashboard
Retrieve a specific version of a dashboard
Create a new data source in Grafana
Retrieve all data sources configured in the Grafana instance
Retrieve a specific data source by its UID
Update an existing data source by its UID
Delete a data source by its UID
Create a new correlation between two data sources
Retrieve all correlations across data sources
Delete a correlation by its UID
Create a new folder for organizing dashboards
Retrieve all folders the authenticated user has permission to view
Retrieve a specific folder by its UID
Update an existing folder's title
Delete a folder and all its dashboards
Retrieve all permissions for a folder
Update permissions for a folder
Retrieve the current organization's details
Update the current organization's name
Add an existing user to the current organization
List all users in the current organization
Remove a user from the current organization
Retrieve the current organization's preference settings
Update the current organization's preference settings
Create a new playlist
Retrieve all playlists
Retrieve a specific playlist by its UID
Update an existing playlist by its UID
Delete a playlist by its UID
Create a new service account
Retrieve all service accounts with pagination
Retrieve a specific service account by its ID
Update a service account's name or role
Delete a service account by its ID
Create a new token for a service account
Retrieve all tokens for a service account
Delete a specific token from a service account
Create a new team in the organization
Retrieve all teams with pagination
Retrieve a specific team by its ID
Update a team's name or email
Delete a team by its ID
Add a user to a team
Retrieve all members of a team
Remove a user from a team
Create a new dashboard snapshot
Retrieve all dashboard snapshots
Retrieve a dashboard snapshot by its key
Delete a dashboard snapshot by its key
Create a new reusable library element (panel)
Retrieve all reusable library elements (panels)
Retrieve a specific library element by its UID
Update an existing library element by its UID
Delete a library element by its UID
Create a shortened URL for a Grafana path
Retrieve all tags used in annotations
Retrieve the home dashboard for the current organization
Retrieve all dashboard tags in the Grafana instance
Check the health status of the Grafana instance
Retrieve Grafana frontend configuration settings
Update a user's role in the current organization
Star a dashboard for the authenticated user
Remove a star from a dashboard for the authenticated user
One endpoint. Any framework. Your agent is talking to Grafana in under 10 lines of code.
MCP Clients
Agent Frameworks
{
"mcpServers": {
"stackone": {
"command": "npx",
"args": [
"-y",
"mcp-remote@latest",
"https://api.stackone.com/mcp?x-account-id=<account_id>",
"--header",
"Authorization: Basic <YOUR_BASE64_TOKEN>"
]
}
}
}Anthropic's code_execution processes data already in context. Custom MCP code mode keeps raw tool responses in a sandbox. 14K tokens vs 500.
11 min
Benchmarking BM25, TF-IDF, and hybrid search for MCP tool discovery across 916 tools. The 80/20 TF-IDF/BM25 hybrid hits 21% Top-1 accuracy in under 1ms.
10 min
MCP tools that read emails, CRM records, and tickets are indirect prompt injection vectors. Here's how we built a two-tier defense that scans tool results in ~11ms.
12 min
origin_owner_id.All the tools you need to build and scale AI agent integrations, with best-in-class connectivity, execution, and security.