Mcp Server

by mcp-ruah

138 downloads
Not rated
GitHub

About

Mcp Server is a set of MCP server implementations for YouTube, weather, and knowledge graph, packaged as Docker images. It is intended for developers who want to run these MCP servers locally or in containerized environments.

Details

Author
mcp-ruah
Downloads
138
Categories
Other

- Uses uv for fast Python environment setup.
- Provides Docker images for YouTube, weather, and knowledge graph MCP servers.
- Supports both Windows and macOS activation commands.
- Includes clear Docker build

Set up a Python 3.13 virtual environment using uv, activate it, install dependencies, then build Docker images for the desired MCP server using the provided Dockerfiles and commands.

quick start

uv init --python 3.13 // 원하는 버전

uv venv // .venv 가상환경 설치

// Window
./.venv/Scripts/activate

// MacOS
source .venv/bin/activate

// 라이브러리 설치
uv pip install -e .

docker

//docker build 
docker image build -t (도커이미지이름) -f (폴더명)/Dockerfile .
docker image build -t mcp/youtube -f youtube/Dockerfile .
docker image build -t mcp/weather -f weather/Dockerfile .
docker image build -t mcp/knowledge_graph -f memgraph/Dockerfile .

// docker execution(mcp서버가 알아서 실행하기때문에 안해도됨)
docker run -p 8006:8006 -i --rm mcp/weather

//docker container stop
docker ps //빌드된 컨테이너 목록
docker stop (container ID or name)

//docker image delete
docker images // 빌드된 이미지 목록
docker rmi (REPOSITORY)

exit docker container

// 실행중인 컨테이너 확인
docker ps
// 출력
CONTAINER ID   IMAGE          COMMAND                   CREATED         STATUS         PORTS                    NAMES
6784f3bbb400   5db99b68d643   "uv run mcp run tool…"   9 minutes ago   Up 9 minutes   0.0.0.0:8006->8006/tcp   zen_liskov
// container id를 이용하거나 이름으로 중지
docker stop 6784f3bbb400
docker stop zen_liskov
No reviews yet — be the first

Sign in to leave a review

Use Google, GitHub, or an email account so ratings stay tied to real people.

Email sign in

No reviews posted yet.