You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+9-1Lines changed: 9 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
# Grafana MCP server
2
2
3
-
A [Model Context Protocol][mcp] (MCP) server for Grafana.
3
+
A [Model Context Protocol][mcp] (MCP) server for Grafana.
4
4
5
5
This provides access to your Grafana instance and the surrounding ecosystem.
6
6
@@ -67,6 +67,8 @@ Follow the [Grafana documentation][service-account] for details.
67
67
}
68
68
```
69
69
70
+
> Note: if you see `Error: spawn uvx ENOENT` in Claude Desktop, you need to specify the full path to `uvx` (see [discussion](https://github.com/orgs/modelcontextprotocol/discussions/20))
71
+
70
72
To disable a category of tools, set the environment variable `GRAFANA_TOOLS__<CATEGORY>__ENABLED` to `"false"`.
71
73
For example, to disable the search tools, set `"GRAFANA_TOOLS__SEARCH__ENABLED": "false"`.
72
74
@@ -82,6 +84,12 @@ You can then create a virtual environment and install the dependencies with:
82
84
uv sync --all-groups
83
85
```
84
86
87
+
To run the server, use:
88
+
89
+
```bash
90
+
uvx --from . mcp-grafana
91
+
```
92
+
85
93
### Testing
86
94
87
95
TL;DR: start a Grafana instance with `docker-compose up`, run `uv run ruff check .` for lints, and `uv run pytest tests --integration` to run unit and integration tests.
0 commit comments