Skip to content

Commit 0472c6c

Browse files
committed
docs: add server command + claude desktop uv note
1 parent 5465acf commit 0472c6c

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

README.md

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Grafana MCP server
22

3-
A [Model Context Protocol][mcp] (MCP) server for Grafana.
3+
A [Model Context Protocol][mcp] (MCP) server for Grafana.
44

55
This provides access to your Grafana instance and the surrounding ecosystem.
66

@@ -67,6 +67,8 @@ Follow the [Grafana documentation][service-account] for details.
6767
}
6868
```
6969

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+
7072
To disable a category of tools, set the environment variable `GRAFANA_TOOLS__<CATEGORY>__ENABLED` to `"false"`.
7173
For example, to disable the search tools, set `"GRAFANA_TOOLS__SEARCH__ENABLED": "false"`.
7274

@@ -82,6 +84,12 @@ You can then create a virtual environment and install the dependencies with:
8284
uv sync --all-groups
8385
```
8486

87+
To run the server, use:
88+
89+
```bash
90+
uvx --from . mcp-grafana
91+
```
92+
8593
### Testing
8694

8795
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

Comments
 (0)