ต้นแบบ · รุ่นทดลอง: มีทุก server ในทะเบียนทางการ อัปเดตทุก 30 นาที รีวิวและบัญชีผู้ใช้จะมาในขั้นถัดไป
PopNx MCPที่รวม MCP สำหรับคนใช้ AI · อธิบายเป็นภาษาคน

DotNetSearch

โดย puneethdc99รุ่น 1.0.3i★ –iรันบนเครื่อง
ชื่อใน registryio.github.puneethdc99/dotnetsearch

ติดตั้ง

ภาพรวม

คำอธิบายจากผู้ทำ (ภาษาอังกฤษตามต้นฉบับ)

Token-efficient MCP server for codebase search, NuGet decompilation, and deep PDF reading.

สามเสาของ PopNx MCP

สามเรื่องนี้ไม่รวมเป็นคะแนนเดียว เพราะความเห็น การวัด และความนิยม เป็นคนละเรื่องกัน

ใช้ทำอะไรได้

ตัวนี้ยังไม่ได้เรียบเรียงเป็นภาษาไทย ด้านล่างคือข้อเท็จจริงที่เราอ่านจาก registry

  • การเชื่อมต่อ: รันบนเครื่อง
  • ช่องทาง (transport): stdio
  • หมวด: เอกสาร ตาราง และงานออฟฟิศ

ติดตั้ง

เลือกโปรแกรม AI ที่คุณใช้ แล้วคัดลอกค่าตั้งไปวาง

ก่อนติดตั้ง

คุณใช้แอปไหน

เลือกแอปด้านบน เราจำไว้ให้ ครั้งหน้าปุ่มจะขึ้นว่า “ติดตั้งลง …”

เปิด Claude Desktop → Settings → Developer → Edit Config แล้ววางค่านี้ในไฟล์ claude_desktop_config.json

{
  "mcpServers": {
    "dotnetsearch": {
      "command": "dnx",
      "args": [
        "PuneethDC.DotNetSearch",
        "--yes"
      ]
    }
  }
}

พิมพ์คำสั่งนี้ใน Terminal

claude mcp add dotnetsearch -- dnx PuneethDC.DotNetSearch --yes

เปิดใน Cursor

หรือคัดลอกค่าตั้งเอง

วางในไฟล์ .cursor/mcp.json ของโปรเจกต์ หรือ ~/.cursor/mcp.json

{
  "mcpServers": {
    "dotnetsearch": {
      "command": "dnx",
      "args": [
        "PuneethDC.DotNetSearch",
        "--yes"
      ]
    }
  }
}

เบราว์เซอร์จะถามก่อนเปิดแอป จากนั้นแอปแสดงค่าตั้งให้ตรวจแล้วกดยืนยัน ช่อง key เว้นว่างไว้ให้คุณใส่เอง

เปิดใน VS Code

หรือคัดลอกค่าตั้งเอง

วางในไฟล์ .vscode/mcp.json ของโปรเจกต์

{
  "servers": {
    "dotnetsearch": {
      "type": "stdio",
      "command": "dnx",
      "args": [
        "PuneethDC.DotNetSearch",
        "--yes"
      ]
    }
  }
}

เบราว์เซอร์จะถามก่อนเปิดแอป จากนั้นแอปแสดงค่าตั้งให้ตรวจแล้วกดยืนยัน ช่อง key เว้นว่างไว้ให้คุณใส่เอง

ตัวนี้รันในเครื่องคุณ แต่ ChatGPT ต่อได้เฉพาะ server บนอินเทอร์เน็ต ลองเลือกแอปอื่น

ตัวเลือกเก็บในคุกกี้บนเครื่องนี้ ไม่ต้องมีบัญชี

ค่าตั้งนี้สร้างจากข้อมูลใน registry ของผู้ทำ ถ้าไม่ตรงกับ README ให้เชื่อ README

ทำอะไรได้บ้าง

