
MCP-Server-Udemy
MCP Crash Course: Protocole de contexte de modèle complet dans un cours de journée d'Udemy
3 years
Works with Finder
0
Github Watches
0
Github Forks
0
Github Stars
MCP Servers Learning Project
This repository contains examples and implementations of Model Context Protocol (MCP) servers and clients. MCP is a protocol that allows LLMs like Claude to interact with external tools and data sources in a standardized way.
Project Structure
The repository is organized into several modules, each focusing on different aspects of MCP:
1. Quickstart Resources
The 1_quickstart-resources
directory contains sample implementations of MCP clients and servers to help you get started:
- mcp-client-python: A Python client implementation for connecting to MCP servers
- mcp-client-typescript: A TypeScript client implementation for connecting to MCP servers
- weather-server-python: A sample Python MCP server that provides weather information
- weather-server-typescript: A sample TypeScript MCP server that provides weather information
These examples demonstrate basic MCP concepts and provide starting points for your own implementations.
2. MCP Documentation Server
The 2_mcpdoc
directory contains a specialized MCP server for serving documentation:
- Implements an MCP server that can retrieve and serve documentation from various sources
- Includes configuration examples and a robust project structure
- Demonstrates advanced MCP concepts like error handling and resource management
3. Terminal Server
The 3_building_securing_and_containerizing_mcp_server
directory contains a custom MCP server implementation that:
- Exposes a terminal command execution tool allowing access to system commands
- Provides a resource for accessing MCP documentation
- Demonstrates proper error handling and input validation
- Shows how to implement both tools and resources in a single server
Getting Started
Prerequisites
- Python 3.10 or higher
- MCP SDK 1.2.0 or higher
- For TypeScript examples: Node.js and npm
Installation
# For Python dependencies
uv add "mcp[cli]" httpx
# Or with pip
pip install "mcp[cli]" httpx
Running MCP Servers
You can run any of the MCP servers using:
# With Python directly
python <path_to_server.py>
# Or with the MCP CLI
mcp dev <path_to_server.py>
For example, to run the terminal server:
python 3_building_securing_and_containerizing_mcp_server/server.py
# Or
mcp dev 3_building_securing_and_containerizing_mcp_server/server.py
Connecting to Claude Desktop
To connect an MCP server to Claude Desktop:
mcp install <path_to_server.py>
Key Concepts
- Tools: Functions that can be called by Claude to execute code or produce side effects
- Resources: Data exposed to Claude that can be read and referenced
- Prompts: Templates for structuring interactions with Claude
Contributing
Feel free to extend and modify these examples for your own use cases. If you develop a useful MCP server, consider sharing it with the community!
Resources
相关推荐
🔥 1Panel fournit une interface Web intuitive et un serveur MCP pour gérer des sites Web, des fichiers, des conteneurs, des bases de données et des LLM sur un serveur Linux.
⛓️RULEGO est un cadre de moteur de règle d'orchestration des composants de nouvelle génération légère, intégrée, intégrée et de nouvelle génération pour GO.
🧑🚀 全世界最好的 LLM 资料总结 (数据处理、模型训练、模型部署、 O1 模型、 MCP 、小语言模型、视觉语言模型) | Résumé des meilleures ressources LLM du monde.
Flock est une plate-forme à faible code de workflow pour construire rapidement des chatbots, un chiffon et coordonner des équipes multi-agents, alimentée par Langgraph, Langchain, Fastapi et NextJs. (Flock 是一个基于 Workflow 工作流的低代码平台 , 用于快速构建聊天机器人、 Rag 、 Agent 和 和 , 采用 采用 采用 采用 Langgraph 、 Langchain 、 Fastapi 和 ,))
PDF Traduction de papier scientifique avec formats conservés - 基于 AI 完整保留排版的 PDF 文档全文双语翻译 , 支持 Google / Deepl / Olllama / Openai 等服务 , 提供 CLI / GUI / MCP / DOCKER / ZOTERO
Plateforme d'automatisation de workflow à code équitable avec des capacités d'IA natives. Combinez le bâtiment visuel avec du code personnalisé, de l'auto-hôte ou du cloud, 400+ intégrations.
Créez facilement des outils et des agents LLM à l'aide de fonctions Plain Bash / JavaScript / Python.
😎简单易用、🧩丰富生态 - 大模型原生即时通信机器人平台 | 适配 QQ / 微信 (企业微信、个人微信) / 飞书 / 钉钉 / Discord / Telegram / Slack 等平台 | 支持 Chatgpt 、 Deepseek 、 Dify 、 Claude 、 GEMINI 、 XAI 、 PPIO 、 OLLAMA 、 LM Studio 、阿里云百炼、火山方舟、 Siliconflow 、 Qwen 、 Moonshot 、 ChatGlm 、 Sillytraven 、 MCP 等 LLM 的机器人 / Agent | Plateforme de bots de messagerie instantanée basés sur LLM, prend en charge Discord, Telegram, WeChat, Lark, Dingtalk, QQ, Slack
Une passerelle basée sur un plugin qui orchestre d'autres MCP et permet aux développeurs de s'appuyer sur des agents de qualité d'entreprise informatiques.
Reviews

user_e0CuZdh0
MCP-server-udemy by sagarnildass is a phenomenal resource for anyone looking to dive deep into server management and deployment. Its comprehensive coverage and easy-to-follow structure make complex concepts accessible. The support and updates enhance the learning experience. Highly recommend for both beginners and seasoned professionals!