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 connecting developer tools tools to Claude, Cursor, VS Code, or another MCP client. The project is written in Shell.

VERIFIED ACTIVE

LAST COMMIT 2026-08-25 · ★ 1,047 · #7 OF 139 MAINTAINED DEVELOPER TOOLS · VERIFIED 2026-08-25

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.22.13 · 2026-08-24

Added · OpenCode provider completion: local OpenCode runs now use the same bounded · provider inventory, startup, trust, and recovery contracts as the other · supported local providers. · Fixed · Gateable…

v9.22.12 · 2026-08-19

Fixed · Recoverable Claude MCP configuration: Loki now ignores legacy, malformed, · or oversized user MCP overlays that Claude Code cannot accept, emits clear · recovery guidance, and continues with Loki's valid…

v9.22.11 · 2026-08-18

Added · MiniMax model catalog support: local operators can select MiniMax-M3 or · MiniMax-M2.7 through Loki's existing Anthropic-compatible or OpenAI-compatible · adapters, with documented global and China endpoints…

04 · Who maintains Loki Mode

loki-mode is maintained by asklokesh. We track 17 MCP servers from asklokesh - 16 actively maintained, 1,048 combined GitHub stars, oldest repo from Jun 2025.

05 · Facts

category
developer tools - ranked #7 of 139 actively-maintained developer tools servers as of 2026-08-25.
release cadence
10+ releases in the last 90 days (latest 2026-08-24)
registry
io.github.asklokesh/loki-mode (active, first published 2026-06-12)
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-08-25, its last commit was 2026-08-25 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

More developer tools MCP servers · Stateark · Langchain MCP · Diffpilot · X64dbg