ModelContextProtocolClient
@InnoBridge
关于 ModelContextProtocolClient
Host with MCP client to call MCP servers for MCP development
基本信息
配置
使用下面的配置,将此服务器添加到你的 MCP 客户端。
{
"mcpServers": {
"ModelContextProtocolClient": {
"command": "docker",
"args": [
"compose",
"up"
]
}
}
}工具
未检测到工具
工具是从 README 中自动提取的。维护者可以在 ## Tools 标题下列出工具,即可填充这部分内容。
概览
What is ModelContextProtocolClient?
A Spring Boot client application that demonstrates different transport methods (WebFlux SSE, Stdio) for communicating with an MCP server. It can also interact with the BraveSearch API and a Weather API through configurable transports.
How to use ModelContextProtocolClient?
Set up a .env file with API keys, clone the required server repository, then use Docker Compose to start both containers. Build and run the server inside one container, then build and run the client inside another. The client exposes HTTP endpoints for each transport to list tools and perform calculations or weather lookups.
Key features of ModelContextProtocolClient
- Supports WebFlux SSE, Stdio, and BraveSearch transports
- Exposes REST endpoints for listing tools and invoking actions
- Integrates with a calculator tool and a weather API
- Runs inside Docker alongside an MCP server
Use cases of ModelContextProtocolClient
- Demonstrate how a Spring Boot client can communicate with an MCP server using Server-Sent Events
- Show Stdio-based client-server interaction by launching the server jar automatically
- Test the BraveSearch API via a dedicated transport endpoint
FAQ from ModelContextProtocolClient
What environment variables are required?
BRAVE_SEARCH_API_KEY and WEATHER_API_KEY must be set in a .env file in the root directory.
How do I start the client?
After cloning the required server repository and setting up Docker, run docker compose up, then exec into the server container to build and run it, then exec into the client container to build and run it.
What endpoints are available?
The client provides separate endpoints for each transport, e.g., GET /webflux/tools, POST /webflux/calculate, POST /stdio/weather, POST /bravesearch.
Which transports are supported?
WebFlux SSE (default), Stdio (launches server jar in stdio mode), and BraveSearch (uses an API key).
其他 分类下的更多 MCP 服务器
FastMCP v2 🚀
jlowin🚀 The fast, Pythonic way to build MCP servers and clients.
Maestro
mobile-dev-incPainless E2E Automation for Mobile and Web
MaxKB
1Panel-dev🔥 MaxKB is an open-source platform for building enterprise-grade agents. 强大易用的开源企业级智能体平台。
Production-ready MCP integrations for AI applications
Klavis-AIKlavis AI: MCP integration platforms that let AI agents use tools reliably at any scale
Servers
modelcontextprotocolModel Context Protocol Servers
评论