talkops-loki-mcp-server
v0.2.1A Model Context Protocol (MCP) server for Grafana Loki log observability.
PyPI (uvx) discovery passed
Requires uv (https://docs.astral.sh/uv/)
Run in a terminal
claude mcp add talkops-loki-mcp-server -- uvx --from talkops-loki-mcp-server==0.2.1 loki-mcp-serverAdd to
claude_desktop_config.json{
"mcpServers": {
"talkops-loki-mcp-server": {
"args": [
"--from",
"talkops-loki-mcp-server==0.2.1",
"loki-mcp-server"
],
"command": "uvx"
}
}
}Add to
~/.cursor/mcp.json{
"mcpServers": {
"talkops-loki-mcp-server": {
"args": [
"--from",
"talkops-loki-mcp-server==0.2.1",
"loki-mcp-server"
],
"command": "uvx"
}
}
}Add to
.vscode/mcp.json{
"servers": {
"talkops-loki-mcp-server": {
"args": [
"--from",
"talkops-loki-mcp-server==0.2.1",
"loki-mcp-server"
],
"command": "uvx",
"type": "stdio"
}
}
}Add to
~/.codex/config.toml[mcp_servers.talkops-loki-mcp-server]
command = "uvx"
args = ["--from", "talkops-loki-mcp-server==0.2.1", "loki-mcp-server"]For AI agents
- Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).
- Restart or reload the client so it starts the server.
- Verify: the server should expose these tools: loki_get_labels, loki_get_label_values, loki_get_series, loki_get_log_patterns, loki_get_detected_fields, loki_get_query_stats, loki_query_instant, loki_query_range, ….
- If it fails, check that the required runtime is installed (uv (https://docs.astral.sh/uv/)) and that the values above are set.
Machine-readable: install.md · manifest.json