-
Notifications
You must be signed in to change notification settings - Fork 120
Local config implementation #190
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
Getting a blank box on that 👼 Edit: here we go, it loaded after some minutes |
Hi @jpinsonneau, thanks for the contribution. I'm a little confused about this PR - it seems like it results in bypassing Grafana entirely, which makes me think that it doesn't really belong in this MCP server, but instead in separate Prometheus/Loki MCP servers. I would really rather avoid adding more configuration complexity into this MCP server (which already has quite a few config options). |
Hi @sd2k, thanks for your feedback. Indeed that could be in a smaller MCP server covering only Prom & Loki which could be even imported here as a dependency to avoid code duplication. Feel free to join or ping people who could be interested 😃 |
MCP servers don't seem to have a set pattern now, and we're still somewhat grappling with whether the datasource should have the mcp server on it, or whether we would want to forward mcp servers from elsewhere via grafana. In this specific case it's not clear to me that this is specific to grafana, and it looks like it would make more sense to either run it side-by-side or have it forwarded to grafana |
This is a WIP implementing extra configs, allowing more deployments possibilities such as local or k8s.
It rely on extra environment variables to configure endpoints and TLS + forward Authorization header when provided.
Stdio run using env variables:


Prometheus query forwarding auth token:

Loki query:
