原型 · 预览版:收录官方注册中心里的全部服务器,每 30 分钟同步一次。评价和账户功能将在后续阶段推出。
PopNx MCP为使用 AI 的人准备的 MCP 服务器 · 用大白话讲清楚

mcp-digger

作者:janeksm版本 1.1.3i★ –i在你的电脑上运行
注册名称io.github.janeksm/mcp-digger

安装

概览

作者提供的说明(英文原文)

Progressive on-demand access to .NET NuGet package source for AI coding agents.

PopNx MCP 的三大支柱

这三项永远不会合并成一个分数:意见、测量和人气是不同的东西。

它能帮你做什么

我们还没有为它写通俗的介绍。下面是我们从注册中心读取到的事实。

  • 连接方式: 在你的电脑上运行
  • 传输方式: stdio
  • 分类: 开发者工具

安装

选择你使用的 AI 应用,然后复制设置。

安装之前

  • 基础检查:1 项中通过 1 项
  • 在你的电脑上运行,拥有你的用户账户的权限(文件、网络、应用)。
  • 注册中心没有列出需要填写的密钥。

你需要

  • npm已安装 Node.js(用于 npx 命令)

你用的是哪个应用?

在上方选择你的应用。我们会记住它,下次按钮会显示“安装到 …”。

打开 Claude Desktop → Settings → Developer → Edit Config,把下面的内容粘贴到 claude_desktop_config.json

{
  "mcpServers": {
    "digger": {
      "command": "npx",
      "args": [
        "-y",
        "mcp-digger"
      ]
    }
  }
}

在终端中运行这条命令

claude mcp add digger -- npx -y mcp-digger

在 Cursor 中打开

或者自己复制设置

粘贴到项目中的 .cursor/mcp.json,或 ~/.cursor/mcp.json

{
  "mcpServers": {
    "digger": {
      "command": "npx",
      "args": [
        "-y",
        "mcp-digger"
      ]
    }
  }
}

浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。

在 VS Code 中打开

或者自己复制设置

粘贴到项目中的 .vscode/mcp.json

{
  "servers": {
    "digger": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "mcp-digger"
      ]
    }
  }
}

浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。

这个服务器在你的电脑上运行,而 ChatGPT 只能连接互联网上的服务器。请选择其他应用。

你的选择通过 Cookie 保存在这台设备上,无需账户。

这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。

它能做什么

它在你的电脑上运行;安装后,工具列表会显示在你的 AI 应用中。

基础检查i

我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月7日

  • ✓ 通过

    作者与仓库一致

    注册名称已通过 GitHub 账户 janeksm 验证,该账户拥有此仓库

  • … 尚未检查

    仍在维护

    我们还没有从 GitHub 读取这个仓库

  • … 尚未检查

    有许可证

    我们还没有从 GitHub 读取这个仓库

  • – 不适用

    端点有响应

    它在你的电脑上运行,没有互联网端点

  • – 不适用

    使用 OAuth 登录

    在你的电脑上运行,改用本地设置

  • … 尚未检查

    工具描述中没有隐藏指令

    它在你的电脑上运行;我们只能读取互联网端点的工具列表

与“开发者工具”中的其他服务器比较i

  • 星标数多于此分类中其他 4906 个服务器的 0%
  • 发布到注册中心的时间比此分类中其他 4906 个服务器的 17% 更新
  • 基础检查结果等于或优于此分类中其他 4906 个服务器的 100%

与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。

常见问题

mcp-digger 安全吗?

它在 1 项适用的基础检查中通过了 1 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。

它需要哪些密钥或代码?

注册中心没有列出必需的密钥,不过有些服务器会在首次使用时要求你登录。

它在我的电脑上运行还是在云端?

它在你的电脑上运行。你的 AI 应用会在需要时启动它,数据不会经过作者的服务器(除非它自己调用在线服务)。

它还在维护吗?

GitHub 仓库最后更新于–,最新版本(1.1.3)于5个月前进入注册中心。

哪些应用可以使用它?

支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。你的电脑上还需要有 Node.js。

有什么可以替代它?

同一分类中有:GitHub, Desktop Commander, Cloudflare MCP

替代选择

同一分类中其他作者的服务器,按星标数排序。

如何看卡片:★ GitHub 星标i三大支柱:评价 · 检查 · 使用情况i更新 = 最新版本发布到注册中心的时间i

GitHub

作者:github

Connect AI assistants to GitHub - manage repos, issues, PRs, and workflows through natural language.

电脑或云端★ 34,245MIT4天前更新
安装

Desktop Commander

作者:wonderwhy-er

MCP server for terminal commands, file operations, and process management

在你的电脑上运行★ 10,225MIT16天前更新
安装

Cloudflare MCP

作者:cloudflare

Cloudflare MCP servers

在云端运行★ 4,446Apache-2.014个月前更新
安装

作者的 README

打开 README

按原文从作者的仓库复制。PopNx MCP 没有审查或背书其内容。HTML、图片和脚本已被移除。链接会离开本站。

mcp-digger

Code context for AI coding agents. Progressive, on-demand access to your internal .NET / NuGet package source — agents browse, search, and read private C# libraries autonomously, with zero workspace pollution.

⚠ Scope: .NET / C# only. mcp-digger indexes NuGet-style repos containing .csproj packages and .cs source files. It is not a general-purpose source indexer — other languages (TypeScript, Python, Java, Go, etc.) are out of scope.


✨ Why

Public NuGet packages have documentation ecosystems — API references, tutorials, community Q&A. Tools like context7 serve that well.

Internal .NET packages often have source code as their primary documentation. mcp-digger turns that source into structured, searchable, token-efficient context that any MCP-compatible agent can consume — bridging the documentation gap in private C# library ecosystems.

Without it:

  • 🐢 Slow context gathering — git clone + find + grep + cat chains burn tokens on infrastructure before useful context is retrieved.
  • 🔍 No semantic search — file system tools find text, not API surfaces. "Every type implementing this interface" means writing extraction scripts on demand.
  • 💸 Token waste — agents read whole files when a single method signature would do.
  • 🖱 Permission click fatigue — dozens of shell-command approvals per session.
  • 🧹 Workspace noise — referenced repos pollute file search, git status, and the agent's context window.

With it:

  • ✅ Correct code on the first try — real signatures, generic constraints, interface contracts, base class patterns.
  • ⚡ Self-service context — point the agent at your NuGet repos once; it browses, searches, and reads autonomously.
  • 🪙 Progressive disclosure — 200-token overview before 5,000 tokens of source. Most questions resolve at L1 or L2.
  • 🧼 Zero workspace pollution — managed clones live outside your project tree.
  • 🌐 Any Git host — GitHub, GitLab, Azure DevOps, Bitbucket, self-hosted — HTTPS or SSH.

🛠 How it works

Ten purpose-built tools, escalating from broad to deep. The agent picks the cheapest tool that answers its question.

                                                           ┌─→ 📦 dig_package_overview ─┐

│ (docs, key types) │ 🩺 dig_status → 📋 dig_list → 📖 dig_repo_overview ┤ ├─→ 🔎 dig_lookup → 📄 dig_file (health) (discover) (README + summaries) │ │ (symbol → file) (full source) ├─→ 📁 dig_package_files ────┤ │ (file listing) │ └────────────────────────────┴─→ 📝 dig_signatures (stripped API)

Operational: 🔄 dig_refresh (force cache invalidation, on demand) Bootstrap: 🌱 dig_init (only when no config exists)


🧰 Tools (10)

TierToolWhat it does
Health🩺 dig_statusConfig summary, connectivity check per repo, index health stats
Discovery📋 dig_listLists configured repos + their packages with one-line .csproj summaries
L1 Overview📖 dig_repo_overviewRepo README.md (filtered to architecture sections) + package count
L1 Overview📦 dig_package_overviewPackage docs, key interfaces, abstract classes, file count
L1 Overview📁 dig_package_files.cs file listing for a package, with directory summary header
L2 Search🔎 dig_lookupIndexed symbol search — symbol, implements, or references mode. Cross-package supported.
L2 Search📝 dig_signaturesStripped C# public API surface filtered by keyword (no method bodies)
L3 Source📄 dig_fileFull source of a single file (capped at 1 MB)
Operational🔄 dig_refreshForce-rebuild caches for one or all repos
Bootstrap🌱 dig_initCreates starter .digger/config.json (registered only when no config is found)

Search modes for `dig_lookup`:

ModeFinds
symbol (default)Type/method declarations matching a name substring
implementsClasses/structs implementing an interface or extending a base class
referencesFiles referencing a given type name (word-boundary, case-sensitive)

🚀 Quick start

Install
npm install -g mcp-digger

or run directly

npx mcp-digger

Requires Node.js 20+, git on PATH, and a .NET / C# source repo (NuGet packages with .csproj + .cs sources).

