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

ContextManager

作者:nusheyバージョン 1.3.5i★ –iパソコンで動く
レジストリ名io.github.nushey/context-manager

インストール

概要

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

Roslyn-powered structural context and a dependency graph of C# solutions for AI coding agents.

PopNx MCPの3つの柱

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

できること

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

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

インストール

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

インストールの前に

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

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

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

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

{
  "mcpServers": {
    "context-manager": {
      "command": "dnx",
      "args": [
        "ContextManager",
        "--yes"
      ]
    }
  }
}

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

claude mcp add context-manager -- dnx ContextManager --yes

Cursorで開く

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

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

{
  "mcpServers": {
    "context-manager": {
      "command": "dnx",
      "args": [
        "ContextManager",
        "--yes"
      ]
    }
  }
}

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

VS Codeで開く

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

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

{
  "servers": {
    "context-manager": {
      "type": "stdio",
      "command": "dnx",
      "args": [
        "ContextManager",
        "--yes"
      ]
    }
  }
}

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

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

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

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

できること

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

基本チェックi

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

  • ✓ 合格

    作者とリポジトリが一致

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

  • … 未チェック

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

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

  • … 未チェック

    ライセンスがある

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

  • – 対象外

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

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

  • – 対象外

    OAuthでサインイン

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

  • … 未チェック

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

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

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

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

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

よくある質問

ContextManagerは安全ですか?

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

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

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

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

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

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

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

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

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

代わりに使えるものは?

同じカテゴリには:Spec Driven Development, Remote Desktop Commander, Apify MCP Server

代わりの候補

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

カードの見方:★ 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昨日更新
インストール

Apify MCP Server

作者:apify

Extract data from any website with thousands of scrapers, crawlers, and automations on Apify Store ⚡

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

作者のREADME

READMEを開く

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

ContextManager

Structural C# context for AI coding agents, powered by Roslyn.

Navigate before you read.

Install • Tools • How to use it • FAQ • Full install guide


ContextManager is an MCP server that saves an agent from reading whole C# files. It does two things:

  • Inspects files. It turns a .cs file into a JSON contract with its types, public members, constructor dependencies, base types, interfaces, and events. Method bodies, private members, and XML docs are left out; each method carries its line range so the agent can read only the body it needs.
  • Maps the solution. It builds a knowledge graph of a .sln so the agent can find which files matter, and how risky a change is, before opening any of them.

Install

You need the .NET 10 SDK or later.

macOS / Linux:

curl -fsSL https://raw.githubusercontent.com/nushey/ContextManager/main/scripts/install.sh | bash

Windows (PowerShell):

irm https://raw.githubusercontent.com/nushey/ContextManager/main/scripts/install.ps1 | iex

The installer installs or updates the ContextManager .NET global tool and runs context-manager setup, a wizard that adds the server to the MCP clients you pick (Claude Code, Claude Desktop, Codex, Antigravity, Kilo Code, Cursor, Devin, Opencode).

To install by hand instead:

dotnet tool install -g ContextManager

claude mcp add --scope user context-manager -- context-manager # Claude Code

For other clients, flags, config-file paths, and troubleshooting, see INSTALL.md.

project_scan on .NET Framework 4.8 solutions only works on Windows and needs

Visual Studio Build Tools with the

.NET desktop build tools workload. Everything else works on any platform.

Tools

ToolWhat it returns
inspect_fileThe structural contract of one .cs file.
inspect_contextA compact view of up to 15 .cs files plus the references between them; unresolved lists the user types missing from the set.
project_scanBuilds or refreshes the solution's graph and reports its coverage.
graph_searchFiles and methods matching possible names, grouped by file with namespaces and method node IDs.
graph_get_dependenciesThe neighbors of a node, rolled up to their declaring type, with edge counts per kind.
graph_impact_analysisEvery type that depends on a node, directly or transitively, with its file.
graph_path_findThe shortest dependency path between two nodes.

Graph tools take the path of the .sln and keep the graph up to date on their own: before answering, they re-extract only what changed since the last scan. The graph is saved in .context-manager/ .graph.json next to the .sln, so every session on that solution shares it.

How to use it

Start from a file

When the user mentions a file, start there:

  1. inspect_file(path): read the type and build its node ID as Namespace.TypeName.
  2. graph_get_dependencies(solutionPath, nodeId): find the neighbors worth reading.
  3. inspect_file on those neighbors only.
  4. graph_impact_analysis(solutionPath, nodeId): check the blast radius before changing anything.

A short impact list means the change is contained. A long one means the type's public contract is load-bearing and should be preserved; it does not mean the agent has to read every file in it.

Node IDs use Roslyn's fully qualified format, for example MyApp.Orders.OrderService or MyApp.Orders.OrderService.GetOrderAsync(System.Guid). Pass the IDs that the graph tools return as they are.

// graph_impact_analysis("/abs/path/MyApp.sln", "MyApp.Orders.IOrderRepository")

{ "affectedIds": ["MyApp.Orders.OrderService", "MyApp.Api.OrdersController"], "affectedFiles": { "MyApp.Orders.OrderService": "/abs/path/Orders/OrderService.cs", "MyApp.Api.OrdersController": "/abs/path/Api/OrdersController.cs" } }

Find code by name

When you know roughly what something is called but not which file it is in, and you have no node ID, call graph_search with several candidate names:

{"solutionPath":"/abs/path/MyApp.sln","queries":["Login","Authentication","SignIn"]}

What it searches. A term matches when it appears anywhere in a file name (without .cs) or a method name (without its signature). Matching is ordinal and ignores case, and any one term is enough. It searches every method already in the graph, private ones included, and finds constructors under their type name. It does not search directory paths, parameter types, method bodies, or namespaces.

Valid terms. Terms are trimmed and must have at least 3 characters. An empty list, or a single term that is too short, rejects the whole query before the graph is synchronized, with code invalid_query and message Provide at least one query term; each term must be at least 3 characters long after trimming whitespace.

Order and limit. Exact matches come first, then partial ones; within each group, results keep the order in which they appear in the graph. A name that matches several terms does not rank higher. The search keeps at most 50 matches, and the limit counts matches, not files: each matching file counts once and each matching method ID counts once, even when several terms match it. There is no pagination. When truncated is true, at least one match was left out; use more specific names to narrow the search.

{"results":[{"file":"/abs/path/Auth/Session.cs","namespaces":["MyApp.Auth"],"fileMatched":false,"methods":[{"name":"Login","nodeId":"MyApp.Auth.Session.Login()"}]}],"truncated":false}

Response. The response is one line of compact JSON, grouped by file. Every file entry has file, namespaces, fileMatched, and methods, and empty arrays stay as []. namespaces lists every namespace in the file. fileMatched is true when the file's own name is one of the matches kept within the limit. A file can also appear only because one of its methods was kept, even if its name matched too but fell outside the limit. With no matches, the response is {"results":[],"truncated":false}.

From there, call inspect_file on a returned file, or pass a method's nodeId unchanged to the other graph tools. A graph saved by an older version is re-extracted once to add names and namespaces; later queries reuse the updated graph while nothing changes.

To make your agent follow these workflows, copy docs/AGENTS-template.md into the AGENTS.md of your project.

FAQ

Is it a background service? No. It is an MCP stdio server: the client starts it when a session opens and stops it when the session ends.

What state does it keep? Only the graph files written next to each .sln. The inspection tools read the files you pass and keep nothing.

Does it read my whole solution? Only the graph tools do. inspect_file and inspect_context read just the files you give them.

Build and test

dotnet build

dotnet test

License

MIT © nushey

PopNxに聞く