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
244
Project Details
- pai-bh/mcp-tutorial
- Last Updated: 4/14/2025
Recomended MCP Servers
Weather and WordPress Integration Server
An MCP server exploration
Variflight Flight Information Server
A Model Context Protocol (MCP) server implementation for Variflight services.
Azure Integration Server
A Model Context Protocol (MCP) implementation that enables Claude Desktop to interact with Azure services. This integration allows...
MarkItDown Server
A Model Context Protocol (MCP) server that converts various file formats to Markdown using the MarkItDown utility.
๐งฉ
Qase Test Management Server
Memo Server for Session Memory Management
A lightweight MCP server for session memory management
Knowledge Graph Memory Server
Model Context Protocol Servers
๐งฉ
LLM Responses Collaboration Server
๐งฉ
Knowledge Graph Memory Server
simple memory mcp server with custom memory location
Memory Bank
Skrape MCP Server
MCP Server for skrape.ai, lets you input any URL and it returns clean markdown for the LLM
๐งฉ
Linear MCP Server
Implementation of an MCP server for Linear integration





