context-surface-analyzer
Context Surface Analyzer
1つの明示的なAgentツールカタログスナップショットを測定し、2つのスナップショットを比較するための、ローカルで決定的なユーティリティです。
正規のUTF-8バイト列とSHA-256ダイジェスト、ツール/スキーマ数、完全一致する重複スキーマ、厳密な名前衝突、宣言済み予算のチェック、および差分を報告します。オプションのトークン数は外部で測定され、完全にラベル付けされたままです。本製品はバイト列からトークンを推測したり、ツールが有用かどうかを判断したりしません。
実行
Node.js 22 以降が必要で、サードパーティ製のランタイム依存関係はありません。
npm run check
node src/cli.js analyze examples/baseline.json
node src/cli.js diff examples/baseline.json examples/updated.json
npm startWeb画面は http://127.0.0.1:4173 で開きます。一時的なポートを選ぶには --port 0 を指定します。スナップショットは貼り付けるか、サイズ制限付きのローカルJSONファイルから読み込めます。ページを閉じた後、ブラウザがそのデータを保持することはありません。
Related MCP server: repo-health
スナップショットの取得元
各スナップショットは、現在のプロバイダー、ホスト、または承認されたエクスポーターから取得してください。本製品は、ホストの自動検出、任意のMCPサーバーの起動、ファイルのクロール、またはリポジトリのフィクスチャを現在インストール済みのカタログとして扱うことを意図的に行いません。分析の前に、エクスポートされたカタログをクローズドな context-surface.snapshot.v0.1 形式へ変換し、エクスポーター、プロバイダー、リビジョンを記録の正本として保持してください。
MCP
改行区切りのJSON-RPC stdio サーバーを起動します:
npm run mcp読み取り専用のツールを2つ提供します。
context.analyze: 1つのスナップショットを1つの分析結果に;context.diff: 以前のスナップショットと後のスナップショットを1つの比較に。
どちらのツールもスナップショットのJSONをサイズ制限付きの文字列として受け取るため、Agentルートには周辺のファイルシステムへの権限がありません。スナップショットの契約と正確な意味論は、[プロダクトモデル](docs/PRODUCT_MODEL.md)を参照してください。
このポータブルランタイムは、MCP 2025レガシー時代を意図的にリビジョン 2025-11-25 まで提供します。両世代対応のクライアントは server/discover のメソッド未検出(method-not-found)レスポンスから境界を識別し、initialize にフォールバックできます。2026年専用のモダントランスポートは、この依存を持たないプラグインでは対象外です。
ローカル Codex プラグイン
リポジトリローカルのプラグインをビルド・検証し、このリポジトリをローカルマーケットプレイスとして追加してから、プラグインをインストールします:
npm run check
codex plugin marketplace add <repository-root>
codex plugin add context-surface-analyzer@context-surface-analyzerインストール後に新しいCodexタスクを開始してください。これにより、SkillツールとMCPツールが同じキャッシュ済みのプラグインバージョンから読み込まれます。
ステータス
これはローカルMVPです。開発チェック、直接のランタイムテスト、インストール済みCodexのルーティング、本番時の負荷挙動、公開リリースの準備状態、オーナーによる目視承認は、それぞれ独立した別の主張として扱われます。レビュー契約 と 最初の実カタログでのドッグフーディングメモ を参照してください。
ライセンス
Apache License 2.0です。 LICENSE と NOTICE を参照してください。
This server cannot be installed
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- AlicenseNot gradedqualityBmaintenanceProvides source-backed design context, route card validation, contract generation, critique and verification reports, evidence packages, Penpot change plans, and anti-repeat checks for design workflows. Does not directly mutate Penpot, but consumes read-only Penpot snapshots.11MIT
- AlicenseNot gradedqualityCmaintenanceProvides read-only repository health scanning tools for drift detection, module reachability, prompt bloat, evidence calibration, and registration completeness, enabling agents to diagnose repositories via MCP.MIT
- AlicenseAqualityBmaintenanceProvides a JSON-RPC MCP server that exposes policy-governed agent tools, including paid tools, tool muxing, and OpenAPI-to-MCP conversion, enabling agents to discover, coordinate, and execute tasks within the ProtoOS ecosystem.51Apache 2.0
- AlicenseNot gradedqualityAmaintenancePerforms explainable, deterministic static analysis of MCP tool metadata to detect misleading instructions, concealed capabilities, and schema drift without executing tools.1MIT
Related MCP Connectors
Read-only XRP Ledger MCP tools with proof-annotation envelopes and signed daily snapshots.
Safety-first EVM and Bitcoin RPC tools for balances, contracts, blocks, and transactions
Read-only tools over the Safer Agentic AI framework: 238 patterns + 14 heuristics.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/tetracoralla/context-surface-analyzer'
If you have feedback or need assistance with the MCP directory API, please join our Discord server