ModelContextProtocolServer
@InnoBridge
关于 ModelContextProtocolServer
MCP server to provide tools
基本信息
配置
工具
未检测到工具
工具是从 README 中自动提取的。维护者可以在 ## Tools 标题下列出工具,即可填充这部分内容。
概览
What is ModelContextProtocolServer?
A Java implementation of the Model Context Protocol (MCP) server that exposes tools via SSE or stdio transport. It provides calculator and weather tools accessible through JSON-RPC over MCP, built with Spring Boot and Maven. Intended for developers integrating MCP tools into AI applications.
How to use ModelContextProtocolServer?
Build with Maven (./mvnw clean install) and run via stdio using Java with transport mode set to stdio and web application disabled. Alternatively, connect using SSE stream over HTTP. Invoke tools by sending JSON-RPC POST requests to the /mcp/message endpoint for SSE or directly over stdio.
Key features of ModelContextProtocolServer
- Supports SSE and stdio transport modes
- Includes calculator and weather tools
- Built with Spring Boot and Maven
- Communicates via JSON‑RPC over MCP
- Java‑based, portable across platforms
Use cases of ModelContextProtocolServer
- Provide a calculator tool for AI assistants via MCP
- Supply current weather data for any location in Celsius or Fahrenheit
- Serve as a reference Java MCP server implementation
- Enable local tool execution (stdio) or remote access (SSE)
FAQ from ModelContextProtocolServer
What transport modes are supported?
SSE (Server-Sent Events) over HTTP for remote connections, and stdio for direct invocation from a Java process.
What tools are included by default?
A calculator tool (supports operations like addition) and a get_current_weather tool that accepts location and temperature format (celsius/fahrenheit).
How do I build and run the server?
Build with ./mvnw clean install. Run via stdio using: java -Dtransport.mode=stdio -Dspring.main.web-application-type=none -Dspring.main.banner-mode=off -Dlogging.file.name=mcpserver.log -jar target/mcpserver-0.0.1-SNAPSHOT.jar.
Is there any authentication or authorization?
The README does not describe authentication; the server appears intended for development or local use without built‑in auth.
其他 分类下的更多 MCP 服务器
Inbox Zero AI MCP
elie222The world's best AI personal assistant for email. Open source app to help you reach inbox zero fast.
MaxKB
1Panel-dev🔥 MaxKB is an open-source platform for building enterprise-grade agents. 强大易用的开源企业级智能体平台。
Awesome-MCP-ZH
yzflyMCP 资源精选, MCP指南,Claude MCP,MCP Servers, MCP Clients
🚀 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,
FastMCP v2 🚀
jlowin🚀 The fast, Pythonic way to build MCP servers and clients.
评论