This release is a pre-release and may not be stable for production use.
Knowledge Item (KI) management MCP server for AI-assisted development
pip install ki-manager==2.3.0.dev2 Copy PIP instructions
AI-powered knowledge management for software projects. Install once, use across all your projects.
ki-manager is an MCP (Model Context Protocol) server that turns any project into a self-documenting codebase for AI agents (Claude, Antigravity, Cursor, Windsurf, etc.).
uv tool install ki-manager Add to your IDE MCP configuration (mcp_config.json):
{ "mcpServers": { "ki-manager": { "command": "ki-manager" } } } Note for Windows / ADI Antigravity: If ki-manager is not found in PATH by your IDE, specify the full path to the executable:
pip install ki-manager # or uv pip install ki-manager Option С: Local development If you cloned the repository and are developing locally, point your IDE to the .venv Python directly:
{ "mcpServers": { "ki-manager": { "command": "/absolute/path/to/repo/.venv/bin/python", "args": ["-m", "ki_manager.server"] } } } On Windows:
{ "mcpServers": { "ki-manager": { "command": "C:\\path\\to\\repo\\.venv\\Scripts\\python.exe", "args": ["-m", "ki_manager.server"] } } } Compact Mode (Token Saver) By default, ki-manager runs in full mode and exposes all tools directly. For AI clients that inject tool definitions into the context window, you can enable compact facade mode to expose only 6 essential tools (ki_instructions, ki_search, ki_read, ki_tools, ki_call, ki_mutate):
Pick one of the options above and add it to your MCP config.
In your IDE chat, call the ki_init_project tool:
ki_init_project(project_path="/absolute/path/to/your-project") This creates:
your-project/ └── .ki-base/ ├── config.json ← machine-specific (auto-added to .gitignore) ├── ki_config.json ← project settings (commit to git) ├── doc_config.json ← file→KI map (commit to git) ├── AGENTS.md ← agent instructions (commit to git) ├── DIR_INDEX.md ← directory index (commit to git) └── knowledge/ └── _OVERVIEW.ki.md ← starter Knowledge Item 3. Start documenting Use the available tools or slash commands:
ki-manager distributes workflow instructions using the Agent Skills standard format.
You can install the bundled workflow skills to your IDE's skills folder (e.g., for Google Antigravity):
# CD into your skills directory and run: ki-manager-skills install-skills # Or run via uvx specifying the target path explicitly: uvx ki-manager-skills install-skills --path ~/.gemini/config/skills/ This will copy all workflow instructions (like create-adr, expand-knowledge) as standard .md skill files. It skips existing ones, so it's safe to run multiple times.
ki-manager/ ├── pyproject.toml ← pip / uv package config ├── src/ki_manager/ │ ├── server.py ← MCP server entry point │ ├── tools/ │ │ └── scaffold.py ← ki_init_project implementation │ └── scripts/ ← bundled analysis scripts │ ├── ki_utils.py ← shared utilities │ ├── audit_coverage.py │ ├── sync_agents_md.py │ ├── generate_dir_index.py │ ├── ki_dependency_analyzer.py │ └── ... ├── knowledge/ ← KI documentation of this repo itself └── decisions/ ← Architecture Decision Records Troubleshooting MCP server hangs on initialization (never connects) Using uvx directly in mcpServers configuration is known to cause hangs or stdio pipe drops in ADI Antigravity and Windows environments due to ephemeral environment creation delays and process wrapping.
Solution: Install via uv tool install ki-manager and specify ki-manager or its absolute executable path in mcpServers.
Step 1 — Check logs: Server logs are written to ~/.ki_base/logs/. Open the latest file and look for REQ: lines. If there are no REQ: lines at all, stdin is not being piped correctly by the IDE.
Step 2 — Specify exact executable path: If your IDE cannot find ki-manager in system PATH:
{ "mcpServers": { "ki-manager": { "command": "C:\\Users\\ \\.local\\bin\\ki-manager.exe" } } } Step 3 — Reinstall / Upgrade tool: To upgrade to the latest PyPI version when using uv tool:
uv tool install --reinstall ki-manager Server is running but no tools appear Check that ki_status is visible in the IDE. If it shows No project active for current workspace, the server is working correctly — it just needs a project to be initialized (ki_init_project) or the IDE is not passing rootUri in the MCP handshake.
This error was present in versions = 2.0.11 to fix it:
ai claude cursor documentation knowledge mcp windsurf
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 6, 2026.




