Skip to main content
Glama

MCP: Model Context Protocol

MCP: 모델 컨텍스트 프로토콜

프로젝트 설명

MCP(Model Context Protocol)는 언어 모델(LLM)과 상호작용할 때 컨텍스트를 관리하는 시스템입니다. 이 시스템을 사용하면 요청 간 대화의 맥락을 저장할 수 있으며, 이를 통해 언어 모델이 이전 상호작용을 "기억"할 수 있습니다.

특이점

  • 요청 간 컨텍스트 유지 및 관리
  • Google Gemini API와 통합
  • 여러 개의 독립 세션 사용 가능
  • 식별자를 사용하여 세션 간 전환
  • 대화 기록의 로컬 저장소

기술

  • 파이썬 3
  • 패스트API
  • 제미니 API
  • 유비콘

설치

  1. 복제 저장소:

지엑스피1

  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 - 프로젝트 종속성

특허

MIT

작가

알렉스 레플리케이터 - 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