รันในเครื่องคุณ รายการเครื่องมือจะขึ้นในแอป AI หลังติดตั้ง

ผลตรวจเบื้องต้นi

เราตรวจจากข้อมูลที่ใครก็เปิดดูได้ ยังไม่ได้อ่านโค้ด ข้อที่ไม่เกี่ยวกับตัวนี้ไม่นับในตัวหาร · ตรวจเมื่อ 6 พ.ย. 2569

  • ✓ ผ่าน

    ตัวตนผู้ทำตรงกับ repo

    ชื่อใน registry ยืนยันด้วยบัญชี GitHub puneethdc99 ซึ่งเป็นเจ้าของ repo

  • … ยังไม่ตรวจ

    ยังมีคนดูแล

    ยังไม่ได้อ่านข้อมูล repo จาก GitHub

  • … ยังไม่ตรวจ

    มีสัญญาอนุญาต (license)

    ยังไม่ได้อ่านข้อมูล repo จาก GitHub

  • – ไม่เกี่ยว

    endpoint ตอบ

    ตัวนี้รันบนเครื่องคุณ ไม่มี endpoint บนอินเทอร์เน็ต

  • – ไม่เกี่ยว

    ล็อกอินแบบ OAuth

    ตัวนี้รันบนเครื่อง ใช้ค่าที่ตั้งในเครื่องแทน

  • … ยังไม่ตรวจ

    คำอธิบายเครื่องมือไม่มีคำสั่งแอบแฝง

    รันในเครื่องคุณ เราอ่านรายการเครื่องมือได้เฉพาะตัวที่มี endpoint บนอินเทอร์เน็ต

เทียบกับตัวอื่นในหมวด เอกสาร ตาราง และงานออฟฟิศi

  • ดาวมากกว่า 0% ของอีก 2174 ตัวในหมวดนี้
  • ส่งรุ่นใหม่เข้า registry ล่าสุดกว่า 74% ของอีก 2174 ตัวในหมวดนี้
  • ผลตรวจเบื้องต้นดีกว่าหรือเท่ากับ 100% ของอีก 2174 ตัวในหมวดนี้

เทียบกับทุก server ที่ยังใช้งานในหมวดนี้ทั้งทะเบียน ดาวนับเฉพาะเมื่อผู้ลงทะเบียนเป็นเจ้าของ repo

คำถามที่พบบ่อย

DotNetSearch ปลอดภัยไหม?

จากการตรวจเบื้องต้นของเรา ผ่าน 1 จาก 1 ข้อที่ตรวจได้ เรายังไม่ได้อ่านโค้ด ก่อนใส่กุญแจหรือ token ให้ดูว่า server ขอสิทธิ์อะไร และเลือกกุญแจที่ทำได้เท่าที่จำเป็น

ต้องใช้กุญแจหรือรหัสอะไรบ้าง?

registry ไม่ได้ระบุว่าต้องใช้กุญแจ แต่บางตัวจะขอให้ล็อกอินตอนใช้ครั้งแรก

ตัวนี้รันบนเครื่องหรือบนคลาวด์?

รันบนเครื่องของคุณ โปรแกรม AI จะเปิด server ขึ้นมาเองเมื่อใช้ ข้อมูลไม่ต้องผ่านเซิร์ฟเวอร์ของผู้ทำ (ยกเว้นตัวที่ไปเรียกบริการออนไลน์ต่อ)

ยังมีคนดูแลอยู่ไหม?

repo บน GitHub มีการแก้โค้ดล่าสุด – และส่งรุ่นล่าสุด (1.0.3) เข้า registry 11 วันที่ผ่านมา

ใช้กับโปรแกรมไหนได้บ้าง?

โปรแกรมที่รองรับ MCP เช่น Claude Desktop, Claude Code, Cursor และ VS Code ตัวนี้ต้องมี .NET ในเครื่องด้วย

