简易 MCP 服务器 (Simple MCP Server)
@beilingai
关于 简易 MCP 服务器 (Simple MCP Server)
暂无概览
基本信息
配置
使用下面的配置,将此服务器添加到你的 MCP 客户端。
{
"mcpServers": {
"double-color-ball-mcp-server": {
"type": "http",
"url": "http://localhost:8080/sse"
}
}
}工具
未检测到工具
工具是从 README 中自动提取的。维护者可以在 ## Tools 标题下列出工具,即可填充这部分内容。
概览
What is Simple MCP Server?
Simple MCP Server is a sample project based on the Model Context Protocol (MCP). It implements a double-color ball number generator that produces random lottery numbers for up to 10 sets per request. The server is built with Spring Boot 3.4.4, Java 17, MCP SDK 0.9.0, and Maven.
How to use Simple MCP Server?
Clone the repository, compile with mvn clean package, and run with java -jar target/mcp-server-1.0-SNAPSHOT.jar. The service starts on port 8080 and exposes an SSE endpoint at http://localhost:8080/sse. Clients (e.g., Cursor editor) can add the server URL in their MCP configuration to invoke the double-color ball tool.
Key features of Simple MCP Server
- Generates 1–10 sets of double-color ball numbers
- Each set includes 6 red balls (1–33) and 1 blue ball (1–16)
- Serves via MCP protocol for AI assistant integration
- Built with Java 17 and Spring Boot 3.4.4
Use cases of Simple MCP Server
- Generate random double-color ball lottery numbers via a chat interface
- Demonstrate a minimal MCP server implementation for learning purposes
FAQ from Simple MCP Server
What runtime does Simple MCP Server require?
JDK 17+ and Maven 3.6+ are needed to build and run the server.
How do I configure clients like Cursor to use this server?
Add a JSON entry to your editor's MCP server settings with "url": "http://localhost:8080/sse".
Can I generate more than 10 sets of numbers?
No, the server is designed to generate 1–10 sets per request.
Where does the server run?
It runs locally on your machine at port 8080. No external network connection is needed.
What transport does the server use?
The server exposes an SSE (Server-Sent Events) endpoint at /sse.
其他 分类下的更多 MCP 服务器
Blender
ahujasidOpen-source MCP to use Blender with any LLM
Inbox Zero AI
elie222The world's best AI personal assistant for email. Open source app to help you reach inbox zero fast.
Maestro
mobile-dev-incPainless E2E Automation for Mobile and Web
Production-ready MCP integrations for AI applications
Klavis-AIKlavis AI: MCP integration platforms that let AI agents use tools reliably at any scale
Activepieces
activepiecesAI Agents & MCPs & AI Workflow Automation • (~400 MCP servers for AI agents) • AI Automation / AI Agent with MCPs • AI Workflows & AI Agents • MCPs for AI Agents
评论