How to install Grafana in Codex
To install Grafana in Codex, run "codex mcp add grafana --env GRAFANA_URL=YOUR_GRAFANA_URL -- docker run -i --rm -e GRAFANA_URL docker.io/grafana/mcp-grafana:2.4.0" in your terminal, then type /mcp in Codex to check it.
Built from the published package · server updated 4 days ago
- 1
Run the install command
In a terminal, run:
codex mcp add grafana --env GRAFANA_URL=YOUR_GRAFANA_URL -- docker run -i --rm -e GRAFANA_URL docker.io/grafana/mcp-grafana:2.4.0 - 2
Check it
Inside Codex, type /mcp to see the server and its tools.
MCP servers run with your permissions. If Grafana needs an API key, add it under env in the config. Check its README.
Install Grafana in another app
Similar servers
Azure MCP Server bundles all Azure MCP tools into one local MCP server. It connects AI agents to Azure services and can be used alone or with the GitHub Copilot for Azure extension in VS Code.
Manages monitors, status pages, incidents and maintenances in an openstatus workspace from Claude, ChatGPT, or Cursor. It suits teams that run uptime monitoring and status pages and want their AI assistant to update them.
SmartBear MCP gives AI assistants access to SmartBear's testing and monitoring tools, including BugSnag, Reflect, Swagger, PactFlow and QTM4J. It is aimed at teams that already use these products. Products are reached through remote servers or a local npm package.
Questions
Does Grafana work in Codex?
Yes. Codex supports mcp servers in the codex cli and ide extension, and Grafana installs with the steps above.
Grafana does not show up in Codex. What now?
Restart Codex fully, check the JSON is valid, and make sure Node.js (for npx) is installed. See common MCP errors and fixes.
Is Grafana safe?
It scores 93 of 100. Review the code before you install it, and only give it the access it needs. Grades and details.
