Modelcontextprotocolclient
A Spring Boot client application that demonstrates examples of communicating with the MCP server through different transmission methods (WebFlux SSE, Stdio).
rating : 2 points
downloads : 13
What is Model Context Protocol (MCP)?
Model Context Protocol (MCP) is an efficient communication protocol that allows seamless interaction between different applications and services. It supports multiple transmission methods, such as WebFlux SSE, Stdio, and BraveSearch API, to meet the needs of different scenarios.How to use MCP?
You can interact with the MCP server through simple HTTP requests or command-line tools. Just follow the provided steps to configure the environment and start the server to begin using it.Applicable scenarios
MCP is suitable for application scenarios that require real-time data streams, complex calculations, and cross-platform collaboration, such as data analysis, AI model inference, and multi-system integration.Main features
WebFlux SSE transmissionReal-time data stream transmission based on Server-Sent Events, suitable for applications that require high response speed.
Stdio transmissionA simple and direct communication method through standard input and output, facilitating rapid deployment and debugging.
BraveSearch API supportIntegrate the BraveSearch API to facilitate users to perform web search tasks.
Advantages and limitations
Advantages
Supports multiple transmission methods, with strong adaptability.
Powerful real-time data stream processing capabilities.
Easy to integrate third-party APIs (such as weather APIs).
Open source and has an active community, continuously improving.
Limitations
Some advanced features may require additional configuration of environment variables.
For scenarios with extremely high low-latency requirements, performance optimization still needs further testing.
Services that rely on external APIs may be affected by API limitations.
How to use
Install dependencies
Ensure that Docker and Docker Compose are installed.
Clone the code repository
Download the MCP server code from GitHub.
Start the server
Run the docker-compose command in the server directory to start the service.
Configure the client
Set the API key in the.env file and start the client application.
Usage examples
Case 1: Get weather informationDemonstrate how to obtain the weather forecast for a specified location through the MCP server.
Case 2: Perform calculator operationsShow how to use the MCP client to call the remote calculator tool.
Frequently Asked Questions
How to obtain the BraveSearch API key?
Why does my request return an error?
Related resources
Official documentation
Detailed user manual and technical guide.
GitHub code repository
Source code address and contribution guide.
Video tutorial
Quick start video tutorial.
Featured MCP Services

Gitlab MCP Server
Certified
The GitLab MCP server is a project based on the Model Context Protocol that provides a comprehensive toolset for interacting with GitLab accounts, including code review, merge request management, CI/CD configuration, and other functions.
TypeScript
85
4.3 points

Notion Api MCP
Certified
A Python-based MCP Server that provides advanced to-do list management and content organization functions through the Notion API, enabling seamless integration between AI models and Notion.
Python
140
4.5 points

Markdownify MCP
Markdownify is a multi-functional file conversion service that supports converting multiple formats such as PDFs, images, audio, and web page content into Markdown format.
TypeScript
1.7K
5 points

Duckduckgo MCP Server
Certified
The DuckDuckGo Search MCP Server provides web search and content scraping services for LLMs such as Claude.
Python
829
4.3 points

Figma Context MCP
Framelink Figma MCP Server is a server that provides access to Figma design data for AI programming tools (such as Cursor). By simplifying the Figma API response, it helps AI more accurately achieve one - click conversion from design to code.
TypeScript
6.7K
4.5 points

Unity
Certified
UnityMCP is a Unity editor plugin that implements the Model Context Protocol (MCP), providing seamless integration between Unity and AI assistants, including real - time state monitoring, remote command execution, and log functions.
C#
564
5 points

Gmail MCP Server
A Gmail automatic authentication MCP server designed for Claude Desktop, supporting Gmail management through natural language interaction, including complete functions such as sending emails, label management, and batch operations.
TypeScript
282
4.5 points

Minimax MCP Server
The MiniMax Model Context Protocol (MCP) is an official server that supports interaction with powerful text-to-speech, video/image generation APIs, and is suitable for various client tools such as Claude Desktop and Cursor.
Python
753
4.8 points