ModelContextProtocolClient
Host with MCP client to call MCP servers for MCP development
Overview
ModelContextProtocolClient is a Spring Boot client application designed to demonstrate various transport methods (WebFlux SSE, Stdio) for communicating with the Model Context Protocol (MCP) server.
To use the ModelContextProtocolClient, set up your environment by creating a .env file with your API keys, clone the ModelContextProtocolServer repository, and follow the Docker setup instructions to build and run both the server and client applications.
- Supports multiple transport methods: WebFlux SSE, Stdio, and BraveSearch. - Provides endpoints for calculating operations and fetching weather information. - Easy setup with Docker and environment configuration.
- Performing calculations using different transport methods.
- Fetching weather information based on user input.
- Demonstrating the capabilities of the Model Context Protocol in a client-server architecture.
Add to your AI client
Use these steps to connect ModelContextProtocolClient in Cursor, Claude, VS Code, and other MCP-compatible apps. The same JSON appears in the Use with menu above for one-click copy.
Cursor
Add this to your .cursor/mcp.json file in your project root, then restart Cursor.
.cursor/mcp.json
{
"mcpServers": {
"modelcontextprotocolclient-innobridge": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-modelcontextprotocolclient-innobridge"
]
}
}
}Claude Desktop
Add this server entry to the mcpServers object in your Claude Desktop config, then restart the app.
~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows)
{
"mcpServers": {
"modelcontextprotocolclient-innobridge": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-modelcontextprotocolclient-innobridge"
]
}
}
}Claude Code
Add this to your project's .mcp.json file. Claude Code will detect it automatically.
.mcp.json (project root)
{
"mcpServers": {
"modelcontextprotocolclient-innobridge": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-modelcontextprotocolclient-innobridge"
]
}
}
}VS Code (Copilot)
Add this to your .vscode/mcp.json file. Requires the GitHub Copilot extension with MCP support enabled.
.vscode/mcp.json
{
"servers": {
"modelcontextprotocolclient-innobridge": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-modelcontextprotocolclient-innobridge"
]
}
}
}Windsurf
Add this to your Windsurf MCP config file, then restart Windsurf.
~/.codeium/windsurf/mcp_config.json
{
"mcpServers": {
"modelcontextprotocolclient-innobridge": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-modelcontextprotocolclient-innobridge"
]
}
}
}Cline
Open Cline settings, navigate to MCP Servers, and add this server configuration.
Cline MCP Settings (via UI)
{
"mcpServers": {
"modelcontextprotocolclient-innobridge": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-modelcontextprotocolclient-innobridge"
]
}
}
}FAQ
What transport methods does ModelContextProtocolClient support?
It supports WebFlux SSE, Stdio, and BraveSearch transport methods.
How do I set up the project?
Follow the setup instructions in the documentation, including creating a `.env` file and using Docker to run the applications.
Can I use this client without Docker?
While Docker is recommended for ease of setup, you can run the applications locally by following the Spring Boot setup instructions.7:["$","div",null,{"className":"container mx-auto flex flex-col gap-4","children":["$L26","$L27",["$","$L28",null,{"currentProject":{"id":1913,"uuid":"4aca6705-98e9-464f-abbf-a154b899ddf8","name":"ModelContextProtocolClient","title":"ModelContextProtocolClient","description":"Host with MCP client to call MCP servers for MCP development","avatar_url":"https://avatars.githubusercontent.com/u/174642133?v=4","created_at":"$D2025-03-05T06:03:28.425Z","updated_at":"$D2025-03-12T10:21:53.411Z","status":"created","author_name":"InnoBridge","author_avatar_url":"https://avatars.githubusercontent.com/u/174642133?v=4","tags":"modelcontextprotocolclient,mcp-client,spring-boot","category":"developer-tools","is_featured":false,"sort":1,"url":"https://github.com/InnoBridge/ModelContextProtocolClient","target":"_self","content":"$29","summary":"$2a","img_url":null,"type":null,"metadata":"{\"star\":\"0\",\"license\":\"\",\"language\":\"Java\",\"is_official\":false,\"latest_commit_time\":\"2025-02-28 13:56:31\"}","user_uuid":null,"tools":null,"sse_url":null,"sse_provider":null,"sse_params":null,"is_official":false,"server_command":null,"server_params":null,"server_config":null,"allow_call":false,"is_innovation":false,"is_dxt":false,"dxt_manifest":null,"dxt_file_url":null,"is_audit":false},"randomProjects":[],"currentServerKey":"$undefined"}]]}]