Skip to main content
Glama

MCP: Model Context Protocol

MCP: モデルコンテキストプロトコル

プロジェクトの説明

MCP (モデル コンテキスト プロトコル) は、言語モデル (LLM) と対話するときにコンテキストを管理するためのシステムです。システムにより、リクエスト間の対話のコンテキストを保存できるため、言語モデルは以前の対話を「記憶」できるようになります。

特徴

  • リクエスト間のコンテキストの維持と管理
  • Google Gemini APIとの統合
  • 複数の独立したセッションを使用する可能性
  • 識別子を使用してセッションを切り替える
  • ダイアログ履歴のローカル保存

テクノロジー

  • Python 3
  • ファストAPI
  • ジェミニAPI
  • ウビコーン

インストール

  1. リポジトリのクローン:
git clone https://github.com/Alex-Replicator/mcp-letta.git cd mcp-letta
  1. 仮想環境を作成してアクティブ化します。
python -m venv venv source venv/bin/activate # для Linux/Mac # или venv\Scripts\activate # для Windows
  1. 依存関係をインストールします:
pip install -r requirements.txt
  1. .envファイルを作成し、API キーを追加します。
GEMINI_API_KEY=ваш_ключ_gemini_api

使用法

サーバーの起動

python mcp_server.py

サーバーは次の場所で利用できます: http://localhost:9999

クライアントの使用

リクエストを送信します(新しいセッションが作成されます):

python mcp_client.py --new "Ваш запрос к модели"

同じセッションで対話を続けます。

python mcp_client.py "Ваш следующий запрос"

ID で特定のセッションを使用する:

python mcp_client.py --id "id_сессии" "Ваш запрос"

すべてのセッションのリストを表示:

python mcp_client.py --list

プロジェクト構造

  • mcp_server.py - メイン MCP サーバー
  • mcp_client.py - サーバーとのやり取りのためのクライアント
  • requirements.txt - プロジェクトの依存関係

ライセンス

マサチューセッツ工科大学

著者

アレックス・レプリケーター - alex.replicator@gmail.com

GitHub: https://github.com/Alex-Replicator/

-
security - not tested
F
license - not found
-
quality - not tested

remote-capable server

The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.

言語モデルのインタラクションのコンテキストを管理するシステム。これにより、モデルは Gemini API を使用して複数の独立したセッションにわたる以前のインタラクションを記憶できるようになります。

  1. プロジェクトの説明
    1. 特徴
      1. テクノロジー
        1. インストール
          1. 使用法
            1. サーバーの起動
            2. クライアントの使用
          2. プロジェクト構造
            1. ライセンス
              1. 著者

                Related MCP Servers

                • -
                  security
                  A
                  license
                  -
                  quality
                  A Model Context Protocol server that allows Claude to create flashcards for Rember, helping users study and remember information through spaced repetition reviews.
                  Last updated -
                  88
                  16
                  TypeScript
                  MIT License
                • -
                  security
                  F
                  license
                  -
                  quality
                  A server implementing the Model Context Protocol that enables AI assistants like Claude to interact with Google's Gemini API for text generation, text analysis, and chat conversations.
                  Last updated -
                  Python
                  • Linux
                  • Apple
                • -
                  security
                  A
                  license
                  -
                  quality
                  A Model Context Protocol server implementation that provides a standardized interface for applications to interact with OpenRouter's language models through a unified conversation management system.
                  Last updated -
                  TypeScript
                  MIT License
                • -
                  security
                  F
                  license
                  -
                  quality
                  A server that manages conversation context for LLM interactions, storing recent prompts and providing relevant context for each user via REST API endpoints.
                  Last updated -
                  932
                  TypeScript

                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/Alex-Replicator/mcp-letta'

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