Skip to main content
Glama
tetracoralla

context-surface-analyzer

by tetracoralla

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 start

Web画面は 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です。 LICENSENOTICE を参照してください。

A
license - permissive license
Not graded
quality - not tested
C
maintenance

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

  • A
    license
    Not graded
    quality
    B
    maintenance
    Provides 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.
    11
    MIT
  • A
    license
    Not graded
    quality
    C
    maintenance
    Provides 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
  • A
    license
    A
    quality
    B
    maintenance
    Provides 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.
    5
    1
    Apache 2.0
  • A
    license
    Not graded
    quality
    A
    maintenance
    Performs explainable, deterministic static analysis of MCP tool metadata to detect misleading instructions, concealed capabilities, and schema drift without executing tools.
    1
    MIT

View all related MCP servers

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.

View all MCP Connectors

Latest Blog Posts

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