Minimal config

Create .digger/config.json in your workspace root:

{

"repos": [ { "name": "my-libraries", "url": "https://github.com/org/shared-libs.git", "packageFilter": "MyCompany.*", "auth": { "strategy": "pat", "PAT-EnvVarName": "GIT_PAT" } } ] }

Don't have a config yet? Start the server, then call dig_init to scaffold one.

Agent setup

Claude Code

Add to .claude/settings.json or project settings:

{

"mcpServers": { "digger": { "command": "npx", "args": ["-y", "mcp-digger"] } } }

</details>

Codex CLI

Add to ~/.codex/config.toml (or .codex/config.toml for project-scoped):

[mcp_servers.mcp-digger]

command = "npx" args = ["-y", "mcp-digger"]

</details>

Claude Desktop

Add to claude_desktop_config.json:

  • Windows: %APPDATA%\Claude\claude_desktop_config.json
  • macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
{

"mcpServers": { "digger": { "command": "npx", "args": ["-y", "mcp-digger"] } } }

</details>

VS Code

Add to .vscode/mcp.json (workspace) or your user mcp.json:

{

"servers": { "digger": { "type": "stdio", "command": "npx", "args": ["-y", "mcp-digger"] } } }

</details>

Cursor

Add to .cursor/mcp.json (project) or ~/.cursor/mcp.json (global):

{

"mcpServers": { "digger": { "command": "npx", "args": ["-y", "mcp-digger"] } } }

</details>
Verify

Once connected, ask your agent to call dig_status — it reports config validation, per-repo connectivity, and index health.


⚙ Configuration

Repos & packages

A repos[] entry has three ways to declare packages:

OptionBehavior
"packages": ["A", "B"]Explicit list — these packages plus any local sibling project they pull in via (transitive, sibling-only).
"packageFilter": "MyCompany.*"Wildcard — narrows to packages matching the prefix, found via .sln/.slnx/Directory.Packages.props workspace scan. Follows transitive ProjectReference links automatically.
*(omit both)*Auto-discover all non-test .csproj directories under sourceRoot (recursive — nested layouts supported).

sourceRoot defaults to "src" — set it to whichever directory holds your package folders. The walk is recursive, so nested layouts like src/Group/Foo/Foo.csproj are picked up.

Branch tracking

By default, managed clones use the repo's default branch. Pin to a specific one:

{

"repos": [ { "name": "my-libraries", "url": "https://github.com/org/shared-libs.git", "branch": "develop" } ] }

The branch is used for both initial clone and subsequent fetches. Only applies to managed clones — for local repos, you control the checked-out branch yourself.

Local repos (Mode B)

Skip managed cloning when the repo is already on disk. The local path is read-only — mcp-digger never fetches or modifies it.

{

"localRepos": { "my-libraries": "C:/repos/shared-libs" }, "repos": [ { "name": "my-libraries", "sourceRoot": "src" } ] }

</details>

Auth strategies

StrategyBehavior
auto *(default)*Try unauthenticated, fall back to PAT if set
patAlways use PAT (fatal if not set)
noneNever authenticate

PATs can be inline ("PAT": "...") or via environment variable indirection ("PAT-EnvVarName": "MY_TOKEN"). The .env file in your workspace root is loaded automatically — values containing # should be quoted.

Environment variables

VariableDefaultPurpose
DIGGER_CONFIG.digger/config.jsonOverride config file path
MANAGED_SOURCE_DIR.digger/sourceOverride managed clone directory
CACHE_DIR.digger/cacheOverride cache directory

Secrets (PAT values) belong in .env or the real environment — never as env vars in this table.


🩺 Diagnostics & recovery

SymptomFirst callThen
Connection / auth issuesdig_statusReports auth attempts, exact error, actionable hints
"No matches" but you expect somedig_refresh Force-rebuilds index, picks up new extraction logic
Server starts but no tools visibledig_statusIf unconfigured, only dig_status + dig_init are registered
Need a config from scratchdig_initScaffolds .digger/config.json (atomic — won't overwrite existing)
Debug log

Enable debug logging in your config:

{ "debug": true, "repos": [...] }

Logs go to .digger/debug.log (capped at 5 MB, auto-truncated). Critical errors and crash output land in .digger/error.log.


💬 Feedback

Tried mcp-digger on your codebase? Share what worked, what broke, what's missing in GitHub Discussions. Bug reports go in Issues.


📜 License

MIT License — see LICENSE.

问 PopNx