Cover image
Try Now
2025-04-14

3 years

Works with Finder

0

Github Watches

0

Github Forks

0

Github Stars

简易 MCP 服务器 (Simple MCP Server)

English | 中文

项目介绍

这是一个基于 Model Context Protocol (MCP) 的简单示例项目。项目实现了一个双色球号码生成工具,可以随机生成指定数量的双色球号码。

技术栈

  • Spring Boot 3.4.4
  • Java 17
  • MCP SDK 0.9.0
  • Lombok
  • Maven

功能特性

  • 支持生成1-10组双色球号码
  • 每组号码包含6个红球(1-33)和1个蓝球(1-16)
  • 通过MCP协议提供服务,可以与支持MCP的客户端(如大语言模型)进行交互

项目运行

本地运行

  1. 确保你已安装以下环境:

    • JDK 17+
    • Maven 3.6+
  2. 克隆项目:

git clone https://github.com/beilingai/simple-mcp-server.git
cd simple-mcp-server
  1. 编译项目:
mvn clean package
  1. 运行项目:
java -jar target/mcp-server-1.0-SNAPSHOT.jar
  1. 服务将在默认端口8080启动

如何使用

本服务通过MCP协议提供工具,可以被支持MCP的客户端调用。

调用示例:

Cursor中调用示例

在Cursor编辑器中,可以通过以下方式调用本服务:

  1. 在设置中添加本地MCP服务器地址
{
   "mcpServers": {
      "double-color-ball-mcp-server": {
         "url": "http://localhost:8080/sse"
      }
   }
}
  1. 在聊天窗口中请求生成双色球号码:
    请帮我生成3组双色球号码
    
  2. AI助手会调用本MCP服务并返回生成的结果,例如:
    生成的双色球号码如下:
    
    第1组: 05 11 16 22 30 33 + 08
    第2组: 03 06 14 20 25 31 + 12
    第3组: 02 09 17 25 29 32 + 06
    
    

相关推荐

  • av
  • Führen Sie mühelos LLM -Backends, APIs, Frontends und Dienste mit einem Befehl aus.

  • 1Panel-dev
  • 🔥 1Panel bietet eine intuitive Weboberfläche und einen MCP -Server, um Websites, Dateien, Container, Datenbanken und LLMs auf einem Linux -Server zu verwalten.

  • WangRongsheng
  • 🧑‍🚀 全世界最好的 llm 资料总结(数据处理、模型训练、模型部署、 O1 模型、 MCP 、小语言模型、视觉语言模型) | Zusammenfassung der weltbesten LLM -Ressourcen.

  • rulego
  • ⛓️Rugele ist ein leichter, leistungsstarker, leistungsstarker, eingebetteter Komponenten-Orchestrierungsregel-Motor-Rahmen für GO.

  • sigoden
  • Erstellen Sie einfach LLM -Tools und -Argarten mit einfachen Bash/JavaScript/Python -Funktionen.

  • hkr04
  • Leichtes C ++ MCP (Modellkontextprotokoll) SDK

  • RockChinQ
  • 😎简单易用、🧩丰富生态 - 大模型原生即时通信机器人平台 | 适配 qq / 微信(企业微信、个人微信) / 飞书 / 钉钉 / diskord / telegram / slack 等平台 | 支持 Chatgpt 、 Deepseek 、 Diffy 、 Claude 、 Gemini 、 xai 、 ppio 、 、 ulama 、 lm Studio 、阿里云百炼、火山方舟、 siliconflow 、 qwen 、 mondshot 、 chatglm 、 sillytraven 、 mcp 等 llm 的机器人 / agent | LLM-basierte Instant Messaging Bots-Plattform, unterstützt Zwietracht, Telegramm, Wechat, Lark, Dingtalk, QQ, Slack

  • dmayboroda
  • On-Premise-Konversationslappen mit konfigurierbaren Behältern

  • modelscope
  • Bauen Sie LLM-Multi-Agent-Anwendungen auf einfachere Weise auf.

  • paulwing
  • Ein Test -Repository, das mit MCP -Dienst erstellt wurde

    Reviews

    2.9 (10)
    Avatar
    user_KRt1Lyn2
    2025-04-24

    I've been using the simple-mcp-server by beilingai and it's been a game-changer for my projects. The server setup is incredibly straightforward, making it easy even for beginners. The user-friendly interface and efficient performance are top-notch. Highly recommend this to anyone looking for a reliable MCP server solution!

    Avatar
    user_nGwenKCg
    2025-04-24

    Simple-mcp-server is a fantastic tool designed by beilingai for managing Minecraft servers effortlessly. Its user-friendly interface and efficient performance have significantly reduced the time I spend on server management. The seamless integration and quick setup process make it a must-have for any Minecraft server administrator. Highly recommended!

    Avatar
    user_LUr1NJ1D
    2025-04-24

    Simple-mcp-server by beilingai is an excellent tool for managing multiple Minecraft servers effortlessly. It's user-friendly and highly efficient, making server management a breeze even for beginners. The performance is top-notch and the support is fantastic. Highly recommend it for anyone looking to streamline their server administration!

    Avatar
    user_D0q5C9jX
    2025-04-24

    I have been using the simple-mcp-server by beilingai, and it has significantly streamlined my application development process. The server is straightforward to set up and integrates seamlessly with my projects. The documentation is clear, making it easy to get started even for beginners. Highly recommended for anyone looking to enhance their application's performance!

    Avatar
    user_EozNloE9
    2025-04-24

    Simple-mcp-server is a remarkable tool developed by beilingai that has significantly streamlined my server management tasks. The server's intuitive design and easy setup process make it accessible even for those with minimal technical knowledge. I appreciate its efficiency and reliability, which have enhanced my productivity. Highly recommend!

    Avatar
    user_4qwxR3T3
    2025-04-24

    I've been using simple-mcp-server for a while now, and it's incredibly user-friendly and efficient. Developed by beilingai, this server simplifies the MCP application process with its straightforward design. It’s become an essential tool in my workflow, and I highly recommend it to anyone looking for a reliable MCP server solution.

    Avatar
    user_cTIUZSsK
    2025-04-24

    I've been using simple-mcp-server by beilingai for a while now and it's fantastic! The server setup is straightforward and user-friendly. It works seamlessly and offers great performance. Highly recommend it to anyone in need of a reliable MCP application.

    Avatar
    user_fZE0tiAg
    2025-04-24

    I've been using the simple-mcp-server by beilingai for a while now, and it has truly simplified my server management tasks. It’s user-friendly and remarkably efficient. I appreciate the straightforward setup and the clear documentation provided. Highly recommend it to anyone in need of a reliable and simple server management solution!

    Avatar
    user_Eu0ryASH
    2025-04-24

    As a loyal user of simple-mcp-server, I must say it has impressed me with its efficiency and simplicity. Designed by beilingai, it offers a smooth and straightforward experience for managing multiple protocols. The setup was a breeze, thanks to the clear documentation and user-friendly welcome message. Highly recommend it for anyone needing a reliable server management solution!

    Avatar
    user_aA4RGIQa
    2025-04-24

    I've been using simple-mcp-server by beilingai, and it has significantly streamlined my development process. Its easy-to-follow setup and user-friendly interface make it perfect for both beginners and seasoned developers. Highly recommend it!