Country MCP Server

Country MCP Server

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

Category
Visit Server

README

MCP (Model Context Protocol) Tutorial

<div align="center">

Python Version MCP Version Documentation

</div>

📚 학습 단계

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

🔗 참고 자료

공식 문서

커뮤니티 자료

추가 학습 자료

Recommended Servers

playwright-mcp

playwright-mcp

A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.

Official
Featured
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.

Official
Featured
Local
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.

Official
Featured
Local
TypeScript
VeyraX MCP

VeyraX MCP

Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.

Official
Featured
Local
graphlit-mcp-server

graphlit-mcp-server

The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.

Official
Featured
TypeScript
Kagi MCP Server

Kagi MCP Server

An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.

Official
Featured
Python
E2B

E2B

Using MCP to run code via e2b.

Official
Featured
Neon Database

Neon Database

MCP server for interacting with Neon Management API and databases

Official
Featured
Exa Search

Exa Search

A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.

Official
Featured
Qdrant Server

Qdrant Server

This repository is an example of how to create a MCP server for Qdrant, a vector search engine.

Official
Featured