Skip to main content
Glama

Context Manager MCP Server

by docherty

コンテキストマネージャーMCPサーバー

開発コンテキストとワークフローを管理するためのモデル コンテキスト プロトコル (MCP) サーバー実装。

特徴

  • 信頼性の高いメッセージフレーミングを備えたソケットベースのトランスポート
  • JSON-RPC 2.0プロトコルの完全サポート
  • 機能ネゴシエーションによるセッション管理
  • 拡張可能なツールレジストリシステム
  • プロジェクト、作業パッケージ、タスク管理
  • チェックポイントと復元機能
  • QAレビューワークフローのサポート

初期設定

# Install dependencies npm install # First-time build npm run build

使用法

サーバーの起動

# Development mode (no build required, uses tsx for on-the-fly compilation) npm run dev # Production mode (requires build) npm start # Start with debug logging DEBUG=1 npm run dev # Start on specific port MCP_PORT=44558 npm run dev

開発モード

# Run with hot reloading (preferred during development) npm run dev # Watch mode for TypeScript compilation (if you prefer running the compiled version) npm run watch # In a separate terminal when using watch mode npm start

クリーンスタート

問題が発生した場合は、クリーン ビルドを試すことができます。

# Remove build artifacts rm -rf dist/ # Reinstall dependencies npm ci # Rebuild the project npm run build # Start in development mode npm run dev

建築

コアコンポーネント

  1. メッセージフレーミング
    • コンテンツ長ベースのプロトコル
    • 信頼性の高いメッセージ境界処理
    • バッファ管理
  2. トランスポート層
    • TCPソケットベースの通信
    • 接続管理
    • イベント駆動型アーキテクチャ
  3. セッション管理
    • クライアントセッションの追跡
    • 能力交渉
    • 状態の永続性
  4. ツールレジストリ
    • 動的ツール登録
    • 入力検証
    • 結果のフォーマット

ツール

  1. プロジェクト管理
    • プロジェクトの作成/取得
    • プロジェクトチェックポイント
    • 国家の回復
  2. 作業パッケージ管理
    • 作業パッケージの作成/取得
    • 進捗状況の追跡
    • ステータスの更新
  3. タスク管理
    • タスクの作成/更新
    • ファイル変更追跡
    • タスクのチェックポイント
  4. QAツール
    • レビューワークフロー
    • 修正リクエスト
    • 作業パッケージの承認

構成

環境変数:

  • DEBUG : デバッグログを有効にする (0/1)
  • MCP_PORT : サーバーポート (デフォルト: 44557)

プロトコル

サーバーは JSON-RPC 2.0 を使用してモデル コンテキスト プロトコルを実装します。

interface MCPMessage { jsonrpc: "2.0"; id: number; method?: string; // for requests params?: any; // for requests result?: any; // for responses error?: { // for error responses code: number; message: string; data?: any; }; }

メッセージフロー

  1. クライアントはTCP経由で接続します
  2. クライアントが初期化要求を送信する
  3. サーバーは機能で応答します
  4. 通常のメッセージ交換が始まる
  5. クライアントはシャットダウン/終了できます

発達

上記の初期設定開発モードのセクションを参照してください。

貢献

  1. リポジトリをフォークする
  2. 機能ブランチを作成する
  3. 変更をコミットする
  4. ブランチにプッシュする
  5. プルリクエストを作成する

ライセンス

ISCライセンス

-
security - not tested
A
license - permissive license
-
quality - not tested

プロジェクト管理、タスク追跡、QA レビュー サポートなどの機能を使用して開発ワークフローを管理するためのモデル コンテキスト プロトコル (MCP) のサーバー実装。

  1. 特徴
    1. 初期設定
      1. 使用法
        1. サーバーの起動
        2. 開発モード
        3. クリーンスタート
      2. 建築
        1. コアコンポーネント
        2. ツール
      3. 構成
        1. プロトコル
          1. メッセージフロー
        2. 発達
          1. 貢献
            1. ライセンス

              Related MCP Servers

              • -
                security
                A
                license
                -
                quality
                MCP Server simplifies the implementation of the Model Context Protocol by providing a user-friendly API to create custom tools and manage server workflows efficiently.
                Last updated -
                4
                3
                TypeScript
                MIT License
              • -
                security
                A
                license
                -
                quality
                MCP Server provides a simpler API to interact with the Model Context Protocol by allowing users to define custom tools and services to streamline workflows and processes.
                Last updated -
                13
                2
                TypeScript
                MIT License
              • -
                security
                -
                license
                -
                quality
                A server implementation that enables integration of Dify workflows with Model Context Protocol (MCP), allowing users to access Dify's capabilities through MCP-compatible clients.
                Last updated -

              View all related MCP servers

              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/docherty/contextmgr-mcp'

              If you have feedback or need assistance with the MCP directory API, please join our Discord server