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
  • 毫不费力地使用一个命令运行LLM后端,API,前端和服务。

  • 1Panel-dev
  • 🔥1Panel提供了直观的Web接口和MCP服务器,用于在Linux服务器上管理网站,文件,容器,数据库和LLMS。

  • WangRongsheng
  • 🧑‍🚀 llm 资料总结(数据处理、模型训练、模型部署、 o1 模型、mcp 、小语言模型、视觉语言模型)|摘要世界上最好的LLM资源。

  • rulego
  • ⛓️Rulego是一种轻巧,高性能,嵌入式,下一代组件编排规则引擎框架。

  • sigoden
  • 使用普通的bash/javascript/python函数轻松创建LLM工具和代理。

  • hkr04
  • 轻巧的C ++ MCP(模型上下文协议)SDK

  • RockChinQ
  • 😎简单易用、🧩丰富生态 -大模型原生即时通信机器人平台| 适配QQ / 微信(企业微信、个人微信) /飞书 /钉钉 / discord / telegram / slack等平台| 支持chatgpt,deepseek,dify,claude,基于LLM的即时消息机器人平台,支持Discord,Telegram,微信,Lark,Dingtalk,QQ,Slack

  • dmayboroda
  • 带有可配置容器的本地对话抹布

  • modelscope
  • 开始以更轻松的方式开始构建具有LLM授权的多代理应用程序。

  • paulwing
  • 使用MCP服务创建的测试存储库

    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!