A Go-based server implementation for the Model Context Protocol (MCP) with Grafana Loki integration.
loki-mcp source profile. From the maintainer documentation: “A Go-based server implementation for the Model Context Protocol (MCP) with Grafana Loki integration.”
The project provides a local client configuration using path/to/loki-mcp-server. Follow the repository’s build and installation steps before copying it, and replace example paths with the paths on your own computer.
The example declares LOKI_URL, LOKI_ORG_ID, LOKI_USERNAME, LOKI_PASSWORD, LOKI_TOKEN. Secret-looking values have been replaced with placeholders. Required and optional labels are shown only when the documentation states them.
Project documentation · Repository · Discovery listing. This profile records the public documentation checked on 2026-10-08.
{
"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_LOKI_PASSWORD",
"LOKI_TOKEN": "YOUR_LOKI_TOKEN"
},
"disabled": false,
"autoApprove": [
"loki_query"
]
}
}
}From the project documentation. Replace placeholders and example paths before connecting.
| Variable | Description | Required |
|---|---|---|
| LOKI_URL | Declared in the maintainer’s client configuration. | Check documentation |
| LOKI_ORG_ID | Declared in the maintainer’s client configuration. | Check documentation |
| LOKI_USERNAME | Declared in the maintainer’s client configuration. | Check documentation |
| LOKI_PASSWORD | Declared in the maintainer’s client configuration. | Check documentation |
| LOKI_TOKEN | Declared in the maintainer’s client configuration. | Check documentation |
Read, search and edit files inside allowed directories with the Model Context Protocol reference Filesystem server.
Retrieve version-aware library documentation and code examples with Context7 MCP, using resolve-library-id and query-docs.
Tock (exploretock.com): discover restaurants, search a city, get venue details and availability.
FinishKit MCP: scan GitHub repos for security vulnerabilities, deployment blockers, and quality
Pull change requests from your Amendor board into your coding agent to build and open PRs.
Betterleaks Cloud - GitHub, Git, S3, Dir Secret Scanner