MCP.so
登录

ModelContextProtocolClient MCP Server

@InnoBridge

基本信息

分类

其他

传输方式

stdio

作者

InnoBridge

关于 ModelContextProtocolClient MCP Server

Host with MCP client to call MCP servers for MCP development

#modelcontextprotocolclient#mcp-client#spring-boot

ModelContextProtocolClient MCP Server 配置

使用下面的配置,将此服务器添加到你的 MCP 客户端。

{
  "mcpServers": {
    "ModelContextProtocolClient": {
      "command": "docker",
      "args": [
        "compose",
        "up"
      ]
    }
  }
}

ModelContextProtocolClient MCP Server 工具

工具列表暂未提供

当前收录暂时没有可展示的工具列表,不代表服务没有工具。请查阅项目文档了解支持的能力。

工具是从 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

常见问题

1

What environment variables are required?

`BRAVE_SEARCH_API_KEY` and `WEATHER_API_KEY` must be set in a `.env` file in the root directory.

2

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.

3

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`.

4

Which transports are supported?

WebFlux SSE (default), Stdio (launches server jar in stdio mode), and BraveSearch (uses an API key).

评论

其他 分类下的更多 MCP 服务器