มีตัวไหนใช้แทนได้บ้าง?

ในหมวดเดียวกันมี Agent-Native Calendar, Excel MCP Server, MCP Server for Excel

ตัวที่ใช้แทนได้

server หมวดเดียวกันจากผู้ทำคนอื่น เรียงตามดาว

อ่านการ์ด:★ ดาว GitHubiสามเสา: รีวิว · ผลตรวจ · การใช้งานiอัปเดต = วันที่ส่งรุ่นล่าสุดเข้า registryi

Agent-Native Calendar

โดย BuilderIO

Agent-Native Google Calendar - manage events, sync, and public booking

รันบนคลาวด์★ 7,620MITอัปเดต 2 เดือนที่ผ่านมา
ติดตั้ง

Excel MCP Server

โดย haris-musa

ให้ AI สร้างและแก้ไฟล์ Excel ได้เอง ทั้งสูตร กราฟ และ PivotTable โดยไม่ต้องมีโปรแกรม Excel ในเครื่อง

รันบนเครื่อง★ 4,276MITอัปเดต 6 วันที่ผ่านมา
ติดตั้ง

MCP Server for Excel

โดย sbroenne

Excel automation for AI - Sheets, Power Query, DAX, VBA, Tables, Ranges and more. Windows only.

รันบนเครื่อง★ 847MITอัปเดต 3 วันที่ผ่านมา
ติดตั้ง

README จากผู้ทำ

เปิดอ่าน README

ส่วนนี้คัดจาก repo ของผู้ทำตามต้นฉบับ PopNx MCP ไม่ได้ตรวจหรือรับรองเนื้อหา ตัด HTML รูปภาพ และสคริปต์ออกแล้ว ลิงก์จะพาออกนอกเว็บ

DotNetSearch — MCP Search & PDF Server

MCP Server Identifier: mcp-name: io.github.puneethdc99/dotnetsearch

*(Proof of package ownership for GitHub MCP Registry inclusion)*

DotNetSearch is a self-contained MCP (Model Context Protocol) server that empowers GitHub Copilot, Claude, Cursor, and other AI agents with high-performance codebase search, NuGet package decompilation, whitespace token reduction, and deep PDF document reading and analysis:

Key Tools Overview
CategoryToolPurpose
Code SearchsearchFind files and lines matching a keyword or natural-language query — returns only matching lines (~110 tokens vs ~2500 for a full file read)
Code Searchsearch_relatedFind code chunks structurally similar to a known location — ideal for discovering callers, implementations, or patterns
Decompilationdecompile_typeDecompile any .NET type from referenced NuGet package assemblies — returns the full C# class definition without needing the source code
Optimizationcompress_codeReduce C# code indentation from 4-space to 1-space per indent level and remove blank lines — saves 10–20% tokens with zero semantic change
File Readingread_fileRead a file from disk and optionally return a specific line range — useful after search when you need full file context
PDF Readingread_pdf_textExtract clean, structured text page-by-page or across targeted page ranges from any PDF document
PDF Readingget_pdf_infoInspect PDF metadata, total page count, per-page dimensions, author, subject, creation date, and structure
PDF Visualsrender_pdf_page_as_imageRasterize any PDF page into a high-resolution PNG image at custom DPI — ideal for inspecting charts, diagrams, tables, and scanned documents
PDF Visualsextract_pdf_imagesExtract embedded raster images from PDF pages and save to disk with pixel coordinates
PDF Structureget_pdf_bookmarksExtract the hierarchical table of contents, bookmarks, and document outline with target page links
PDF Formsget_pdf_form_fieldsRead interactive AcroForm form fields (text boxes, checkboxes, radio buttons, dropdowns) and their values
PDF Assetsextract_pdf_attachmentsExtract embedded file attachments from PDF documents and save them to disk
PDF Linksget_pdf_hyperlinksExtract all clickable web URLs, internal page jumps, and external document links with bounding boxes

