A Go-based server implementation for the Model Context Protocol (MCP) with Grafana Loki integration.
A Go-based server implementation for the Model Context Protocol (MCP) with Grafana Loki integration.
Compare MCP servers by category, or browse hosted MCP servers if you prefer an endpoint over a local process.
Check the linked publisher documentation and your connected client's tool list. Names and availability can vary with the server version and account permissions.
| Tool | What it does |
|---|---|
| query | LogQL query string |
| url | The Loki server URL (default: from LOKI_URL environment variable or http://localhost:3100) |
| start | Start time for the query (default: 1h ago) |
| end | End time for the query (default: now) |
| limit | Maximum number of entries to return (default: 100) |
| org | Organization ID for the query (sent as X-Scope-OrgID header) |
{
"mcpServers": {
"lokiserver": {
"command": "path/to/loki-mcp-server",
"args": [],
"env": {
"LOKI_URL": "http://localhost:3100",
"LOKI_ORG_ID": "your-default-org-id",
"LOKI_USERNAME": "your-username",
"LOKI_PASSWORD": "your-password",
"LOKI_TOKEN": "your-bearer-token"
},
"disabled": false,
"autoApprove": ["loki_query"]
}
}
}Configuration as documented by the project. Restart the client after saving.
| Variable | Description | Required |
|---|---|---|
| LOKI_URL | Endpoint or connection string the server talks to. | Yes |
| LOKI_ORG_ID | Configuration value read at startup. | Optional |
| LOKI_USERNAME | Configuration value read at startup. | Optional |
| LOKI_PASSWORD | Configuration value read at startup. | Optional |
| LOKI_TOKEN | Credential the server authenticates with. | Yes |
Give your coding agent the full DevTools toolbox: traces, network, console, heap snapshots and Lighthouse.
Workers, KV, R2 and D1 by conversation — Cloudflare's official remote servers for building and observability.
Cloud DevOps analysis with guarded Git, infrastructure, cloud and observability operations.
Open-source MCP server for secure Proxmox node, VM, and LXC operations.
Pre-flight metrics for AI agents, like a weather report. x402: RLUSD on XRPL; USDC on Base (0.01+).
# Red-team-mcp An MCP (Model Context Protocol) server for AI agents to use during red teaming exercises. ## Overview This server provides resources