Loki Mode MCP Server
_The free, source-available autonomous coding agent by Autonomi. Same Loki CLI, SDK, and MCP for everyone; the commercial editions for teams and enterprises are sold under the Autonomi brand (Autonomi Cloud, Autonomi Enterprise)._. It runs locally over stdio via the published package.
People who work with autonomous, ci cd and code review and want it reachable from Claude, Cursor, VS Code, or another MCP client. The project is written in Shell.
VERIFIED ACTIVE
LAST COMMIT 2026-09-15 · ★ 1,066 · #6 OF 168 MAINTAINED DEVELOPER TOOLS · VERIFIED 2026-09-18
NOASSERTION · Shell · how we verify → /methodology
01 · Install Loki Mode
before you install - you'll need
Set ANTHROPIC_API_KEY, LOKI_SDK_MODE, OPENROUTER_API_KEY, LOKI_AIDER_MODEL, ANTHROPIC_BASE_URL, LOKI_MODEL_OVERRIDE, LOKI_LEGACY_BASH before connecting.
Claude Code
claude mcp add asklokesh-loki-mode -- npx -y loki-mode Claude Desktop / Cursor / VS Code - add to config
{
"mcpServers": {
"asklokesh-loki-mode": {
"command": "npx",
"args": [
"-y",
"loki-mode"
]
}
}
} Same JSON for Cursor. For VS Code, rename the top-level key from `mcpServers` to `servers`.
Using another client? Same JSON, different key
Claude Desktop · mcpServers
Cursor · mcpServers
VS Code · servers
Windsurf · mcpServers
Zed · context_servers
Cline · mcpServers
Roo Code · mcpServers
Continue · mcpServers
LibreChat · mcpServers
Gemini CLI · mcpServers
Codex CLI · mcp_servers
Full setup guides: every client.
02 · Evidence
Security posture
What to check before giving this server access to your agent - from the registry, GitHub, and our own probes. We don't score safety; we show what's verifiable.
runs as local process (stdio) - runs on your machine with your user's permissions
license no standard license detected - usage rights unclear; check the repo before commercial use
npm package loki-mode - unscoped; check the name against the project README before installing
registry namespace io.github.asklokesh is GitHub-verified and matches the repo owner
03 · What Loki Mode can do
Prose above is summarized from the project's README and registry record - no invented capabilities.
Latest releases
v9.51.1 · 2026-09-15
A completion member could vote COMPLETE with work still in flight. The · council's requirements_verifier counted unfinished work by reading · pending.json alone. That was safe only by accident: nothing in the current…
v9.50.4 · 2026-09-15
Gate-stuck was the only terminal that told the user nothing. When the same · quality gate failed for the same reason three times, the run stopped rather than · grinding, which is correct. But those three exits (static…
v9.50.3 · 2026-09-14
A paused run could hang forever or resume on data nobody typed, and the · Evidence Receipt it wrote was never announced. Both reach users here. · A non-interactive pause could hang, or falsely resume (#205). When a…
04 · Who maintains Loki Mode
loki-mode is maintained by asklokesh. We track 17 MCP servers from asklokesh - 16 actively maintained, 1,067 combined GitHub stars, oldest repo from Jun 2025.
05 · Facts
- repository
- github.com/asklokesh/loki-mode
- category
- developer tools - ranked #6 of 168 actively-maintained developer tools servers as of 2026-09-18.
- release cadence
- 10+ releases in the last 90 days (latest 2026-09-15)
- registry
- io.github.asklokesh/loki-mode (active, first published 2026-06-12 · 2 versions)
- packages
- npm:loki-mode
06 · Loki Mode FAQ
What is Loki Mode?
_The free, source-available autonomous coding agent by Autonomi. Same Loki CLI, SDK, and MCP for everyone; the commercial editions for teams and enterprises are sold under the Autonomi brand (Autonomi Cloud, Autonomi Enterprise)._. It runs locally over stdio via the published package.
Is Loki Mode still maintained?
Yes - as of 2026-09-18, its last commit was 2026-09-15 and it shipped 10+ releases in the last 90 days. We re-verify nightly.
How do I install Loki Mode?
Run `npx -y loki-mode`. The README documents 7 environment variables (ANTHROPIC_API_KEY, LOKI_SDK_MODE, OPENROUTER_API_KEY…) to set first. Set ANTHROPIC_API_KEY, LOKI_SDK_MODE, OPENROUTER_API_KEY, LOKI_AIDER_MODEL, ANTHROPIC_BASE_URL, LOKI_MODEL_OVERRIDE, LOKI_LEGACY_BASH before connecting. You can also paste the ready-made client config above.
Does Loki Mode run locally?
Yes - it's a stdio server: it runs on your machine (via npx) with your user's permissions. Your data stays local unless the server itself calls external APIs.
07 · Alternatives to Loki Mode
Alternatives to Loki Mode
Maintained developer tools servers if Loki Mode isn't the fit.
- Xcode Build MCP XcodeBuildMCP provides tools for Xcode project management, simulator management, and app utilities. ★ 6,397 · 2026-09-11
- Strata MCP server for progressive tool usage at any scale (see https://klavis.ai) ★ 5,804 · 2026-06-01
- Kubefwd Kubernetes port forwarding for local development with automatic /etc/hosts entries. ★ 4,171 · 2026-09-15
- Sem Entity-level code intelligence: semantic diff, impact analysis, blame, and context for AI agents ★ 3,352 · 2026-09-13
- Claude Code Explorer MCP Explore the Claude Code CLI source - browse tools, commands, search code, and more. ★ 3,342 · 2026-08-29
- Server for WinDbg Crash Analysis A Model Context Protocol server for Windows crash dump analysis using WinDbg/CDB ★ 1,578 · 2026-09-09
Pairs well with
Servers that cover what Loki Mode doesn't - only shown when the pairing reason fits the companion.
More developer tools MCP servers · Stateark · Langchain MCP · Tool API · Cejel