プロトタイプ · プレビュー版:公式レジストリのすべてのサーバーを掲載し、30分ごとに同期しています。レビューとアカウント機能は今後のステップで始まります。
PopNx MCPAIを使う人のためのMCPサーバー · やさしい言葉で解説

Complexity Analysis

作者:rodri-oliveira-devバージョン 1.0.1i★ –iパソコンで動く
レジストリ名io.github.rodri-oliveira-dev/complexity-analysis

インストール

概要

作者による説明(英語の原文)

Analyze C# complexity, inspect member evidence, and compare deterministic snapshots.

PopNx MCPの3つの柱

この3つを1つのスコアにまとめることはしません。意見、測定、人気はそれぞれ別のものだからです。

できること

このサーバーのやさしい解説はまだ書いていません。以下はレジストリから読み取った事実です。

  • 接続方法: パソコンで動く
  • トランスポート: stdio
  • カテゴリ: その他

インストール

使っているAIアプリを選んで、設定をコピーしてください。

インストールの前に

  • 基本チェック:1項目中1項目に合格
  • あなたのパソコンで、あなたのユーザーと同じ権限(ファイル、ネットワーク、アプリ)で動きます。
  • レジストリには、入力が必要なキーは載っていません。

どのアプリを使っていますか?

上でアプリを選んでください。選んだアプリを覚えておくので、次からはボタンに「…にインストール」と表示されます。

Claude Desktop → Settings → Developer → Edit Config を開き、claude_desktop_config.json にこれを貼り付けます

{
  "mcpServers": {
    "complexity-analysis": {
      "command": "dnx",
      "args": [
        "ComplexityAnalysis.Mcp",
        "--yes",
        "--root",
        "your-value"
      ]
    }
  }
}

ターミナルでこれを実行します

claude mcp add complexity-analysis -- dnx ComplexityAnalysis.Mcp --yes --root your-value

このサーバーは起動コマンドに値を入れる必要があるので、設定をコピーして入力してください。

または、設定を自分でコピーする

プロジェクトの .cursor/mcp.json、または ~/.cursor/mcp.json に貼り付けます

{
  "mcpServers": {
    "complexity-analysis": {
      "command": "dnx",
      "args": [
        "ComplexityAnalysis.Mcp",
        "--yes",
        "--root",
        "your-value"
      ]
    }
  }
}

ブラウザがアプリを開いてよいか確認し、そのあとアプリが設定を表示して確認を求めます。キーの値は空欄のままなので、自分で入力してください。

このサーバーは起動コマンドに値を入れる必要があるので、設定をコピーして入力してください。

または、設定を自分でコピーする

プロジェクトの .vscode/mcp.json に貼り付けます

{
  "servers": {
    "complexity-analysis": {
      "type": "stdio",
      "command": "dnx",
      "args": [
        "ComplexityAnalysis.Mcp",
        "--yes",
        "--root",
        "your-value"
      ]
    }
  }
}

ブラウザがアプリを開いてよいか確認し、そのあとアプリが設定を表示して確認を求めます。キーの値は空欄のままなので、自分で入力してください。

これはパソコンで動くサーバーですが、ChatGPTがつなげるのはインターネット上のサーバーだけです。ほかのアプリを選んでください。

選んだアプリは、この端末のCookieに保存されます。アカウントは不要です。

この設定は、作者のレジストリ登録情報から作成しています。READMEと違う場合は、READMEに従ってください。

できること

パソコンで動くサーバーです。インストールすると、ツール一覧がAIアプリに表示されます。

基本チェックi

誰でも見られる情報をチェックしており、コードは読んでいません。当てはまらない項目は数に入れていません。 · 2026年11月6日にチェック

  • ✓ 合格

    作者とリポジトリが一致

    レジストリ名は、リポジトリを所有するGitHubアカウント rodri-oliveira-dev で確認済みです

  • … 未チェック

    今もメンテナンスされている

    このリポジトリはまだGitHubから読み取っていません

  • … 未チェック

    ライセンスがある

    このリポジトリはまだGitHubから読み取っていません

  • – 対象外

    エンドポイントが応答する

    これはパソコンで動くため、インターネット上のエンドポイントはありません

  • – 対象外

    OAuthでサインイン

    パソコンで動き、代わりにローカルの設定を使います

  • … 未チェック

    ツールの説明に隠れた指示がない

    パソコンで動くサーバーです。ツール一覧を読み取れるのは、インターネット上のエンドポイントがある場合だけです

その他のほかのサーバーとの比較i

  • このカテゴリのほかの32455件のうち0%よりスターが多い
  • このカテゴリのほかの32455件のうち82%より最近レジストリに公開
  • 基本チェックの結果が、このカテゴリのほかの32455件のうち100%と同じかそれ以上

