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(模型上下文协议)教程

📚 学习步骤

步骤 0:理解 MCP

  • MCP概念和结构
    • 了解资源、工具和提示
    • 了解 MCP 服务器、主机和客户端
    • MCP 与传统 API 对比
    • 了解通信协议

步骤 1:使用 MCP 检查器

  • 使用 Inspector 进行测试
    • 基本服务器实现(examples/country_server/country_server.py)
    • 如何使用检查器
    • 会话管理和通信方法

步骤2:外部服务集成

  • Google 日历集成(正在进行中)
  • 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

🔗 参考文献

公文

社区资源

额外的学习材料

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

提供国家信息的教程 MCP 服务器实现,演示了用于构建具有外部服务集成功能的 AI 驱动应用程序的模型上下文协议。

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