Skip to main content
Glama

Country MCP Server

by pai-bh

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

remote-capable server

The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.

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. 追加学習資料

    Related MCP Servers

    • -
      security
      A
      license
      -
      quality
      A framework to use with AI to easily create a server for any service. Just drop the API Documentation in it and ask to create the MCP.
      Last updated -
      4
      TypeScript
      MIT License
    • -
      security
      F
      license
      -
      quality
      A generic Model Context Protocol framework for building AI-powered applications that provides standardized ways to create MCP servers and clients for integrating LLMs with support for Ollama and Supabase.
      Last updated -
      TypeScript
    • -
      security
      F
      license
      -
      quality
      Implements the Model Context Protocol (MCP) to provide AI models with a standardized interface for connecting to external data sources and tools like file systems, databases, or APIs.
      Last updated -
      90
      Python
      • Apple
      • Linux

    View all related MCP servers

    MCP directory API

    We provide all the information about MCP servers via our MCP API.

    curl -X GET 'https://glama.ai/api/mcp/v1/servers/pai-bh/mcp-tutorial'

    If you have feedback or need assistance with the MCP directory API, please join our Discord server