hyseed mini for VS Code
hyseed mini is the pip-runtime edition of the hyseed knowledge base for VS Code: search
from the sidebar, manage the admin console, install MCP/skills, and run the common CLI
commands without leaving the editor.
Windows, Linux, and macOS; VS Code 1.101+. The public hyseed extension (id
limccn.kbmcp-vscode, frozen exe) is a separate listing; both use the same hyseed runtime,
data root, and command-line tools. The technical command/view IDs and the MCP provider ID are
still shared, so enable only one of the two extensions in a VS Code window at a time.
Highlights
- Sidebar search — vault-aware search with mode, result count, filters, and per-vault history.
- Admin console — the full hyseed admin UI in a Webview tab.
- MCP & skills — register the
hyseed MCP server and install agent skills for Claude Code,
Codex, or Cline.
- Vaults — global vaults plus a per-workspace pin.
- Backup — export/import all documents as Markdown from the
⋯ menu.
- Batteries included — the first run creates a managed Python environment and installs
hyseed + doc-convert into it; no separate installer is required.
Install
code --install-extension kbmcp-mini-vscode-<version>.vsix # local VSIX
code --install-extension limccn.kbmcp-mini-vscode # Marketplace/Open VSX, after publish
Reload the window afterwards. Commands appear under hyseed mini:.
First run
- CLI tools (recommended, on by default) — creates the managed Python environment
(
~/.local/share/hyseed/venv) and reports its script directory. PATH is reported, never
changed. Requires Python 3.12+; set kbMcp.pythonPath to an existing interpreter or venv if
auto-detection fails.
- MCP & skills (optional) — registers the MCP server and agent skills for your AI tools.
- Data folder — accept the default (
%USERPROFILE%\.local\share\hyseed) or choose another.
A default vault is created.
The guide opens automatically after a first install or a major/minor upgrade. Reopen it with
hyseed mini: Setup guide, or from Doctor in the admin console.
Upgrading from 0.1.x
0.2.0 retires the old names and locations. On activation, an empty data folder is checked for
data left by 0.1.x. Nothing is written until you choose:
- Migrate — move the old data into the new folder.
- Use existing — keep the new folder and leave the old one in place.
- Not now — hold startup until
hyseed mini: Setup data folder.
If both folders contain data, you pick one; nothing is merged. There is no downgrade path, so
back up important documents first (⋯ → Export backup).
~/.config/kb-mcp, the old HTTP token file, and kb-mcp.exe are no longer read or launched.
The vault has its own row; the top bar holds create, settings, refresh, admin, and the ⋯ menu
(admin service, MCP status, uploads, backup export/import, /git, maintenance). Results open in
VS Code's browser and offer copy/link actions on right-click.
Data and backup
Documents live in %USERPROFILE%\.local\share\hyseed by default. Keep that folder to keep your
knowledge base; updating the extension does not touch it. Use ⋯ → Export backup for a
portable Markdown copy and Import backup to restore one.
Commands
All commands are in the Command Palette under hyseed mini:.
| ID |
Purpose |
kbmcp.openAdmin |
Open the admin console tab |
kbmcp.startServer |
Start the admin server |
kbmcp.stopServer |
Stop the extension-owned server |
kbmcp.restartServer |
Restart the server |
kbmcp.openInBrowser |
Open the console in a browser |
kbmcp.showRuntimeInfo |
Show the resolved executable |
kbmcp.showLogs |
Open the output channel |
kbmcp.showMcpStatus |
Show MCP registration and vault |
kbmcp.installAgentSkills |
Install agent skills |
kbmcp.installCliTools |
Prepare/report the hyseed and doc-convert scripts |
kbmcp.removeAgentSkills |
Remove agent skills |
kbmcp.showSkillsState |
Show skills install state |
kbmcp.createVault |
Create a vault |
kbmcp.switchVault |
Switch the default vault |
kbmcp.clearProjectVault |
Clear the workspace pin |
kbmcp.listVaults |
List vaults |
kbmcp.resumeMigration |
Resume the data-folder decision |
kbmcp.openSetupGuide |
Open the setup guide |
kbmcp.cli.search |
Run hyseed search |
kbmcp.cli.get |
Run hyseed get |
kbmcp.cli.list |
Run hyseed list |
kbmcp.cli.add |
Run hyseed add |
kbmcp.cli.ingest |
Run hyseed ingest |
kbmcp.cli.import |
Run hyseed import |
kbmcp.cli.export |
Run hyseed export |
kbmcp.cli.doctor |
Run hyseed doctor |
kbmcp.cli.stats |
Run hyseed stats |
kbmcp.cli.reindex |
Run hyseed reindex |
kbmcp.cli.diff-check |
Run hyseed diff-check |
kbmcp.cli.history |
Run hyseed history |
kbmcp.cli.vaultList |
Run hyseed vault list |
kbmcp.cli.vaultCreate |
Run hyseed vault create |
kbmcp.cli.vaultSwitch |
Run hyseed vault switch |
kbmcp.cli.vaultStatus |
Run hyseed vault status |
kbmcp.cli.skillsList |
Run hyseed skills list |
kbmcp.cli.skillsShow |
Run hyseed skills show |
kbmcp.cli.skillsAdd |
Run hyseed skills add |
kbmcp.cli.skillsRemove |
Run hyseed skills remove |
kbmcp.cli.serveHttp |
Run hyseed serve (HTTP) |
CLI commands open in a dedicated hyseed mini terminal. Values containing ", %, !, or a
newline are refused for safety; run those in your own terminal.
Settings
| Setting |
Default |
Meaning |
kbMcp.runtimePath |
"" |
Explicit hyseed.exe (hyseed on POSIX); empty = auto-detect |
kbMcp.runtimeMode |
auto |
auto = build default (hyseed mini = pip; the public hyseed build = frozen); or force frozen / python |
kbMcp.pythonPath |
"" |
Python 3.12+ interpreter or existing venv for the pip runtime; empty = auto-detect |
kbMcp.adminPort |
51888 |
Preferred admin port; the next free port is used |
kbMcp.adminHost |
127.0.0.1 |
Bind address; non-loopback exposes the console (no authentication) |
kbMcp.mcpHost |
127.0.0.1 |
MCP HTTP bind address; non-loopback needs a token and firewall rule |
kbMcp.dataRoot |
"" |
Explicit data folder; empty = default |
kbMcp.projectVault |
"" |
Workspace-pinned vault |
kbMcp.converterPath |
"" |
Explicit doc-convert.exe (doc-convert on POSIX); empty = auto-detect |
Troubleshooting
| Symptom |
Fix |
| Port 51888 busy |
The next free port is used automatically |
| Python 3.12+ not found |
Install Python 3.12+ or set kbMcp.pythonPath |
| Runtime unresolved |
Check hyseed mini: Show runtime info; the managed venv is ~/.local/share/hyseed/venv |
| Ingest cannot find a converter |
Set kbMcp.converterPath to doc-convert.exe (doc-convert on POSIX) and restart the server |
| Stop leaves the port open |
The error names the PID; end it with taskkill /PID <pid> /T /F on Windows or kill -TERM -<pid> on POSIX |
| Admin tab is blank |
Start the server and check hyseed mini: Show logs |
Privacy
The admin console and MCP server bind to loopback by default. The admin console has no
authentication; only expose it on a trusted network. Credentials are stored in your user
profile (never in this extension), and agent host files are written only by the hyseed CLI
with a backup.
Development
npm install && npm run build # dist/extension.js
npm run typecheck && npm test
npm run check:docs && npm run package
License
MIT.