The full upstream README, mirrored here for reference. Install config, tool schemas, adoption signals, and an original overview live on the Index Server listing page.
Governed knowledge base for AI agents via the Model Context Protocol (MCP).
🚀 Quick Start Guide — Get running in 5 minutes with HTTPS and semantic search
📖 Use Case Scenarios — Real-world examples for support engineers, dev teams, and knowledge management
Index Server is a central knowledge base that AI agents connect to via the Model Context Protocol (MCP). Agents search, read, and contribute knowledge that persists across sessions and repositories — building a governed catalog with versioning, audit trails, and approval workflows. An optional admin dashboard provides real-time monitoring of catalog health, usage analytics, and drift detection.
Index Server requires Node.js 22 or newer before using the npx or source install options. Download Node.js from nodejs.org or install it with Windows Package Manager from administrator prompt:
npx (recommended)Run the latest published package without cloning the repo. Choose this when you want the fastest local start and already have Node.js installed.
Start with the setup wizard so it can generate the right MCP client config for VS Code, Copilot CLI, or Claude Desktop:
To launch the server directly without the wizard:
Prefer a stable
index-servercommand onPATH? Install globally instead:npm install -g @jagilber-org/index-server, then runindex-server --setup/index-server --dashboard. The GitHub Packages mirror requires authentication, sonpxagainstnpm.pkg.github.comneeds a per-scope.npmrcplus aGITHUB_TOKENwithread:packages.
Upgrading or hitting "unsupported INDEX_SERVER key" / "Cannot find module" errors after install? Run the wizard-driven cleanup:
index-server --uninstall(aliases:--remove,--clean). It can selectively remove data paths, MCP client entries, and the global package, or wipe everything with--non-interactive --all. See Upgrading and Uninstalling for the full reference.
Generate a self-signed TLS cert+key in one command:
--init-cert alone exits after generation. --init-cert --start continues
into normal startup with the generated cert wired into --dashboard-tls
automatically.
Prerequisite: openssl must be on PATH. On Windows, Git for Windows
(git.exe) is the recommended TLS prerequisite because it ships an openssl
build, typically at C:\Program Files\Git\usr\bin\openssl.exe. If it is
missing, install Git for Windows from an admin prompt:
See docs/cert_init.md for setup guidance, the full flag
reference, security notes, and troubleshooting.
Use VS Code's built-in MCP support with .vscode/mcp.json or your global mcp.json. You can add the server entry manually or run npx -y @jagilber-org/index-server@latest --setup to generate the config for you.
Run the server in a container. Choose this when you want isolated runtime dependencies or you are preparing a container-based deployment.
See Docker Deployment Guide for volumes, environment variables, and production configuration.
Clone and build the repository yourself. Choose this when you want to modify the server, run tests locally, or work from the latest source.
After the build completes, run the interactive setup wizard to generate .env and your MCP client config:
Best practice: set
INDEX_SERVER_DIRto a well-known data folder such asC:/mcp/index-data/instructionsor~/.index-server/instructions. Keep it outside VS Code and MCP client config paths so backups and reinstalls do not move or overwrite your catalog.
See MCP Configuration Guide for advanced patterns, environment variables, and TLS setup.
tools/list to see 50+ available toolsprompts/list to discover setup/config/verification promptsresources/list to discover quickstart and configuration guideshttp://localhost:8787Clients that support MCP prompts/resources can use the built-in read-only setup guidance surface:
setup_index_server, configure_index_server, verify_index_serverindex://guides/quickstart, index://guides/client-config, index://guides/verificationThese surfaces are intentionally static and read-only. Use them for setup help, config review, and verification/troubleshooting without changing server state.
Add one env variable to any MCP config above to get embedding-based similarity search:
First search downloads a ~90MB model (one-time). After that, all searches automatically use semantic mode — no code changes needed. See Quick Start Guide for GPU acceleration and offline options.
Copy-paste these instructions so your AI agents discover and use the shared knowledge base automatically.
~/.github/copilot-instructions.md).github/copilot-instructions.md)The optional admin dashboard provides a Grafana-dark themed interface for monitoring and catalog management:

| Panel | Description |
|---|---|
| Overview | Server health, uptime, system status |
| Instructions | Catalog browser with usage counts and governance status |
| Monitoring | Performance metrics and error rates |
| Maintenance | Backup, repair, and catalog operations |
| Graph | Mermaid dependency graph of instructions |
See dashboard.md for full details. REST client scripts (scripts/index-server-client.ps1 and scripts/index-server-client.sh) provide full CRUD access for CI pipelines and subagents without MCP — see tools.md.
| Document | Purpose |
|---|---|
| Quick Start | Get running in 5 minutes |
| Use Cases | Real-world scenarios and workflows |
| API Reference | Complete MCP tool documentation |
| MCP Configuration | Setup patterns for all environments |
| Server Configuration | Environment variables and CLI options |
| Architecture | System design and component overview |
| Admin Dashboard | UI features, drift monitoring, maintenance |
| Content Guidance | Local vs. central instruction guidance |
| Network Privacy | Network transparency and offline deployment |
| Documentation Index | Full documentation map |
Index Server makes zero telemetry calls and sends no data to external services during normal operation. The dashboard binds to localhost only by default. Mutations are audit-logged, can be forced read-only with INDEX_SERVER_MUTATION=0, and fresh installations gate writes until human confirmation via the bootstrap workflow. Optional subsystems can be disabled at boot (e.g. INDEX_SERVER_MESSAGING_ENABLED=0 to remove all messaging_* MCP tools and the dashboard Messaging tab).
See SECURITY.md for vulnerability reporting, PRIVACY.md for data collection policy and optional outbound connections, and Network Privacy Guide for offline deployment and verification.
See CONTRIBUTING.md for the full workflow, code standards, and testing requirements.
MIT License — see LICENSE file for details.
Built with Model Context Protocol (MCP), TypeScript, Node.js, Vitest, and AJV.