Spec Driven Development
MCP Server that facilitates spec-driven development workflows, not just Vibe Coding.
คำอธิบายจากผู้ทำ (ภาษาอังกฤษตามต้นฉบับ)
Analyze C# complexity, inspect member evidence, and compare deterministic snapshots.
สามเรื่องนี้ไม่รวมเป็นคะแนนเดียว เพราะความเห็น การวัด และความนิยม เป็นคนละเรื่องกัน
ตัวนี้ยังไม่ได้เรียบเรียงเป็นภาษาไทย ด้านล่างคือข้อเท็จจริงที่เราอ่านจาก registry
เลือกโปรแกรม AI ที่คุณใช้ แล้วคัดลอกค่าตั้งไปวาง
คุณใช้แอปไหน
เลือกแอปด้านบน เราจำไว้ให้ ครั้งหน้าปุ่มจะขึ้นว่า “ติดตั้งลง …”
เปิด Claude Desktop → Settings → Developer → Edit Config แล้ววางค่านี้ในไฟล์ claude_desktop_config.json
{
"mcpServers": {
"complexity-analysis": {
"command": "dnx",
"args": [
"ComplexityAnalysis.Mcp",
"--yes",
"--root",
"ใส่ค่าของคุณ"
]
}
}
}พิมพ์คำสั่งนี้ใน Terminal
claude mcp add complexity-analysis -- dnx ComplexityAnalysis.Mcp --yes --root 'ใส่ค่าของคุณ'ตัวนี้ต้องใส่ค่าในคำสั่งเปิดเอง ให้คัดลอกค่าตั้งแล้วเติมค่า
วางในไฟล์ .cursor/mcp.json ของโปรเจกต์ หรือ ~/.cursor/mcp.json
{
"mcpServers": {
"complexity-analysis": {
"command": "dnx",
"args": [
"ComplexityAnalysis.Mcp",
"--yes",
"--root",
"ใส่ค่าของคุณ"
]
}
}
}เบราว์เซอร์จะถามก่อนเปิดแอป จากนั้นแอปแสดงค่าตั้งให้ตรวจแล้วกดยืนยัน ช่อง key เว้นว่างไว้ให้คุณใส่เอง
ตัวนี้ต้องใส่ค่าในคำสั่งเปิดเอง ให้คัดลอกค่าตั้งแล้วเติมค่า
วางในไฟล์ .vscode/mcp.json ของโปรเจกต์
{
"servers": {
"complexity-analysis": {
"type": "stdio",
"command": "dnx",
"args": [
"ComplexityAnalysis.Mcp",
"--yes",
"--root",
"ใส่ค่าของคุณ"
]
}
}
}เบราว์เซอร์จะถามก่อนเปิดแอป จากนั้นแอปแสดงค่าตั้งให้ตรวจแล้วกดยืนยัน ช่อง key เว้นว่างไว้ให้คุณใส่เอง
ตัวนี้รันในเครื่องคุณ แต่ ChatGPT ต่อได้เฉพาะ server บนอินเทอร์เน็ต ลองเลือกแอปอื่น
ตัวเลือกเก็บในคุกกี้บนเครื่องนี้ ไม่ต้องมีบัญชี
ค่าตั้งนี้สร้างจากข้อมูลใน registry ของผู้ทำ ถ้าไม่ตรงกับ README ให้เชื่อ README
รันในเครื่องคุณ รายการเครื่องมือจะขึ้นในแอป AI หลังติดตั้ง
เราตรวจจากข้อมูลที่ใครก็เปิดดูได้ ยังไม่ได้อ่านโค้ด ข้อที่ไม่เกี่ยวกับตัวนี้ไม่นับในตัวหาร · ตรวจเมื่อ 6 พ.ย. 2569
ชื่อใน registry ยืนยันด้วยบัญชี GitHub rodri-oliveira-dev ซึ่งเป็นเจ้าของ repo
ยังไม่ได้อ่านข้อมูล repo จาก GitHub
ยังไม่ได้อ่านข้อมูล repo จาก GitHub
ตัวนี้รันบนเครื่องคุณ ไม่มี endpoint บนอินเทอร์เน็ต
ตัวนี้รันบนเครื่อง ใช้ค่าที่ตั้งในเครื่องแทน
รันในเครื่องคุณ เราอ่านรายการเครื่องมือได้เฉพาะตัวที่มี endpoint บนอินเทอร์เน็ต
เทียบกับทุก server ที่ยังใช้งานในหมวดนี้ทั้งทะเบียน ดาวนับเฉพาะเมื่อผู้ลงทะเบียนเป็นเจ้าของ repo
จากการตรวจเบื้องต้นของเรา ผ่าน 1 จาก 1 ข้อที่ตรวจได้ เรายังไม่ได้อ่านโค้ด ก่อนใส่กุญแจหรือ token ให้ดูว่า server ขอสิทธิ์อะไร และเลือกกุญแจที่ทำได้เท่าที่จำเป็น
registry ไม่ได้ระบุว่าต้องใช้กุญแจ แต่บางตัวจะขอให้ล็อกอินตอนใช้ครั้งแรก
รันบนเครื่องของคุณ โปรแกรม AI จะเปิด server ขึ้นมาเองเมื่อใช้ ข้อมูลไม่ต้องผ่านเซิร์ฟเวอร์ของผู้ทำ (ยกเว้นตัวที่ไปเรียกบริการออนไลน์ต่อ)
repo บน GitHub มีการแก้โค้ดล่าสุด – และส่งรุ่นล่าสุด (1.0.1) เข้า registry 7 วันที่ผ่านมา
โปรแกรมที่รองรับ MCP เช่น Claude Desktop, Claude Code, Cursor และ VS Code ตัวนี้ต้องมี .NET ในเครื่องด้วย
ในหมวดเดียวกันมี Spec Driven Development, Remote Desktop Commander, Symantec Cloud DLP AIops
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.
Governed Symantec Cloud DLP — 14 MCP tools, read-only with audit.
ส่วนนี้คัดจาก repo ของผู้ทำตามต้นฉบับ PopNx MCP ไม่ได้ตรวจหรือรับรองเนื้อหา ตัด HTML รูปภาพ และสคริปต์ออกแล้ว ลิงก์จะพาออกนอกเว็บ
ComplexityAnalysis.Mcp is a local, read-only MCP server that lets compatible agents analyze C# project complexity, inspect the evidence for a member, and compare deterministic snapshots. It exposes analysis tools to an external agent; it is not an autonomous agent and never edits source code.
ComplexityAnalysis.Analyzers runs inside Roslyn builds and IDE analysis.ComplexityAnalysis.Tool is the complexity-analysis CLI for reports, snapshots, quality gates, and automation.ComplexityAnalysis.Mcp is the complexity-mcp stdio server for agent tool discovery and invocation. It reuses the CLI analysis implementation.The MCP package installs independently and includes everything needed to run; it does not require a repository checkout or a prior CLI installation.
.NET 10 runtime is required. The .NET 10 SDK is recommended for local tool manifests.
After 1.0.0 is published, install globally:
dotnet tool install --global ComplexityAnalysis.Mcp --version 1.0.0
complexity-mcp --version
Or pin it in a local manifest:
dotnet new tool-manifest
dotnet tool install ComplexityAnalysis.Mcp --version 1.0.0 dotnet tool restore dotnet tool run complexity-mcp --version
Update or uninstall a global installation with:
dotnet tool update --global ComplexityAnalysis.Mcp --version <version>
dotnet tool uninstall --global ComplexityAnalysis.Mcp
For a local manifest, omit --global; run with dotnet tool run complexity-mcp. A package built from source is not a published release: use an explicit local source and local-only version when testing it.
MCP clients normally start the process for you. The launch command is:
complexity-mcp --root /absolute/path/to/project
--root is the read boundary, not merely a working-directory hint. Use an absolute path so the same configuration works regardless of the client's working directory.
| Startup option | Default | Allowed values |
|---|---|---|
--root | Current directory | Existing directory |
--timeout-seconds | 30 | 1 to 300 |
--max-input-bytes | 52428800 (50 MiB) | 1 to 1073741824 |
--max-files | 2000 | 1 to 100000 |
Use complexity-mcp --help for the installed version's options. --help and --version print and exit before stdio protocol startup.
All tools are annotated read-only and return structured content.
analyze_projectAnalyzes a .csproj, .sln, or .slnx below --root.
path is required.responseMode is full by default and preserves the v1 contract's complete snapshot under report.responseMode: "summary" returns a compact member index under summary.maxMembers applies only to summary mode, defaults to 100, and accepts 1..500.Summary truncation is never silent: isTruncated, totalMemberCount, and returnedMemberCount state exactly what was omitted. Every response also returns a deterministic analysisId. A bounded cache retains up to four exact snapshots and at most 16 MiB in total; reusable reports whether the snapshot was retained.
query_member_evidenceLooks up an exact StableId in a project or solution. Without analysisId, it reanalyzes current files for backward compatibility. With an analysisId from analyze_project, it reads that immutable cached snapshot and avoids repeating Roslyn analysis. It fails explicitly if the snapshot was not retained or was evicted; it never substitutes potentially stale current results.
compare_snapshotsCompares baseline and current .json complexity snapshots below --root. Results are deterministic. An Unknown estimate is incomparable and is not promoted to a proven regression.
Ask an agent:
src/App/App.csproj."M:App.Search(System.Int32[]) reported as quadratic?"baseline.json with current.json; list only proven regressions."Unknown, and what evidence explains each one?"For large projects, the efficient sequence is:
analyze_project with responseMode: "summary";isTruncated and the returned member index;query_member_evidence with the returned analysisId and a StableId.A shortened response looks like:
{
"schemaVersion": "complexity-mcp-analysis/1.0", "analysisId": "sha256: ", "responseMode": "summary", "reusable": true, "isTruncated": false, "totalMemberCount": 1, "returnedMemberCount": 1, "report": null, "summary": { "unknownMemberCount": 1, "members": [ { "stableId": "M:Sample.Work", "complexityStatus": "unknown", "complexity": null } ] } }
Unknown means the bounded analyzer could not prove a safe estimate. It is not O(1), an error, or evidence that the method is efficient.
The common launch values are:
{
"command": "complexity-mcp", "args": ["--root", "/absolute/path/to/project"] }
Create .vscode/mcp.json:
{
"servers": { "complexity-analysis": { "type": "stdio", "command": "complexity-mcp", "args": ["--root", "${workspaceFolder}"] } } }
Then run MCP: List Servers and start or inspect the server. See the official VS Code MCP configuration reference.
Register the installed stdio command:
codex mcp add complexity-analysis -- complexity-mcp --root /absolute/path/to/project
codex mcp list
Equivalent ~/.codex/config.toml:
[mcp_servers.complexity-analysis]
command = "complexity-mcp" args = ["--root", "/absolute/path/to/project"]
Codex CLI and its IDE extension share this configuration. See the official Codex MCP documentation.
For a local developer-defined server, add this entry to claude_desktop_config.json and fully restart Claude Desktop:
{
"mcpServers": { "complexity-analysis": { "command": "complexity-mcp", "args": ["--root", "/absolute/path/to/project"] } } }
On Windows the file is under %APPDATA%\Claude; on macOS it is under ~/Library/Application Support/Claude. See the official MCP SDK's real-host guide.
PATH inherited by the client. dotnet tool list --global confirms the installation; if the client cannot resolve it, configure the absolute complexity-mcp executable discovered on that machine without committing the machine-specific path.PATH from an interactive shell. Restart the client after installation or configure the absolute executable path.--root should be absolute. The process working directory does not expand the read boundary.The three publication channels have different purposes:
.nupkg for consumers of the repository package feed.io.github.rodri-oliveira-dev/complexity-analysis; its nuget package entry points clients to ComplexityAnalysis.Mcp on NuGet.org. It does not host a second executable or turn this server into a remote service.Registry discovery does not change the local client configurations above: clients still install or resolve the NuGet tool and start complexity-mcp over stdio with an explicit --root.
Each manual main release derives the manifest and package versions from the validated workflow input. After NuGet.org and the GitHub Release succeed, the workflow waits for the NuGet README containing the ownership marker, validates the manifest with a fixed, Sigstore-verified mcp-publisher, authenticates with GitHub OIDC, publishes, and queries the Registry API to verify the exact name and version. Pull-request runs validate the package and versioned manifest but never authenticate or publish.
To verify a release, search the Official MCP Registry for the full server name, or query its public API:
curl --get \
--data-urlencode "search=io.github.rodri-oliveira-dev/complexity-analysis" \ https://registry.modelcontextprotocol.io/v0.1/servers
Troubleshooting:
main, the protected release environment approved it, and id-token: write remains on the Registry job. No PAT or persistent Registry secret is expected.mcp-publisher validate .mcp/server.json and keep the server name, NuGet identifier, stdio transport, and schema valid.See the official package-type specification, GitHub Actions publishing guide, and .NET publishing guide.
The server is local, stdio-only, and read-only. It has no HTTP transport, network calls, telemetry, shell execution, source mutation, or write tools. It rejects paths outside --root, unsupported extensions, traversal through symbolic links/reparse points, and requests exceeding file, byte, or timeout limits. Concurrent requests use independent limit and cancellation scopes. Paths in reports are relative to --root; errors do not echo local absolute paths. stdout is reserved for MCP JSON-RPC and logs go to stderr.
The analysis is conservative and bounded. It does not build the project, load MSBuild evaluation, execute code, or solve every valid C# program. Configuration is read from the project and source files supported by the shared CLI loader.