Skip to main content
Glama

MCP Server Demo

by tian1ll1

MCP 서버 데모

이 프로젝트는 모델 컨텍스트 프로토콜(MCP) 서버 구현을 보여줍니다. MCP는 AI 모델과 외부 도구/서비스 간의 통신을 원활하게 하면서 컨텍스트 인식을 유지하도록 설계된 프로토콜입니다.

특징

  • 기본 MCP 서버 구현
  • 도구 통합 예시
  • 컨텍스트 관리 데모
  • WebSocket 기반 실시간 통신
  • 간단한 클라이언트 예

프로젝트 구조

지엑스피1

설치

  1. 저장소를 복제합니다.
git clone https://github.com/tian1ll1/mcp-server-demo.git cd mcp-server-demo
  1. 가상 환경을 만듭니다(권장):
python -m venv venv source venv/bin/activate # On Windows: venv\Scripts\activate
  1. 종속성 설치:
pip install -r requirements.txt

용법

  1. MCP 서버를 시작합니다.
python src/server.py
  1. 예제 클라이언트를 실행합니다.
python examples/client.py

작동 원리

MCP 서버는 다음과 같은 주요 구성 요소를 구현합니다.

  1. 컨텍스트 관리 : 각 세션의 대화 기록과 관련 컨텍스트를 유지 관리합니다.
  2. 도구 등록부 : 사용 가능한 도구와 사양을 관리합니다.
  3. 메시지 처리 : 수신 메시지를 처리하고 적절한 도구로 전달합니다.
  4. WebSocket 서버 : 클라이언트와 실시간 통신을 제공합니다.

기여하다

기여를 환영합니다! 풀 리퀘스트를 제출해 주세요.

특허

이 프로젝트는 MIT 라이선스에 따라 라이선스가 부여되었습니다. 자세한 내용은 라이선스 파일을 참조하세요.

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

AI 모델과 외부 도구 간의 통신을 원활하게 하면서 컨텍스트 인식을 유지하는 모델 컨텍스트 프로토콜 서버의 데모 구현입니다.

  1. 특징
    1. 프로젝트 구조
      1. 설치
        1. 용법
          1. 작동 원리
            1. 기여하다
              1. 특허

                Related MCP Servers

                • -
                  security
                  F
                  license
                  -
                  quality
                  A Model Context Protocol server implementation that enables connection between OpenAI APIs and MCP clients for coding assistance with features like CLI interaction, web API integration, and tool-based architecture.
                  Last updated 2 months ago
                  33
                  Python
                  • Linux
                  • Apple
                • -
                  security
                  F
                  license
                  -
                  quality
                  A comprehensive Model Context Protocol server implementation that enables AI assistants to interact with file systems, databases, GitHub repositories, web resources, and system tools while maintaining security and control.
                  Last updated 5 months ago
                  6
                  1
                  TypeScript
                • A
                  security
                  A
                  license
                  A
                  quality
                  A customizable Model Context Protocol server implementation that enables AI models to interact with external tools including weather queries, Google search, and camera control functionality.
                  Last updated 4 months ago
                  1
                  13
                  Python
                  Apache 2.0
                  • Linux
                  • Apple
                • -
                  security
                  A
                  license
                  -
                  quality
                  A server that implements the Model Context Protocol, providing a standardized way to connect AI models to different data sources and tools.
                  Last updated 3 months ago
                  2
                  7
                  TypeScript
                  MIT License

                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/tian1ll1/mcp-server-demo'

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