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

📚学習フェーズ

Step 0: MCPを理解する

  • MCPの概念と構造
    • リソース、ツール、プロンプトについて
    • MCPサーバー、ホスト、クライアントの理解
    • MCP vs 従来の API
    • 通信プロトコルの理解

Step 1: MCP Inspectorの活用

  • Inspectorによるテスト
    • 基本サーバーの実装 (examples/country_server/country_server.py)
    • Inspectorの使い方
    • セッション管理と通信方式

Step 2: 外部サービス連動

  • Google Calendar連携(進行予定)
  • スラック連動(進行予定)
  • 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

🔗参考資料

公式文書

コミュニティ資料

追加学習資料

-
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