Skip to content

kru

Local-first MCP password and credential manager for AI agents. Use passwords, API keys, SSH identities, and TOTP without exposing hidden plaintext to the model.

Install: git clone https://github.com/omaekumiko2-create/kru

Works with Claude Code, Codex, Cursor · 128 GitHub stars

Install

$git clone https://github.com/omaekumiko2-create/kru

Install command taken from the project's README or registry entry. Always review code before running it.

KRU — Local password and credential manager for AI agents

A local MCP credential relay that keeps agent workflows moving without exposing hidden plaintext.

Local only  ·  Free and open source  ·  No account  ·  Windows / macOS / Linux

Download   ·   中文   ·   Security


KRU is a free, open-source, cross-platform password manager, credential vault, and local stdio MCP server for AI agents. It lets MCP clients such as Codex, Claude Code, Cursor, OpenCode, and OpenClaw use saved passwords, API credentials, SSH keys, TOTP codes, and custom secrets while hidden plaintext stays outside the normal model context.

Use KRU when an agent needs to sign in to a website, connect to a server, call an authenticated API, or finish a terminal prompt without asking you to paste a secret into the conversation.

Use KRU like this

Once KRU is connected, describe the task normally. Include the unique KRU item name for the most reliable match, or simply tell the agent to check KRU when authentication is needed.

Goal Example
Server task Use "Production Server" in KRU MCP to deploy the current build and verify the service.
Authenticated API Use "DNS Provider" in KRU MCP to list the domains in this account.
Browser sign-in Open the admin console. When credentials are required, use "Admin Account" in KRU MCP.
Automatic lookup Continue the task. If authentication is required, check KRU first.

The quoted text is the item name saved in KRU. If you omit it, the agent can inspect KRU's item list and choose a match.

What KRU does

KRU is a small local MCP tool for saving and using credentials without breaking an agent's workflow. The agent controls the task, while KRU performs credential operations locally—filling a focused field, running local or SSH commands, transferring files and directories, or sending authenticated API requests.

KRU stores credentials as independent modules rather than fixed “login / SSH / API” item types. Username, password, API credential, private key, key passphrase, TOTP, host, port, URL, and custom fields can be combined in one item. The available MCP actions are derived automatically from that combination.

There is no KRU account, subscription, cloud vault, or remote MCP service. KRU is free and open source, runs on Windows, macOS, and Linux, and keeps vault data encrypted on the current device. Its local stdio MCP starts only when an agent calls it.

Start in three steps

  1. Download and open KRU Choose the portable build for your platform. No registration is required.

  2. Connect your agent Open Settings → Agent connection, connect a detected client, then start a new agent session.

  3. Save an item Give it a unique name and add only the modules you need. You can start from a preset or build the item module by module.

Similar plugs

The agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.

Build Agentic workflows, RAG pipelines, with rich AI model and tool support on one collaborative workspace. Deploy on cloud, VPC, or self-hosted, so teams move from prototype…

Java 面试 & 后端通用面试指南,覆盖计算机基础、数据库、分布式、高并发、系统设计与 AI 应用开发

MCP serverDatabases+105 this week

A cross-platform desktop All-in-One assistant for Claude Code, Codex, OpenCode, OpenClaw, Grok Build & Hermes Agent. Only official website: ccswitch.io

Explore related