Instead of reading full files (~2500 tokens each), the agent gets back only the matching lines (~110 tokens) — saving up to 98% of context window per query. For files that must be read in full, use compress_code first to strip whitespace overhead and save an additional 10–20% of tokens. For PDF documentation, technical manuals, and specifications, dedicated tools extract targeted text, images, and tables without overwhelming the model context window.


Step 1 — Installation

Option A: Install via .NET CLI (NuGet Tool)

If you have the .NET SDK installed (recommended for .NET developers):

dotnet tool install -g PuneethDC.DotNetSearch

Once installed, the command dotnetsearch is available globally from any terminal.

To update to the latest version in the future:

dotnet tool update -g PuneethDC.DotNetSearch
Option B: Download Standalone Executable (No .NET required)

Go to the latest release and download the self-contained executable for your platform:

PlatformFile to download
Windows x64DotNetSearch-win-x64.exe
Linux x64DotNetSearch-linux-x64
macOS ARM64DotNetSearch-osx-arm64

No .NET installation required. The runtime is bundled inside the executable.

Save it somewhere permanent, e.g.:

  • Windows: C:\Tools\DotNetSearch.exe
  • Linux/macOS: /usr/local/bin/DotNetSearch

On Linux/macOS, make it executable:

chmod +x /usr/local/bin/DotNetSearch

Step 2 — Add to your MCP config

Open (or create) your global MCP config file:

ClientConfig file location
Visual Studio%USERPROFILE%\.mcp.json
VS Code + Copilot%USERPROFILE%\.mcp.json
Claude Desktop%APPDATA%\Claude\claude_desktop_config.json
Cursor%USERPROFILE%\.cursor\mcp.json
If installed via NuGet (.NET Tool):

Works identically across Windows, Linux, and macOS without path differences:

{

"servers": { "DotNetSearch": { "type": "stdio", "command": "dotnetsearch" } } }

If using Standalone Executable:
Windows:
{

"servers": { "DotNetSearch": { "type": "stdio", "command": "C:\\Tools\\DotNetSearch.exe" } } }

Linux / macOS:
{

"servers": { "DotNetSearch": { "type": "stdio", "command": "/usr/local/bin/DotNetSearch" } } }

Alternative: Run on-demand with dnx (Zero-Install):
{

"servers": { "DotNetSearch": { "type": "stdio", "command": "dnx", "args": ["PuneethDC.DotNetSearch"] } } }

If you already have other servers in the file, just add the "DotNetSearch" block inside the existing "servers" object.


Step 3 — Verify it is active

Visual Studio / VS Code:

  1. Open GitHub Copilot Chat
  2. Switch to Agent Mode
  3. Click the wrench / Select Tools icon
  4. Confirm the DotNetSearch tools appear in the list and are enabled:
  • Code & Navigation: search, search_related, decompile_type, compress_code, read_file
  • PDF Document Inspection: read_pdf_text, get_pdf_info, render_pdf_page_as_image, extract_pdf_images, get_pdf_bookmarks, get_pdf_form_fields, extract_pdf_attachments, get_pdf_hyperlinks

Step 4 — Update your Copilot instructions

To make Copilot automatically prefer DotNetSearch over built-in file reading, add the instructions below to your Copilot instructions file. There are two places you can put this — repo-level (affects only that repo) or global (affects all repos).


Option A — Repo-level instructions (recommended)

File location:

<your-repo-root>\.github\copilot-instructions.md

This file is read by GitHub Copilot for every conversation in that repository. It is the recommended place if you want DotNetSearch to be preferred only for a specific project.

How to find or create it:

  • Navigate to your repository root folder
  • Look for a .github subfolder — if it doesn't exist, create it
  • Inside .github, look for copilot-instructions.md — if it doesn't exist, create the file

Option B — Global instructions (applies to all repos)

File location:

