feat(agents): add project-scoped Grafana MCP for opencode and codex (#339)

This commit is contained in:
ryan4yin | 二花 authored and GitHub committed 2026-10-02 12:01:01 +08:00
1 parent c913813ac6
commit 51e86d1168
4 files changed
+37 -3

No files matched your search

+9
View File
@@ -0,0 +1,9 @@
# Project-scoped MCP: Codex loads this only when the project is trusted.
# The Grafana service-account token stays in the environment
# (GRAFANA_SERVICE_ACCOUNT_TOKEN, set by nushell-secrets.nu), not in git.
[mcp_servers.grafana]
command = "mcp-grafana"
# Read-only surface; drop this arg to allow dashboard/alert edits.
args = ["--disable-write"]
env = { GRAFANA_URL = "https://grafana.writefor.fun" }
env_vars = ["GRAFANA_SERVICE_ACCOUNT_TOKEN"]