简易 MCP 服务器 (Simple MCP Server)
@beilingai
About 简易 MCP 服务器 (Simple MCP Server)
No overview available yet
Basic information
Config
Add this server to your MCP-compatible client using the configuration below.
{
"mcpServers": {
"double-color-ball-mcp-server": {
"type": "http",
"url": "http://localhost:8080/sse"
}
}
}Tools
No tools detected
We auto-extract tools from the README. The maintainer can list them under a ## Tools heading to populate this section.
Overview
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.
More Other MCP servers
Servers
modelcontextprotocolModel Context Protocol Servers
Reactive Resume
amruthpillaiA one-of-a-kind resume builder that keeps your privacy in mind. Completely secure, customizable, portable, open-source and free forever. Try it out today!
Unity MCP ✨
justinpbarnettUnity MCP acts as a bridge between AI assistants and your Unity Editor. Give your LLM tools to manage assets, control scenes, edit scripts, and automate tasks within Unity.
🚀 Model Context Protocol (MCP) Curriculum for Beginners
microsoftThis open-source curriculum introduces the fundamentals of Model Context Protocol (MCP) through real-world, cross-language examples in .NET, Java, TypeScript, JavaScript, Rust and Python. Designed for developers, it focuses on practical techniques for building modular, scalable,
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
Comments