ClientGlobal instructions file
Visual Studio%APPDATA%\Microsoft\VisualStudio\Copilot\copilot-instructions.md
VS Code + Copilot%USERPROFILE%\.github\copilot-instructions.md

How to find or create it:

  • Open the path above in File Explorer (paste into the address bar)
  • If the folder doesn't exist, create it
  • If copilot-instructions.md doesn't exist in the folder, create the file

Note: If you add instructions to both files, Copilot merges them — both will be active at the same time.


Instructions to add

Paste the following into whichever file you chose above:

## Search Preference

When searching for code, symbols, or text in this repository, always prefer the DotNetSearch MCP tool (search and search_related) over reading full files or using built-in workspace search. DotNetSearch returns only matching lines and is significantly more token-efficient (~98% fewer tokens per query). Do not call DotNetSearch tools in parallel — run one search at a time.

PDF Document Reading

When reading, analyzing, or searching PDF documents:

  • Always prefer read_pdf_text and get_pdf_info over raw file operations.
  • First call get_pdf_info to inspect total pages and document metadata.
  • Call read_pdf_text with specific page ranges (startPage, endPage) to avoid token overflow.
  • If the PDF contains visual charts, flowcharts, architectural diagrams, or scanned pages, use render_pdf_page_as_image to rasterize the page.
  • For interactive PDF forms, use get_pdf_form_fields to extract user inputs.

NuGet Type Inspection

When the user asks about a third-party or NuGet type and the source code is not available in the workspace, use the DotNetSearch MCP tool decompile_type to decompile the type from the project's referenced assemblies. Pass the short or fully qualified type name and the absolute path to the .csproj file. The project must have been built at least once before calling this tool.

Code Compression

When reading source files to minimize context window usage, use the DotNetSearch MCP tool compress_code — BUT ONLY for the following fully-safe languages where indentation is cosmetic and braces/keywords define scope:

C#, Java, JavaScript, TypeScript, C, C++, Kotlin, Swift, Rust, Scala, PHP, Ruby, CSS, SCSS, Less, JSON, XML

NEVER call compress_code on any other language. In particular, NEVER use it on Python, YAML, CoffeeScript, Pug/Jade, HAML, or Makefile — these are indentation-sensitive and compression WILL silently corrupt the file structure.

Before calling compress_code, check the file extension:

  • Allowed: .cs .java .js .ts .jsx .tsx .kt .swift .rs .scala .php .rb .css .scss .less .json .xml .c .cpp .h
  • Blocked: .py .yaml .yml .coffee .pug .jade .haml (and Makefiles with no extension)

Pass the absolute file path. For JavaScript/TypeScript projects using 2-space indentation, set sourceIndentSize=2.


Step 5 — You're done

No special commands or workflow changes are needed. Just continue your normal coding tasks in Copilot Agent Mode — DotNetSearch will be used automatically whenever Copilot needs to search your codebase or inspect PDF documents.

Over time you will notice a reduction in token usage per conversation. This is because DotNetSearch returns only the matching lines (typically ~110 tokens) instead of full file contents (~2500 tokens), saving up to 98% of context window per search operation.


Tool reference

search

Searches a local directory for files whose content matches a keyword or natural-language query. Uses BM25 ranking with CamelCase and snake_case token expansion.

ParameterTypeDefaultDescription
querystringrequiredKeyword, identifier, or natural-language phrase
repostringrequiredAbsolute or relative path to the directory to search
top_kint5Max results to return (1–100)
context_linesint0Lines of context above/below each match (0–5)

search_related

Finds code chunks structurally similar to a specific location in a file. Use after search to explore related implementations, callers, or patterns.

ParameterTypeDefaultDescription
file_pathstringrequiredPath to the file as returned by a prior search result

| line | int | required | Line number (1-indexed) from a pr

ตัดมาแค่ช่วงต้น อ่านต่อใน repo

ถาม PopNx