Python Server MCP - 암호화폐 가격 서비스
이 프로젝트는 암호화폐 가격 정보를 제공하는 MCP(Model Context Protocol) 서버를 구현합니다. 이 서버는 Python과 MCP 프레임워크를 사용하여 다양한 클라이언트에서 사용할 수 있는 API를 구축합니다.
특징
실시간 암호화폐 가격 검색
환경 기반 구성(개발, 프로덕션, 스테이징, 로컬)
CoinMarketCap API 통합
Docker 컨테이너 배포
요구 사항
파이썬 3.12+
uv(패키지 및 가상 환경 관리자)
Docker(컨테이너 실행을 위한 선택 사항)
설치
uv 사용(권장)
지엑스피1
uv를 사용하여 가상 환경을 만들고 활성화하세요
종속성 설치
uv sync
구성
프로젝트 루트에 다음 변수를 사용하여
.env
파일을 만듭니다.
각 환경에 대해 특정 환경 파일을 만들 수도 있습니다.
.dev.env
- 개발 환경용.staging.env
- 스테이징 환경용.prod.env
- 프로덕션 환경용
용법
로컬 실행
이렇게 하면 표준 입출력(stdio)을 통해 요청을 수신하는 MCP 서버가 시작됩니다.
Docker 사용
프로젝트 구조
개발
MCP 서버에 새 도구 추가
MCP 서버에 새 도구를 추가하려면 다음 단계를 따르세요.
src/__init__.py
파일에 함수를 정의합니다.main()
함수에 도구를 등록합니다.docstring으로 도구 문서화
예:
This server cannot be installed
hybrid server
The server is able to function both locally and remotely, depending on the configuration or use case.
CoinMarketCap API가 통합된 MCP(Model Context Protocol) 프레임워크를 통해 실시간 암호화폐 가격 정보를 제공하는 암호화폐 가격 서비스입니다.
Related MCP Servers
- AsecurityAlicenseAqualityA Model Context Protocol (MCP) server that provides comprehensive cryptocurrency analysis using the CoinCap API. This server offers real-time price data, market analysis, and historical trends through an easy-to-use interface.Last updated -328136MIT License
- AsecurityFlicenseAqualityA Model Context Protocol server that provides access to CoinMarketCap's cryptocurrency data, enabling AI applications to retrieve cryptocurrency listings, quotes, and detailed information.Last updated -33
- AsecurityAlicenseAqualityA Model Context Protocol (MCP) server that provides comprehensive cryptocurrency analysis using the CoinCap API. This server offers real-time price data, market analysis, and historical trends through an easy-to-use interface. Updated to use Coin Cap API v3Last updated -3431MIT License
- -securityFlicense-qualityA cryptocurrency price query service based on Model Context Protocol that provides tools for retrieving virtual currency prices, market trends, detailed information, and K-line data.Last updated -3