Index Server
- ✓Open-source license (MIT)
- ✓Actively maintained (<30d)
- ✓Documented (README)
claude mcp add index-server -- npx -y @jagilber-org/index-server{
"mcpServers": {
"index-server": {
"command": "npx",
"args": ["-y", "@jagilber-org/index-server"]
}
}
}MCP Servers overview
# Index Server
**Governed knowledge base for AI agents via the Model Context Protocol (MCP).**
[](LICENSE)
[](https://github.com/jagilber-org/index-server/packages)
[](package.json)
[](https://codecov.io/gh/jagilber-org/index-server)
---
> **🚀 [Quick Start Guide](docs/quickstart.md)** — Get running in 5 minutes with HTTPS and semantic search
>
> **📖 [Use Case Scenarios](docs/use-cases.md)** — Real-world examples for support engineers, dev teams, and knowledge management
## What Is Index Server?
Index Server is a central knowledge base that AI agents connect to via the [Model Context Protocol (MCP)](https://modelcontextprotocol.io). 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.
---
## Prerequisite: Node.js
Index Server requires **Node.js 22 or newer** before using the `npx` or source install options. Download Node.js from [nodejs.org](https://nodejs.org/) or install it with Windows Package Manager from administrator prompt:
```powershell
winget install OpenJS.NodeJS.LTS
```
## Quick Start Options
### Option A: MCP-native via `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:
```bash
npx -y @jagilber-org/index-server@latest --setup
```
To launch the server directly without the wizard:
```bash
npx -y @jagilber-org/index-server@latest --dashboard
```
> **Prefer a stable `index-server` command on `PATH`?** Install globally instead: `npm install -g @jagilber-org/index-server`, then run `index-server --setup` / `index-server --dashboard`. The GitHub Packages mirror requires authentication, so `npx` against `npm.pkg.github.com` needs a per-scope `.npmrc` plus a `GITHUB_TOKEN` with `read: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](docs/quickstart.md#upgrading-and-uninstalling) for the full reference.
#### Bootstrap HTTPS for the dashboard
Generate a self-signed TLS cert+key in one command:
```bash
# Generate at ~/.index-server/certs/, then start with HTTPS automatically
npx -y @jagilber-org/index-server@latest --init-cert --start --dashboard
```
`--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:
```powershell
winget install --id Git.Git -e --source winget
```
See [`docs/cert_init.md`](docs/cert_init.md) for setup guidance, the full flag
reference, security notes, and troubleshooting.
### Option B: VS Code MCP configuration
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.
### Option C: Docker
Run the server in a container. Choose this when you want isolated runtime dependencies or you are preparing a container-based deployment.
```bash
docker compose up # HTTP on :8787
docker compose up tls # HTTPS on :8787 with self-signed certs
```
See [Docker Deployment Guide](docs/docker_deployment.md) for volumes, environment variables, and production configuration.
### Option D: From source
Clone and build the repository yourself. Choose this when you want to modify the server, run tests locally, or work from the latest source.
```bash
git clone https://github.com/jagilber-org/index-server.git
cd index-server
npm install
npm run build
```
After the build completes, run the interactive setup wizard to generate `.env` and your MCP client config:
```bash
node dist/server/index-server.js --setup
# or
npm run setup
```
## Configure Your MCP Client
> **Best practice:** set `INDEX_SERVER_DIR` to a well-known data folder such as `C:/mcp/index-data/instructions` or `~/.index-server/instructions`. Keep it outside VS Code and MCP client config paths so backups and reinstalls do not move or overwrite your catalog.
<details>
<summary>VS Code (`.vscode/mcp.json`)</summary>
```jsonc
{
"servers": {
"index-server": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@jagilber-org/index-server@latest",
"--dashboard"
],
"env": {
"INDEX_SERVER_DIR": "C:/mcp/index-data/instructions",
"INDEX_SERVER_LOG_LEVEL": "info"
}
}
}
}
```
</details>
<details>
<summary>Copilot CLI (`~/.copilot/mcp-config.json`)</summary>
```json
{
"mcpServers": {
"index-server": {
"type": "stdio",
"command": "npx",
"args": ["-y", "@jagilber-org/index-server@latest", "--dashboard"],
"env": {
"INDEX_SERVER_DIR": "C:/mcp/index-data/instructions",
"INDEX_SERVER_LOG_LEVEL": "info"
},
"tools": ["*"]
}
}
}
```
</details>
<details>
<summary>Claude Desktop (`claude_desktop_config.json`)</summary>
```json
{
"mcpServers": {
"index-server": {
"type": "stdio",
"command": "npx",
"args": ["-y", "@jagilber-org/index-server@latest", "--dashboard"],
"env": {
"INDEX_SERVER_DIR": "C:/mcp/index-data/instructions",
"INDEX_SERVER_LOG_LEVEL": "info"
},
"tools": ["*"]
}
}
}
```
</details>
See [MCP Configuration Guide](docs/mcp_configuration.md) for advanced patterns, environment variables, and TLS setup.
### Verify
- Server appears in your MCP client's server list
- Run `tools/list` to see 50+ available tools
- Run `prompts/list` to discover setup/config/verification prompts
- Run `resources/list` to discover quickstart and configuration guides
- Dashboard (if enabled) at `http://localhost:8787`
### Built-in MCP prompts and resources
Clients that support MCP prompts/resources can use the built-in read-only setup guidance surface:
- Prompts: `setup_index_server`, `configure_index_server`, `verify_index_server`
- Resources: `index://guides/quickstart`, `index://guides/client-config`, `index://guides/verification`
These surfaces are intentionally static and read-only. Use them for setup help, config review, and verification/troubleshooting without changing server state.
### Enable Semantic Search (optional)
Add one env variable to any MCP config above to get embedding-based similarity search:
```jsonc
"env": {
"INDEX_SERVER_SEMANTIC_ENABLED": "1"
}
```
First search downloads a ~90MB model (one-time). After that, all searches automatically use semantic mode — no code changes needed. See [Quick Start Guide](docs/quickstart.md#4-enable-semantic-search-optional) for GPU acceleration and offline options.
---
## Teach Your Agents
Copy-paste these instructions so your AI agents discover and use the shared knowledge base automatically.
### Global instructions (`~/.github/copilot-instructions.md`)
```markdown
## Index Server
- If index-server MCP tools are available, use them as a shared knowledge base for validated cross-repo patterns and standards.
- Search before creating: use `index_search` with 2-5 keywords, then `index_dispatch` with action="get" for details.
- After learning something reusable, add it with `index_add` or promote from a repo with `promote_from_repo`.
- Index entries are promoted snapshots — always prefer current repo files over index content.
```
### Per-repo instructions (`.github/copilot-instructions.md`)
```markdown
## Index Server Integration
- Search order: repo files → .instructions/ → index-server → external docs
- **Search before add/promote**: Always search for existing guidance before creating new instructions. Use `index_search` with relevant keywords and inspect top results.
- To retrieve: `index_search` → `index_dispatch` with action="get" and the instruction ID
- To contribute: validate locally in `.instructions/` first, then promote with `promote_from_repo`
- To maintain: use `index_dispatch` with action="groom" to clean duplicates, `index_governanceUpdate` to deprecate stale content
- Current repo state always wins over promoted index snapshots
```
---
## Dashboard
The optional admin dashboard provides a Grafana-dark themed interface for monitoring and catalog management:

| Panel | Description |
|-------|-------------|
| **Overview** | Server health, uptime, system status |
| **Configuration** | Runtime flags, overlay editing, reload status, and redacted lifecycle-hook 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](docs/dashboard.md) for full details. REST client scripts (`scripts/index-server-client.ps1` and `scripts/index-server-client.sh`) What people ask about index-server
What is jagilber-org/index-server?
+
jagilber-org/index-server is mcp servers for the Claude AI ecosystem. Index Server It has 0 GitHub stars and its last recorded update is dated 2026-09-15.
How do I install index-server?
+
You can install index-server by cloning the repository (https://github.com/jagilber-org/index-server) or following the README instructions on GitHub. ClaudeWave also provides quick install blocks on this page.
Is jagilber-org/index-server safe to use?
+
Our security agent has analyzed jagilber-org/index-server and assigned a Trust Score of 82/100 (tier: Trusted). See the full breakdown of passed checks and flags on this page.
Who maintains jagilber-org/index-server?
+
jagilber-org/index-server is maintained by jagilber-org. The last recorded GitHub activity is dated 2026-09-15, with 0 open issues.
Are there alternatives to index-server?
+
Yes. On ClaudeWave you can browse similar mcp servers at /categories/mcp, sorted by popularity or recent activity.
Deploy index-server to your cloud
Ship this repo to production in minutes. Each platform spins up its own environment with editable env vars.
Maintain this repo? Add a badge to your README
Drop the badge into your GitHub README to show it's tracked on ClaudeWave. Each badge links back to this page and reflects the live Trust Score.
[](https://claudewave.com/repo/jagilber-org-index-server)<a href="https://claudewave.com/repo/jagilber-org-index-server"><img src="https://claudewave.com/api/badge/jagilber-org-index-server" alt="Featured on ClaudeWave: jagilber-org/index-server" width="320" height="64" /></a>More MCP Servers
Fair-code workflow automation platform with native AI capabilities. Combine visual building with custom code, self-host or cloud, 400+ integrations.
User-friendly AI Interface (Supports Ollama, OpenAI API, ...)
An open-source AI agent that brings the power of Gemini directly into your terminal.
Real-time global intelligence dashboard. AI-powered news aggregation, geopolitical monitoring, and infrastructure tracking in a unified situational awareness interface
🕷️ An adaptive Web Scraping framework that handles everything from a single request to a full-scale crawl! Don't be shy, join here: https://discord.gg/EMgGbDceNQ
The fastest path to AI-powered full stack observability, even for lean teams.