Country MCP Server

by pai-bh
Verified

local-only server

The server can only run on the client’s local machine because it depends on local resources.

Integrations

  • Planned integration for accessing and potentially modifying Figma designs through the MCP server

  • Planned integration for accessing and managing Google Calendar events and schedules through the MCP server

  • Planned integration for interacting with Slack workspaces, likely enabling message sending and workspace management through the MCP server

MCP (Model Context Protocol) Tutorial

📚 Learning Steps

Step 0: Understanding MCP

  • MCP Concept and Structure
    • Understanding Resources, Tools, and Prompts
    • Understanding MCP Server, Host, and Client
    • MCP vs Traditional API
    • Understanding Communication Protocols

Step 1: Using MCP Inspector

  • Testing with Inspector
    • Basic server implementation (examples/country_server/country_server.py)
    • How to use Inspector
    • Session management and communication methods

Step 2: External Service Integration

  • Google Calendar integration (in progress)
  • Slack integration (in progress)
  • Figma integration (in progress)

🚀 Get started

  • External libraries used are fastmcp and mcp-agent.

Preferences

# Poetry 설치 (필요한 경우) curl -sSL https://install.python-poetry.org | python3 - # 프로젝트 의존성 설치 poetry install # 가상환경 활성화 poetry shell

Running the basic server

mcp dev examples/country_server/country_server.py

📁 Project Structure (Draft)

. ├── docs/ │ ├── 00_MCP란?.md │ └── 01_MCP inspector를 활용한 테스트.md ├── examples/country_server/country_server.py # 기본 MCP 서버 예제 ├── country_client.py # Python 클라이언트 예제 ├── pyproject.toml # 의존성 관리 └── README.md

🔗 References

Official Document

Community Resources

Additional Study Materials

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

A tutorial MCP server implementation that provides country information, demonstrating the Model Context Protocol for building AI-powered applications with external service integration capabilities.

  1. 📚 학습 단계
    1. Step 0: MCP 이해하기
    2. Step 1: MCP Inspector 활용
    3. Step 2: 외부 서비스 연동
  2. 🚀 시작하기
    1. 환경 설정
    2. 기본 서버 실행
  3. 📁 프로젝트 구조 (초안)
    1. 🔗 참고 자료
      1. 공식 문서
      2. 커뮤니티 자료
      3. 추가 학습 자료
    ID: hekuxt35uw