Spec Driven Development
MCP Server that facilitates spec-driven development workflows, not just Vibe Coding.
คำอธิบายจากผู้ทำ (ภาษาอังกฤษตามต้นฉบับ)
.NET assembly introspection MCP server with advanced reflection and type analysis capabilities
สามเรื่องนี้ไม่รวมเป็นคะแนนเดียว เพราะความเห็น การวัด และความนิยม เป็นคนละเรื่องกัน
ตัวนี้ยังไม่ได้เรียบเรียงเป็นภาษาไทย ด้านล่างคือข้อเท็จจริงที่เราอ่านจาก registry
เลือกโปรแกรม AI ที่คุณใช้ แล้วคัดลอกค่าตั้งไปวาง
SHERLOCK_TOOL_PROFILE, SHERLOCK_SOURCE_FETCHคุณใช้แอปไหน
เลือกแอปด้านบน เราจำไว้ให้ ครั้งหน้าปุ่มจะขึ้นว่า “ติดตั้งลง …”
เปิด Claude Desktop → Settings → Developer → Edit Config แล้ววางค่านี้ในไฟล์ claude_desktop_config.json
{
"mcpServers": {
"dotnet-sherlock": {
"command": "dnx",
"args": [
"Sherlock.MCP.Server",
"--yes"
],
"env": {
"SHERLOCK_TOOL_PROFILE": "ใส่ค่าของคุณ",
"SHERLOCK_SOURCE_FETCH": "ใส่ค่าของคุณ"
}
}
}
}พิมพ์คำสั่งนี้ใน Terminal
claude mcp add dotnet-sherlock --env SHERLOCK_TOOL_PROFILE='ใส่ค่าของคุณ' --env SHERLOCK_SOURCE_FETCH='ใส่ค่าของคุณ' -- dnx Sherlock.MCP.Server --yesเติมค่าที่เว้นว่างไว้ก่อนรัน
วางในไฟล์ .cursor/mcp.json ของโปรเจกต์ หรือ ~/.cursor/mcp.json
{
"mcpServers": {
"dotnet-sherlock": {
"command": "dnx",
"args": [
"Sherlock.MCP.Server",
"--yes"
],
"env": {
"SHERLOCK_TOOL_PROFILE": "ใส่ค่าของคุณ",
"SHERLOCK_SOURCE_FETCH": "ใส่ค่าของคุณ"
}
}
}
}เบราว์เซอร์จะถามก่อนเปิดแอป จากนั้นแอปแสดงค่าตั้งให้ตรวจแล้วกดยืนยัน ช่อง key เว้นว่างไว้ให้คุณใส่เอง
วางในไฟล์ .vscode/mcp.json ของโปรเจกต์
{
"servers": {
"dotnet-sherlock": {
"type": "stdio",
"command": "dnx",
"args": [
"Sherlock.MCP.Server",
"--yes"
],
"env": {
"SHERLOCK_TOOL_PROFILE": "ใส่ค่าของคุณ",
"SHERLOCK_SOURCE_FETCH": "ใส่ค่าของคุณ"
}
}
}
}เบราว์เซอร์จะถามก่อนเปิดแอป จากนั้นแอปแสดงค่าตั้งให้ตรวจแล้วกดยืนยัน ช่อง key เว้นว่างไว้ให้คุณใส่เอง
ตัวนี้รันในเครื่องคุณ แต่ ChatGPT ต่อได้เฉพาะ server บนอินเทอร์เน็ต ลองเลือกแอปอื่น
ตัวเลือกเก็บในคุกกี้บนเครื่องนี้ ไม่ต้องมีบัญชี
SHERLOCK_TOOL_PROFILE envSHERLOCK_SOURCE_FETCH envค่าตั้งนี้สร้างจากข้อมูลใน registry ของผู้ทำ ถ้าไม่ตรงกับ README ให้เชื่อ README
รันในเครื่องคุณ รายการเครื่องมือจะขึ้นในแอป AI หลังติดตั้ง
เราตรวจจากข้อมูลที่ใครก็เปิดดูได้ ยังไม่ได้อ่านโค้ด ข้อที่ไม่เกี่ยวกับตัวนี้ไม่นับในตัวหาร · ตรวจเมื่อ 7 พ.ย. 2569
ชื่อใน registry ยืนยันด้วยบัญชี GitHub jcucci ซึ่งเป็นเจ้าของ repo
ยังไม่ได้อ่านข้อมูล repo จาก GitHub
ยังไม่ได้อ่านข้อมูล repo จาก GitHub
ตัวนี้รันบนเครื่องคุณ ไม่มี endpoint บนอินเทอร์เน็ต
ตัวนี้รันบนเครื่อง ใช้ค่าที่ตั้งในเครื่องแทน
รันในเครื่องคุณ เราอ่านรายการเครื่องมือได้เฉพาะตัวที่มี endpoint บนอินเทอร์เน็ต
เทียบกับทุก server ที่ยังใช้งานในหมวดนี้ทั้งทะเบียน ดาวนับเฉพาะเมื่อผู้ลงทะเบียนเป็นเจ้าของ repo
จากการตรวจเบื้องต้นของเรา ผ่าน 1 จาก 1 ข้อที่ตรวจได้ เรายังไม่ได้อ่านโค้ด ก่อนใส่กุญแจหรือ token ให้ดูว่า server ขอสิทธิ์อะไร และเลือกกุญแจที่ทำได้เท่าที่จำเป็น
registry ไม่ได้ระบุว่าต้องใช้กุญแจ แต่บางตัวจะขอให้ล็อกอินตอนใช้ครั้งแรก
รันบนเครื่องของคุณ โปรแกรม AI จะเปิด server ขึ้นมาเองเมื่อใช้ ข้อมูลไม่ต้องผ่านเซิร์ฟเวอร์ของผู้ทำ (ยกเว้นตัวที่ไปเรียกบริการออนไลน์ต่อ)
repo บน GitHub มีการแก้โค้ดล่าสุด – และส่งรุ่นล่าสุด (2.15.0) เข้า registry 33 วันที่ผ่านมา
โปรแกรมที่รองรับ MCP เช่น Claude Desktop, Claude Code, Cursor และ VS Code ตัวนี้ต้องมี .NET ในเครื่องด้วย
ในหมวดเดียวกันมี Spec Driven Development, Remote Desktop Commander, Foliosio
server หมวดเดียวกันจากผู้ทำคนอื่น เรียงตามดาว
อ่านการ์ด:★ ดาว GitHubiสามเสา: รีวิว · ผลตรวจ · การใช้งานiอัปเดต = วันที่ส่งรุ่นล่าสุดเข้า registryi
MCP Server that facilitates spec-driven development workflows, not just Vibe Coding.
Remote Desktop Commander: use files, terminal and processes on your own computers from any AI app.
Read your support inbox, tag conversations and save draft replies from your AI agent. Never sends.
ส่วนนี้คัดจาก repo ของผู้ทำตามต้นฉบับ PopNx MCP ไม่ได้ตรวจหรือรับรองเนื้อหา ตัด HTML รูปภาพ และสคริปต์ออกแล้ว ลิงก์จะพาออกนอกเว็บ
Sherlock MCP for .NET is a comprehensive Model Context Protocol (MCP) server that provides deep introspection capabilities for .NET assemblies. It enables Language Learning Models (LLMs) to analyze and understand your .NET code with precision, delivering accurate and context-aware responses for complex development scenarios.
This tool is essential for developers who want to harness LLM capabilities for:
core profile whose other tools load on demand in groupsexplore_package, explain_type and who_calls prompts give one-click entry points into common analysis workflowsModelContextProtocol 2.1.0 (GA)2026-07-28, and negotiates down automatically for clients on earlier revisionsget_member_source returns a member's original source through its PDB or Source Link, decompile_member / decompile_type decompile to C#, and compare_api_surface diffs two assembly or package versions and flags breaking changes.find_endpoints, find_service_registrations, find_ef_entities and find_handlers list ASP.NET Core endpoints, DI registrations, EF Core entities and MediatR handlers.project.assets.json (get_package_graph shows the restored graph), and project tools evaluate projects with MSBuild.open_assembly handles, workflow prompts (explore_package, explain_type, who_calls), Mermaid diagrams for hierarchies and call graphs, and on-demand tool groups with discovery hints under the core profile.CHANGELOG.md for full details.With the .NET 10 SDK, dnx downloads the package from NuGet and runs it directly — no install step:
dnx -v q --yes Sherlock.MCP.Server@2.15.0
--yes skips the interactive confirmation prompt, which an MCP client launching the server over stdio can't answer. -v q stops dnx from printing a "Skipping NuGet package signature verification." notice to stdout the first time it downloads a version, which would otherwise corrupt the MCP stream and fail that first connection. Both are dnx options, so they must come before the package id; anything after it is passed to the server. Pinning the version keeps launches reproducible; bump it when you want to upgrade. The package is published with the McpServer package type, so it is also listed as an MCP server on NuGet.org.
On any supported SDK (.NET 8 or later), install the global tool from NuGet (adds sherlock-mcp to your PATH):
dotnet tool install -g Sherlock.MCP.Server
Alternatively, during development you can run the server locally:
dotnet run --project src/server/Sherlock.MCP.Server.csproj
Sherlock runs as a standard MCP server that communicates over stdio.
This repository is also a Claude Code plugin marketplace. The sherlock plugin bundles the server (launched with dnx, so it needs the .NET 10 SDK) and a skill that teaches the agent the locate → orient → drill-in → relationships workflow:
/plugin marketplace add jcucci/dotnet-sherlock-mcp
/plugin install sherlock@dotnet-sherlock-mcp
The plugin starts the server with the core tool profile, which matches the tools the skill covers. The agent can add the other tools by group with load_tools when it needs them (see Tool groups). To expose every tool from the start, set SHERLOCK_TOOL_PROFILE=full in the environment Claude Code is launched from.
Each user runs these commands once; restart Claude Code (or run /reload-plugins) afterwards. To pick up a new release, run /plugin marketplace update dotnet-sherlock-mcp. If you previously registered Sherlock with claude mcp add, remove that entry (claude mcp remove sherlock) so the tools aren't loaded twice.
To offer the plugin to everyone working in a repository, commit the following to that repository's .claude/settings.json. Claude Code prompts each teammate to install it when they trust the folder, so nobody has to type the commands above:
{
"extraKnownMarketplaces": { "dotnet-sherlock-mcp": { "source": { "source": "github", "repo": "jcucci/dotnet-sherlock-mcp" } } }, "enabledPlugins": { "sherlock@dotnet-sherlock-mcp": true } }
Teammates still need the .NET 10 SDK on their PATH for dnx.
claude mcp add sherlock -- dnx -v q --yes Sherlock.MCP.Server@2.15.0
.vscode/mcp.json):{
"servers": { "sherlock": { "type": "stdio", "command": "dnx", "args": ["-v", "q", "--yes", "Sherlock.MCP.Server@2.15.0"] } } }
sherlock-mcpsherlock-mcp command. Example JSON entry (refer to your client’s docs for exact file location/format):{
"servers": { "sherlock": { "command": "sherlock-mcp" } } }
No arguments are required. The server self-registers all tools when launched.
Large tool lists cost agents context and discoverability (Claude Code switches to deferred Tool Search once tool descriptions grow past roughly 10% of the context window). Sherlock can start with a smaller surface:
| Profile | Tools | Contents |
|---|---|---|
full (default) | 47 | Every tool, including the deprecated per-kind member tools |
core | 24 | load_tools and invoke_tool (see Tool groups), discovery (find_assembly_by_class_name, find_assembly_by_file_name, find_assembly_by_nuget_package, get_project_output_paths, open_assembly), orientation (get_assembly_info, get_types_from_assembly, get_type_info, get_type_hierarchy), members and docs (get_type_members, search_members, analyze_method, get_xml_docs_for_type, get_xml_docs_for_member) and relationships (find_implementations_of, find_methods_returning, find_extension_methods_for, find_references_to, get_method_calls), source (get_member_source, decompile_member) and API diffs (compare_api_surface) |
Select a profile with the --profile argument or the SHERLOCK_TOOL_PROFILE environment variable (the argument wins). An unknown profile name stops the server with an error.
{
"servers": { "sherlock": { "command": "sherlock-mcp", "args": ["--profile", "core"] // or: "env": { "SHERLOCK_TOOL_PROFILE": "core" } } } }
Under the core profile every other tool belongs to a group that the agent can load when it needs it:
| Group | Tools |
|---|---|
frameworks | find_endpoints, find_service_registrations, find_ef_entities, find_handlers |
project | analyze_solution, analyze_project, resolve_package_references, get_package_graph, find_deps_json_dependencies |
metadata | analyze_assembly, get_generic_type_info, get_nested_types, get_type_attributes, get_member_attributes, get_parameter_attributes |
decompile | decompile_type |
config | get_runtime_options, update_runtime_options |
legacy | the deprecated analyze_type, get_all_type_members and get_type_{methods,properties,fields,events,constructors} |
groups=['frameworks', …], it adds those tools to the server's tool list and returns each loaded tool's name, description and input schema. The server then sends notifications/tools/list_changed. Under protocol revision 2026-07-28 that only reaches clients that asked for it through subscriptions/listen.name with its arguments object and returns that tool's own result. Clients that never refresh their tool list can still use loaded groups this way. Calling a tool whose group isn't loaded fails with ToolNotLoaded and names the group.hints[], each { tool, reason, group }, pointing at a related tool. Examples:get_type_info on a type with nested types or generic parameters, or one that is a DbContext, controller or MediatR handler;find_implementations_of / find_references_to / find_extension_methods_for on those framework types or IServiceCollection;decompile_member → decompile_type;get_project_output_paths → analyze_project and get_package_graph.Dependency errors suggest get_package_graph. group is null for core tools.
core, tools/list is marked cacheScope: private, since a session's tool list grows as groups load. Under full, it stays public.The full profile lists every tool and omits load_tools and invoke_tool.
You usually don't need to paste anything. Sherlock ships its usage guidance in the MCP instructions field returned at initialize, and most MCP clients (including Claude Code) surface that to the agent automatically — so the guidance stays correct and versioned with the package, with no copy-paste to maintain.
The snippets below are optional reinforcement. Keep them short and principle-based rather than enumerating tool names and workflows: a static list pasted into your repo will drift as Sherlock's tools evolve, whereas the tools' own descriptions (and the server instructions) always match the version you're running.
Tool names are exposed in
snake_case(get_type_members,search_members, …); argument names stay camelCase (projection,nameContains).
If you installed the Claude Code plugin, its skill already covers this. Otherwise, you can add a short, optional pointer to your project's CLAUDE.md:
## .NET Assembly Analysis
Use the Sherlock MCP tools (get_type_members, search_members, …) for .NET type/assembly questions instead of guessing. Locate DLLs with the find_assembly_by_* / `get_project_outp
ตัดมาแค่ช่วงต้น อ่านต่อใน repo