Spec Driven Development
MCP Server that facilitates spec-driven development workflows, not just Vibe Coding.
คำอธิบายจากผู้ทำ (ภาษาอังกฤษตามต้นฉบับ)
A read-only MCP server that lets an AI assistant browse any C# solution through Roslyn.
สามเรื่องนี้ไม่รวมเป็นคะแนนเดียว เพราะความเห็น การวัด และความนิยม เป็นคนละเรื่องกัน
ตัวนี้ยังไม่ได้เรียบเรียงเป็นภาษาไทย ด้านล่างคือข้อเท็จจริงที่เราอ่านจาก registry
เลือกโปรแกรม AI ที่คุณใช้ แล้วคัดลอกค่าตั้งไปวาง
คุณใช้แอปไหน
เลือกแอปด้านบน เราจำไว้ให้ ครั้งหน้าปุ่มจะขึ้นว่า “ติดตั้งลง …”
เปิด Claude Desktop → Settings → Developer → Edit Config แล้ววางค่านี้ในไฟล์ claude_desktop_config.json
{
"mcpServers": {
"csharpanalysermcp": {
"command": "dnx",
"args": [
"CSharpAnalyserMcp",
"--yes",
"--workspace",
"ใส่ค่าของคุณ"
]
}
}
}พิมพ์คำสั่งนี้ใน Terminal
claude mcp add csharpanalysermcp -- dnx CSharpAnalyserMcp --yes --workspace 'ใส่ค่าของคุณ'ตัวนี้ต้องใส่ค่าในคำสั่งเปิดเอง ให้คัดลอกค่าตั้งแล้วเติมค่า
วางในไฟล์ .cursor/mcp.json ของโปรเจกต์ หรือ ~/.cursor/mcp.json
{
"mcpServers": {
"csharpanalysermcp": {
"command": "dnx",
"args": [
"CSharpAnalyserMcp",
"--yes",
"--workspace",
"ใส่ค่าของคุณ"
]
}
}
}เบราว์เซอร์จะถามก่อนเปิดแอป จากนั้นแอปแสดงค่าตั้งให้ตรวจแล้วกดยืนยัน ช่อง key เว้นว่างไว้ให้คุณใส่เอง
ตัวนี้ต้องใส่ค่าในคำสั่งเปิดเอง ให้คัดลอกค่าตั้งแล้วเติมค่า
วางในไฟล์ .vscode/mcp.json ของโปรเจกต์
{
"servers": {
"csharpanalysermcp": {
"type": "stdio",
"command": "dnx",
"args": [
"CSharpAnalyserMcp",
"--yes",
"--workspace",
"ใส่ค่าของคุณ"
]
}
}
}เบราว์เซอร์จะถามก่อนเปิดแอป จากนั้นแอปแสดงค่าตั้งให้ตรวจแล้วกดยืนยัน ช่อง key เว้นว่างไว้ให้คุณใส่เอง
ตัวนี้รันในเครื่องคุณ แต่ ChatGPT ต่อได้เฉพาะ server บนอินเทอร์เน็ต ลองเลือกแอปอื่น
ตัวเลือกเก็บในคุกกี้บนเครื่องนี้ ไม่ต้องมีบัญชี
ค่าตั้งนี้สร้างจากข้อมูลใน registry ของผู้ทำ ถ้าไม่ตรงกับ README ให้เชื่อ README
รันในเครื่องคุณ รายการเครื่องมือจะขึ้นในแอป AI หลังติดตั้ง
เราตรวจจากข้อมูลที่ใครก็เปิดดูได้ ยังไม่ได้อ่านโค้ด ข้อที่ไม่เกี่ยวกับตัวนี้ไม่นับในตัวหาร · ตรวจเมื่อ 6 พ.ย. 2569
ชื่อใน registry ยืนยันด้วยบัญชี GitHub undy-mosq ซึ่งเป็นเจ้าของ repo
ยังไม่ได้อ่านข้อมูล repo จาก GitHub
ยังไม่ได้อ่านข้อมูล repo จาก GitHub
ตัวนี้รันบนเครื่องคุณ ไม่มี endpoint บนอินเทอร์เน็ต
ตัวนี้รันบนเครื่อง ใช้ค่าที่ตั้งในเครื่องแทน
รันในเครื่องคุณ เราอ่านรายการเครื่องมือได้เฉพาะตัวที่มี endpoint บนอินเทอร์เน็ต
เทียบกับทุก server ที่ยังใช้งานในหมวดนี้ทั้งทะเบียน ดาวนับเฉพาะเมื่อผู้ลงทะเบียนเป็นเจ้าของ repo
จากการตรวจเบื้องต้นของเรา ผ่าน 1 จาก 1 ข้อที่ตรวจได้ เรายังไม่ได้อ่านโค้ด ก่อนใส่กุญแจหรือ token ให้ดูว่า server ขอสิทธิ์อะไร และเลือกกุญแจที่ทำได้เท่าที่จำเป็น
registry ไม่ได้ระบุว่าต้องใช้กุญแจ แต่บางตัวจะขอให้ล็อกอินตอนใช้ครั้งแรก
รันบนเครื่องของคุณ โปรแกรม AI จะเปิด server ขึ้นมาเองเมื่อใช้ ข้อมูลไม่ต้องผ่านเซิร์ฟเวอร์ของผู้ทำ (ยกเว้นตัวที่ไปเรียกบริการออนไลน์ต่อ)
repo บน GitHub มีการแก้โค้ดล่าสุด – และส่งรุ่นล่าสุด (1.0.4) เข้า registry 14 วันที่ผ่านมา
โปรแกรมที่รองรับ MCP เช่น Claude Desktop, Claude Code, Cursor และ VS Code ตัวนี้ต้องมี .NET ในเครื่องด้วย
ในหมวดเดียวกันมี Spec Driven Development, Remote Desktop Commander, zanadir
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.
Find what a repository's CI is missing, and which security checks cannot fail the build.
ส่วนนี้คัดจาก repo ของผู้ทำตามต้นฉบับ PopNx MCP ไม่ได้ตรวจหรือรับรองเนื้อหา ตัด HTML รูปภาพ และสคริปต์ออกแล้ว ลิงก์จะพาออกนอกเว็บ
English | 简体中文
A read-only Model Context Protocol (MCP) server that lets an AI assistant browse any C# solution through Roslyn.
The server loads a solution with MSBuildWorkspace into a cached Roslyn snapshot and then answers structured queries about it: where each type is declared, its XML documentation, and a method's signature, documentation, source location and body. An agent can therefore pull in the exact slice of source it needs instead of reading whole files into its context window.
StdioServerTransport), protocol traffic on stdout only; all logs go to stderr.--workspace ); the solution is loaded before the MCP handshake, so a bad path fails fast with a message on stderr and a non-zero exit code.structuredContent: listing / hierarchy / search tools return one text block per entry (a string list from the client's point of view), while detail tools emit path / desc / namespace / signature / body blocks separated by a line containing ---.csharp-analyser-mcp) and listed in the official MCP Registry as io.github.undy-mosq/CSharpAnalyserMcp.dotnet tool install --global CSharpAnalyserMcp
csharp-analyser-mcp --workspace D:\MyProject\MySolution.sln
dotnet tool update --global CSharpAnalyserMcp dotnet tool uninstall --global CSharpAnalyserMcp
Install it globally: a --local install only writes a manifest entry, so csharp-analyser-mcp never lands on PATH and MCP clients cannot start it.
dnx (nothing to install, .NET SDK 10+)# "--" separates dnx options from the arguments forwarded to the server
dnx CSharpAnalyserMcp --yes -- --workspace D:\MyProject\MySolution.sln
git clone https://github.com/undy-mosq/CSharpAnalyserMcp
dotnet build CSharpAnalyserMcp\CSharpAnalyserMcp.csproj dotnet run --project CSharpAnalyserMcp -- --workspace D:\MyProject\MySolution.sln
| Purpose | Requirement |
|---|---|
Run the published tool (dotnet tool install --global) | .NET SDK 8.0 or newer on PATH (the package targets net8.0) |
Run it on demand with dnx | .NET SDK 10.0 or newer — dnx ships with the SDK |
| Build / run from source | .NET SDK 8.0 or newer (the project targets net8.0) |
| Load the analyzed solution | An MSBuild toolchain that can open it — Visual Studio 2022 or VS Build Tools (Microsoft.Build.Locator registers the newest installed instance), or the .NET SDK itself for SDK-style projects |
The server is started with a single argument, --workspace, pointing at the solution file.
The global tool shim lives in %USERPROFILE%\.dotnet\tools. MCP clients spawn the process themselves and only see the PATH they inherited, so point the configuration at the shim by absolute path (expand %USERPROFILE%, e.g. C:\Users\you\.dotnet\tools\csharp-analyser-mcp.exe):
Claude Desktop (claude_desktop_config.json):
{
"mcpServers": { "csharp-analyser": { "command": "C:\\Users\\you\\.dotnet\\tools\\csharp-analyser-mcp.exe", "args": ["--workspace", "D:\\MyProject\\MySolution.sln"] } } }
VS Code (.vscode/mcp.json):
{
"servers": { "csharp-analyser": { "type": "stdio", "command": "C:\\Users\\you\\.dotnet\\tools\\csharp-analyser-mcp.exe", "args": ["--workspace", "D:\\MyProject\\MySolution.sln"] } } }
The bare command name ("command": "csharp-analyser-mcp") works only when that directory is already on the client's PATH; a client started before the tool was installed keeps the old environment, so restart it after changing PATH.
dnx (nothing installed){
"servers": { "csharp-analyser": { "type": "stdio", "command": "dnx", "args": ["CSharpAnalyserMcp", "--yes", "--", "--workspace", "D:\\MyProject\\MySolution.sln"] } } }
Append @ to the package id to pin a version. The MCP Server tab of the NuGet package page offers the same JSON for copying. dnx is a .cmd shim; if the client cannot spawn it, use the equivalent dotnet form instead: "command": "dotnet" with "args": ["tool", "exec", "CSharpAnalyserMcp", "--yes", "--", "--workspace", "D:\\MyProject\\MySolution.sln"].
VS Code (.vscode/mcp.json):
{
"servers": { "csharp-analyser": { "type": "stdio", "command": "C:\\Tools\\csharp-analyser\\CSharpAnalyserMcp.exe", "args": ["--workspace", "D:\\MyProject\\MySolution.sln"] } } }
{
"servers": { "csharp-analyser": { "type": "stdio", "command": "dotnet", "args": [ "run", "--project", "D:\\MyProject\\CSharpAnalyserMcp\\CSharpAnalyserMcp\\CSharpAnalyserMcp.csproj", "--", "--workspace", "D:\\MyProject\\MySolution.sln" ] } } }
Press F5 in VS Code to debug the server itself; .vscode/launch.json already passes a --workspace argument — point it at your own solution.
| Tool | MCP annotations | Purpose |
|---|---|---|
list_classes_in_folder | read-only | List type declarations in a folder and its subfolders (one text per type) |
list_classes_in_namespace | read-only | List type declarations in a namespace (sub-namespaces optional; one text per type) |
get_class_documentation | read-only | Return the XML documentation and member signatures of a type located by its declaration line |
get_method | read-only | Return a method's signature, XML docs, location and body, located by its declaration line plus its declaring type's declaration line |
find_inheritance | read-only | List the derived-type tree of a type (first entry: the type itself) |
find_method_overrides | read-only | List the overrides / implementations of a method (first entry: the method itself) |
search_regex | read-only | Search a directory / file line by line with a regular expression (default: *.cs only); one text per match |
reload_solution | idempotent | Rebuild the Roslyn snapshot after source files changed |
set_resolve_base_path | idempotent | Change the directory used to resolve relative paths |
list_classes_in_folder{ "folderPath": "src/Services", "kinds": ["class", "interface"] }
| Parameter | Type | Default | Description |
|---|---|---|---|
folderPath | string, required | — | Absolute path, or a path relative to the resolve base directory (default: the solution's directory). |
kinds | string[] | ["class"] | Type kinds to include (see Type kinds and kinds). |
Files under bin/obj are skipped. Returns a string list, one text content per type, formatted as {relativePath} L{start}-{end} {namespace}: {signature}; the namespace segment is omitted for the global namespace, and a partial type reports the location of its first declaration plus a trailing ...(partial xN).
list_classes_in_namespace{ "namespaceName": "MyApp.Services", "includeSubNamespaces": true, "kinds": ["all"] }
| Parameter | Type | Default | Description |
|---|---|---|---|
namespaceName | string | global namespace | Namespace name, e.g. MyApp.Services. Empty, global, global namespace or all mean the global namespace. |
includeSubNamespaces | bool | true | Also include types declared in child namespaces. |
kinds | string[] | ["class"] | Type kinds to include. |
get_class_documentation{ "typeDeclaration": "public static class ItemConfig", "maxXmlChars": 2000 }
| Parameter | Type | Default | Description |
|---|---|---|---|
typeDeclaration | string, required | — | Declaration line of the type (the signature segment printed by the listing tools), e.g. public static class ItemConfig. Whitespace is stripped, then it must match the canonical signature or the first source line of the declaration exactly. |
namespaceName | string | any namespace | Namespace of the type; empty or global means the global namespace. |
maxXmlChars | int | 2000 | Maximum characters of the raw XML documentation per type (the desc field); 0 = no limit. |
On a match the result is a text block: path / desc / namespace (the global namespace prints as global) / signature / body (member signatures, one per line); multiple matches are separated by a line containing ---. A miss prints (no match) followed by candidates : and candidate declaration lines.
get_method{ "methodDeclaration": "public static void SetEffect(RoleAttributes owner, int stack)", "typeDeclaration": "public class RoleAttributes", "namespaceName": "DuelModel" }
| Parameter | Type | Default | Description |
|---|---|---|---|
methodDeclaration | string, required | — | Declaration line of the method, e.g. public static string TextName(this ItemInfo.ItemType itemType). The method name and its parameter types are parsed from this text. |
typeDeclaration | string, required | — | Declaration line of the declaring class / interface / struct, e.g. public static class ItemConfig. |
namespaceName | string | any namespace | Namespace of the declaring type; empty or global means the global namespace. |
maxBodyChars | int | 8000 | Maximum characters of the method body; 0 = no limit. |
Matching rules:
IFoo.Bar) are matched too.int → Int32, string → String, …). The comparison is relaxed step by step: exact → ignoring generic arguments → allowing a prefix of the parameter list.(no match) is printed followed by candidates : and candidate declaration lines (same-named methods of that type first, otherwise every method of that type).The result is a text block per overload: path / desc (raw XML docs, 2000-char cap) / namespace / class / signature / body (source with the outermost braces and the common indentation removed); overloads are separated by a line containing ---.
find_inheritance{ "typeDeclaration": "public abstract class BuffEntity", "namespaceName": "Duel" }
| Parameter | Type | Default | Description |
|---|---|---|---|
typeDeclaration | string, required | — | Declaration line of the class / interface / struct / record. |
namespaceName | string | any namespace | Namespace of the type; empty or global means the global namespace. |
The first entry is the queried type itself (no indentation, no prefix); every derived type follows as its own text content, indented by one tab and prefixed with - per hierarchy level. A class root reports the classes / records deriving from it; an interface root reports sub-interfaces plus the classes / structs / records implementing it directly. Generic base types are matched by OriginalDefinition (Base and Base count as the same base). Ea
ตัดมาแค่ช่วงต้น อ่านต่อใน repo