Sponsored by Deepsite.site

auto-mcp-client

Created By
down-to-earth19947 months ago
基于Spring AI 封装了 mcp-client 服务,目的使web网页智能体也能通过 stdio 和 HTTP SSE(Server-Sent Events) 与 MCP Server 进行交互。项目实现了自动化的连接管理机制,包括自动初始化连接、健康检查、超时关闭以及链接复用等功能
Overview

What is auto-mcp-client?

The auto-mcp-client is a Java project based on Spring AI that encapsulates the mcp-client service, enabling web agents to interact with the MCP Server through stdio and HTTP SSE (Server-Sent Events). It implements an automated connection management mechanism, including automatic initialization, health checks, timeout closures, and connection reuse.

How to use auto-mcp-client?

To use the auto-mcp-client, ensure you have Java 17 or higher installed, configure the necessary settings in the bootstrap.yml file, and run the project using Maven or Gradle. You can then interact with the MCP Server through various protocols.

Key features of auto-mcp-client?

  • Multi-protocol support for communication with MCP Server via stdio and HTTP SSE.
  • Automatic connection initialization upon project startup.
  • Regular health checks to ensure connection availability.
  • Automatic timeout closure to free resources when connections are idle.
  • Connection reuse within timeout limits to enhance performance.
  • Environment isolation for multiple agents using the same MCP Server.

Use cases of auto-mcp-client?

  1. Automating data analysis tasks by querying the MCP Server.
  2. Generating visualizations based on data retrieved from the server.
  3. Facilitating real-time communication between web agents and the MCP Server.

FAQ from auto-mcp-client?

  • What Java version is required to run auto-mcp-client?

Java 17 or higher is required.

  • Can I use my own API key with the auto-mcp-client?

Yes, you can configure your own API key in the settings.

  • Is there support for different models?

Yes, the project supports switching between different private OpenAI models.

Recommend Clients
TraeBuild with Free GPT-4.1 & Claude 3.7. Fully MCP-Ready.
WindsurfThe new purpose-built IDE to harness magic
MCP PlaygroundCall MCP Server Tools Online
ChatWiseThe second fastest AI chatbot™
HyperChatHyperChat is a Chat client that strives for openness, utilizing APIs from various LLMs to achieve the best Chat experience, as well as implementing productivity tools through the MCP protocol.
chatmcpChatMCP is an AI chat client implementing the Model Context Protocol (MCP).
LutraLutra is the first MCP compatible client built for everyone
y-cli 🚀A Tiny Terminal Chat App for AI Models with MCP Client Support
CursorThe AI Code Editor
Y GuiA web-based graphical interface for AI chat interactions with support for multiple AI models and MCP (Model Context Protocol) servers.
A Sleek AI Assistant & MCP Client5ire is a cross-platform desktop AI assistant, MCP client. It compatible with major service providers, supports local knowledge base and tools via model context protocol servers .
Visual Studio Code - Open Source ("Code - OSS")Visual Studio Code
MCP ConnectEnables cloud-based AI services to access local Stdio based MCP servers via HTTP requests
Refact.aiOpen-source AI Agent for VS Code and JetBrains that autonomously solves coding tasks end-to-end.
DeepChatYour AI Partner on Desktop
Cline – #1 on OpenRouterAutonomous coding agent right in your IDE, capable of creating/editing files, executing commands, using the browser, and more with your permission every step of the way.
Continue⏩ Create, share, and use custom AI code assistants with our open-source IDE extensions and hub of models, rules, prompts, docs, and other building blocks
Cherry Studio🍒 Cherry Studio is a desktop client that supports for multiple LLM providers.
ZedCode at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
Roo Code (prev. Roo Cline)Roo Code (prev. Roo Cline) gives you a whole dev team of AI agents in your code editor.
BACHAI-TWITTER-API45Twitter的一些api mcp