レジストリでこのカテゴリにある有効なすべてのサーバーと比較しています。スターは、公開者がリポジトリの所有者である場合だけ数えます。

よくある質問

Complexity Analysisは安全ですか?

当てはまる基本チェック1項目のうち1項目に合格しました。コードは読んでいません。キーやトークンを追加する前に、サーバーがどんなアクセスを求めているかを確認し、必要な権限だけを持つキーを使ってください。

どんなキーやコードが必要ですか?

レジストリには必須のキーは載っていません。ただし、最初に使うときにサインインを求めるサーバーもあります。

パソコンで動きますか、それともクラウドですか?

あなたのパソコンで動きます。必要なときにAIアプリが起動し、データは作者のサーバーを通りません(サーバー自体がオンラインサービスを呼び出す場合を除きます)。

今もメンテナンスされていますか?

GitHubリポジトリの最終更新は–、最新バージョン(1.0.1)がレジストリに届いたのは7 日前です。

どのアプリで使えますか?

Claude Desktop、Claude Code、Cursor、VS CodeなどのMCP対応アプリで使えます。パソコンに.NETも必要です。

代わりに使えるものは?

同じカテゴリには:Spec Driven Development, Remote Desktop Commander, SSTracker free youth training

代わりの候補

同じカテゴリで、ほかの作者が作ったサーバー。スターの多い順。

カードの見方:★ GitHubスターi3つの柱:レビュー · チェック · 利用状況i更新=最新バージョンをレジストリに公開した日i

Remote Desktop Commander

作者:desktop-commander

Remote Desktop Commander: use files, terminal and processes on your own computers from any AI app.

クラウドで動く★ 211昨日更新
インストール

作者のREADME

READMEを開く

作者のリポジトリから書かれたとおりにコピーしたものです。PopNx MCPは内容を確認・推奨していません。HTML、画像、スクリプトは取り除いています。リンクはこのサイトの外へ移動します。

ComplexityAnalysis.Mcp

Português (Brasil)

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.

Choose the right product

  • 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.

Requirements and 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.

Start the server

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 optionDefaultAllowed values
--root Current directoryExisting directory
--timeout-seconds 301 to 300
--max-input-bytes 52428800 (50 MiB)1 to 1073741824
--max-files 20001 to 100000

Use complexity-mcp --help for the installed version's options. --help and --version print and exit before stdio protocol startup.

MCP tools

All tools are annotated read-only and return structured content.

analyze_project

Analyzes 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_evidence

Looks 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_snapshots

Compares baseline and current .json complexity snapshots below --root. Results are deterministic. An Unknown estimate is incomparable and is not promoted to a proven regression.

Example agent workflow

Ask an agent:

  • "Summarize complexity hotspots in src/App/App.csproj."
  • "Why is member M:App.Search(System.Int32[]) reported as quadratic?"
  • "Compare baseline.json with current.json; list only proven regressions."
  • "Which results are Unknown, and what evidence explains each one?"

For large projects, the efficient sequence is:

  1. call analyze_project with responseMode: "summary";
  2. inspect isTruncated and the returned member index;
  3. call 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.

Client configuration

The common launch values are:

{

"command": "complexity-mcp", "args": ["--root", "/absolute/path/to/project"] }

VS Code / GitHub Copilot

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.

Codex CLI and IDE extension

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.

Claude Desktop

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.

Windows, macOS, and Linux notes

  • Ensure the .NET global tools directory is on the environment 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.
  • JSON Windows paths require escaped backslashes; forward slashes also work in .NET paths.
  • GUI clients may inherit a different 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.

Distribution and Official MCP Registry

The three publication channels have different purposes:

  • NuGet.org hosts the installable .NET tool used by the commands above.
  • GitHub Packages mirrors the same validated .nupkg for consumers of the repository package feed.
  • The Official MCP Registry stores discovery metadata for 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:

  • OIDC login fails: confirm the run is a manual deployment from main, the protected release environment approved it, and id-token: write remains on the Registry job. No PAT or persistent Registry secret is expected.
  • Manifest validation fails: run mcp-publisher validate .mcp/server.json and keep the server name, NuGet identifier, stdio transport, and schema valid.
  • Package is not available: wait for NuGet.org flat-container and README indexing, then rerun the same release workflow. Published package and release artifacts remain intact.
  • Version conflict: Registry and NuGet versions are immutable. A retry is accepted only for compatible metadata; otherwise correct the source and use a new semantic version instead of attempting to replace the published one.

See the official package-type specification, GitHub Actions publishing guide, and .NET publishing guide.

Security and limitations

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.

Project links

PopNxに聞く