MCP (Model Context Protocol) Tutorial
📚 학습 단계
Step 0: MCP 이해하기
- MCP 개념 및 구조
- Resources, Tools, Prompts 이해
- MCP Server, Host, Client에 대한 이해
- MCP vs 전통적인 API
- 통신 프로토콜 이해
Step 1: MCP Inspector 활용
- Inspector를 통한 테스트
- 기본 서버 구현 (examples/country_server/country_server.py)
- Inspector 사용법
- 세션 관리 및 통신 방식
Step 2: 외부 서비스 연동
- Google Calendar 연동 (진행 예정)
- Slack 연동 (진행 예정)
- Figma 연동 (진행 예정)
🚀 시작하기
- 외부 라이브러리는 fastmcp, mcp-agent를 사용한다.
환경 설정
# Poetry 설치 (필요한 경우)
curl -sSL https://install.python-poetry.org | python3 -
# 프로젝트 의존성 설치
poetry install
# 가상환경 활성화
poetry shell
기본 서버 실행
mcp dev examples/country_server/country_server.py
📁 프로젝트 구조 (초안)
.
├── docs/
│ ├── 00_MCP란?.md
│ └── 01_MCP inspector를 활용한 테스트.md
├── examples/country_server/country_server.py # 기본 MCP 서버 예제
├── country_client.py # Python 클라이언트 예제
├── pyproject.toml # 의존성 관리
└── README.md
🔗 참고 자료
공식 문서
- MCP 공식 문서
- FastMPC 예제
- MCP Agent 예제
- Python SDK GitHub
커뮤니티 자료
- 간단하게 만들면서 이해해보는 MCP
- Awesome MCP Servers
- PyTorch KR Discussion
- https://www.dailydoseofds.com/p/visual-guide-to-model-context-protocol-mcp/
추가 학습 자료
- Building Effective Agents - Anthropic
Country MCP Server
by pai-bh
237
Project Details
- pai-bh/mcp-tutorial
- Last Updated: 4/14/2025
Recomended MCP Servers
JSON Canvas Server
🧩
Python Cat Facts Server
🧩
n8n Workflow Automation Server
MCP server that provides tools and resources for interacting with n8n API
🧩
MediaCrawler
小红书笔记 | 评论爬虫、抖音视频 | 评论爬虫、快手视频 | 评论爬虫、B 站视频 | 评论爬虫、微博帖子 | 评论爬虫
🧩
Tecton Server
Model Context Protocol [Anthropic] - Tecton Server
GitHub MCP Server
Model Context Protocol Servers
🧩
VibeCheck Web Testing Agent
[MCP Server] Complete QA for cursor
302AI Browser Automation Server
302 BrowserUse MCP
🧩
Solana Blockchain MCP Server
A Model Context Protocol server that facilitates interaction with the Solana blockchain, built using the Ping Agent Kit....
ClickUp MCP Server
🧩
Telegram Communicator
An MCP server that enables communication with users through Telegram. This server provides a tool to ask questions...
🧩
CoinMarketCap Universal Server





