Context7
Up-to-date docs for AI agents
作者提供的说明(英文原文)
MCP instruction indexing server with search, CRUD, validation, and cross-repo knowledge promotion.
这三项永远不会合并成一个分数:意见、测量和人气是不同的东西。
我们还没有为它写通俗的介绍。下面是我们从注册中心读取到的事实。
选择你使用的 AI 应用,然后复制设置。
你需要
你用的是哪个应用?
在上方选择你的应用。我们会记住它,下次按钮会显示“安装到 …”。
打开 Claude Desktop → Settings → Developer → Edit Config,把下面的内容粘贴到 claude_desktop_config.json
{
"mcpServers": {
"index": {
"command": "npx",
"args": [
"-y",
"@jagilber-org/index-server"
]
}
}
}在终端中运行这条命令
claude mcp add index -- npx -y @jagilber-org/index-server粘贴到项目中的 .cursor/mcp.json,或 ~/.cursor/mcp.json
{
"mcpServers": {
"index": {
"command": "npx",
"args": [
"-y",
"@jagilber-org/index-server"
]
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
粘贴到项目中的 .vscode/mcp.json
{
"servers": {
"index": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@jagilber-org/index-server"
]
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
这个服务器在你的电脑上运行,而 ChatGPT 只能连接互联网上的服务器。请选择其他应用。
你的选择通过 Cookie 保存在这台设备上,无需账户。
这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。
它在你的电脑上运行;安装后,工具列表会显示在你的 AI 应用中。
我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月7日
注册名称已通过 GitHub 账户 jagilber-org 验证,该账户拥有此仓库
我们还没有从 GitHub 读取这个仓库
我们还没有从 GitHub 读取这个仓库
它在你的电脑上运行,没有互联网端点
在你的电脑上运行,改用本地设置
它在你的电脑上运行;我们只能读取互联网端点的工具列表
与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。
它在 1 项适用的基础检查中通过了 1 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。
注册中心没有列出必需的密钥,不过有些服务器会在首次使用时要求你登录。
它在你的电脑上运行。你的 AI 应用会在需要时启动它,数据不会经过作者的服务器(除非它自己调用在线服务)。
GitHub 仓库最后更新于–,最新版本(1.42.4)于2个月前进入注册中心。
支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。你的电脑上还需要有 Node.js。
同一分类中有:Context7, Codebase Memory, Exa
同一分类中其他作者的服务器,按星标数排序。
如何看卡片:★ GitHub 星标i三大支柱:评价 · 检查 · 使用情况i更新 = 最新版本发布到注册中心的时间i
Up-to-date docs for AI agents
Codebase knowledge graph for AI agents — 162 languages, sub-ms queries, 99% fewer tokens.
Connect AI agents to Exa for web search, content fetching, and multi-step research.
按原文从作者的仓库复制。PopNx MCP 没有审查或背书其内容。HTML、图片和脚本已被移除。链接会离开本站。
Governed knowledge base for AI agents via the Model Context Protocol (MCP).
🚀 [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
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:
winget install OpenJS.NodeJS.LTS
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:
npx -y @jagilber-org/index-server@latest --setup
To launch the server directly without the wizard:
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 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:
# 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:
winget install --id Git.Git -e --source winget
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.
docker compose up # HTTP on :8787
docker compose up tls # HTTPS on :8787 with self-signed certs
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.
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:
node dist/server/index-server.js --setup
npm run setup
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.
VS Code (.vscode/mcp.json)
{
"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" } } } }
Copilot CLI (~/.copilot/mcp-config.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": ["*"] } } }
Claude Desktop (claude_desktop_config.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": ["*"] } } }
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:
"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 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)## Index Server
index_search with 2-5 keywords, then index_dispatch with action="get" for details.index_add or promote from a repo with promote_from_repo.
.github/copilot-instructions.md)## Index Server Integration
index_search with relevant keywords and inspect top results.index_search → index_dispatch with action="get" and the instruction ID.instructions/ first, then promote with promote_from_repoindex_dispatch with action="groom" to clean duplicates, index_governanceUpdate to deprecate stale content
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 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 |
| Lifecycle Hooks | Post-commit automation design, configuration, security, and troubleshooting |
| 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 **ze
只显示了开头部分;其余内容请在仓库中阅读