Cover image
Try Now
2025-04-14

3 years

Works with Finder

0

Github Watches

0

Github Forks

0

Github Stars

MCP-CRASH-Course

This is a basic example of a Model Context Protocol (MCP) server implementation that demonstrates core functionality including tools and resources. setup Initialize the project (Go to any local folder and launch powershell or cmd):

uv init mcp-server-basic cd mcp-server-basic

Create virtual environment and activate it uv venv .venv\Scripts\activate

Install dependencies: uv add "mcp[cli]" or uv add -r requirements.txt

Features The server implements the following features:

Tools add(a: int, b: int): Adds two numbers subtract(a: int, b: int): Subtracts second number from first Resources greeting://{name}: Returns a personalized greeting Running the Server To run the server with the MCP Inspector for development:

uv run mcp dev main.py

To run the server normally:

uv run mcp run To install the server in Claude desktop app:

uv run mcp install main.py MCP connect in VS code Open folder/mcp-server-basic in vs code open terminal and run below command : uv run main.py Click Cntrl+Shift+I to launch chat in vs code Do login with Github and setup Folow the below steps (two way to add mcp configuration for vs code user settings): Project Structure main.py: Main server implementation with tools and resources pyproject.toml: Project configuration and dependencies

相关推荐

  • av
  • Effortlessly run LLM backends, APIs, frontends, and services with one command.

  • WangRongsheng
  • 🧑‍🚀 全世界最好的LLM资料总结(Agent框架、辅助编程、数据处理、模型训练、模型推理、o1 模型、MCP、小语言模型、视觉语言模型) | Summary of the world's best LLM resources.

  • 1Panel-dev
  • 🔥 1Panel provides an intuitive web interface and MCP Server to manage websites, files, containers, databases, and LLMs on a Linux server.

  • rulego
  • ⛓️RuleGo is a lightweight, high-performance, embedded, next-generation component orchestration rule engine framework for Go.

  • hkr04
  • Lightweight C++ MCP (Model Context Protocol) SDK

  • RockChinQ
  • 😎简单易用、🧩丰富生态 - 大模型原生即时通信机器人平台 | 适配 QQ / 微信(企业微信、个人微信)/ 飞书 / 钉钉 / Discord / Telegram / Slack 等平台 | 支持 ChatGPT、DeepSeek、Dify、Claude、Google Gemini、xAI、PPIO、Ollama、LM Studio、阿里云百炼、SiliconFlow、Qwen、Moonshot、ChatGLM、SillyTraven、MCP 等 LLM 的机器人 / Agent | LLM-based instant messaging bots platform, supports Discord, Telegram, WeChat, Lark, DingTalk, QQ, Slack

  • sigoden
  • Easily create LLM tools and agents using plain Bash/JavaScript/Python functions.

  • evilsocket
  • The Simple Agent Development Kit.

  • modelscope
  • Start building LLM-empowered multi-agent applications in an easier way.

  • dmayboroda
  • On-premises conversational RAG with configurable containers

    Reviews

    2.4 (10)
    Avatar
    user_FKg4U59g
    2025-04-23

    Having recently completed the MCP-CRASH-Course by Patsonu63, I can confidently say it's a game-changer. The course is extremely comprehensive, touching on every essential aspect needed to master MCP applications. The welcoming information provided sets a pleasant tone, and the structured curriculum ensures a fluid learning experience. Highly recommended for anyone looking to deepen their knowledge in MCP!

    Avatar
    user_YUGiIwSl
    2025-04-23

    The MCP-CRASH-Course by Patsonu63 is an exceptional resource for anyone looking to master the essentials quickly. The content is well-organized and easy to follow, making complex topics understandable even for beginners. Highly recommended for its comprehensive coverage and effective teaching methods. Don't miss out on this fantastic learning opportunity!

    Avatar
    user_aFZkuMUE
    2025-04-23

    The MCP-CRASH-Course by Patsonu63 is an outstanding resource for anyone wanting to master MCP applications quickly and efficiently. The course content is well-structured and easy to follow, making complex concepts understandable even for beginners. I highly recommend this crash course for its quality material and user-friendly approach.

    Avatar
    user_abAtzu10
    2025-04-23

    I recently completed the MCP-CRASH-Course by Patsonu63, and it was truly exceptional. The content is incredibly well-structured and easy to follow. It provided me with clear, concise, and practical information that I could apply immediately. I appreciated the step-by-step guidance and the user-friendly interface. Highly recommend it to anyone looking to enhance their MCP skills quickly and effectively!

    Avatar
    user_UhaOwpXq
    2025-04-23

    The MCP-CRASH-Course by Patsonu63 is a comprehensive and well-structured course that provides valuable insights and in-depth knowledge on the subject. The content is clear, engaging, and easy to follow, making it an excellent resource for both beginners and experienced users. Highly recommended for anyone looking to enhance their skills and understanding in this field.

    Avatar
    user_Fj3LDSsD
    2025-04-23

    The MCP-CRASH-Course by Patsonu63 is an incredible resource for anyone looking to deepen their understanding of MCP applications. The course is well-structured and provides a comprehensive overview, making complex topics accessible and engaging. Highly recommend for both beginners and advanced users seeking to expand their knowledge.

    Avatar
    user_wYA6Jgx5
    2025-04-23

    The MCP-CRASH-Course by Patsonu63 is an outstanding resource for mastering the MCP application. The course is well-structured and provides comprehensive insights, making it easy to understand even complex concepts. The welcoming information is encouraging, setting a positive tone from the beginning. Highly recommend for anyone looking to enhance their MCP skills effectively!

    Avatar
    user_pJadoyAJ
    2025-04-23

    As a dedicated MCP user, I found the MCP-CRASH-Course by Patsonu63 to be exceptional. The course is meticulously designed, making complex concepts easy to grasp. The structured lessons and practical examples enriched my understanding significantly. Highly recommended for anyone looking to excel in their MCP journey!

    Avatar
    user_9hGGhKky
    2025-04-23

    I've been using the MCP-CRASH-Course by Patsonu63, and it's been an invaluable resource. The content is structured perfectly for quick learning, and the way complex concepts are broken down is brilliant. The course's seamless navigation from the start URL makes it user-friendly, and the welcome information sets a professional tone from the get-go. Highly recommend it!

    Avatar
    user_pAGbwEOc
    2025-04-23

    As a dedicated user of MCP products, I found the MCP-CRASH-Course by Patsonu63 incredibly valuable. The course is well-structured and easy to follow, making complex concepts understandable. Highly recommend this to anyone looking to deepen their MCP knowledge efficiently!