Cover image
Try Now
2025-03-31

A Spring Boot application for interacting with MCP servers using Spring AI Chat Client and Rest Controller

3 years

Works with Finder

1

Github Watches

0

Github Forks

0

Github Stars

Spring Boot AI MCP Client

Overview

This project demonstrates how to build an MCP (Model-Connected Processing) client using Spring Boot AI. The MCP client allows seamless interaction with external MCP servers, enabling AI models to perform dynamic tool calls and retrieve data efficiently.

For a detailed step-by-step guide on building an MCP client using Spring Boot AI, check out our blog:
Building an MCP Client with Spring Boot AI: A Beginner’s Guide

Setup Instructions

  1. Clone this repository:
    git clone https://github.com/your-repo/spring-boot-ai-mcp-client.git
    cd spring-boot-ai-mcp-client
    
  2. Update application properties with the required values:
    • OpenAI API Key
    • MCP Server Paths
    • Environment variables required by each MCP server
  3. Build and run the application:
    mvn spring-boot:run
    

Note

Before running the application, make sure to replace all placeholder values for:

  • OpenAI API Key
  • MCP Server Paths
  • Any required environment variables for each MCP server

相关推荐

  • NiKole Maxwell
  • I craft unique cereal names, stories, and ridiculously cute Cereal Baby images.

  • Emmet Halm
  • Converts Figma frames into front-end code for various mobile frameworks.

  • https://maiplestudio.com
  • Find Exhibitors, Speakers and more

  • https://suefel.com
  • Latest advice and best practices for custom GPT development.

  • Yusuf Emre Yeşilyurt
  • I find academic articles and books for research and literature reviews.

  • Carlos Ferrin
  • Encuentra películas y series en plataformas de streaming.

  • Yasir Eryilmaz
  • AI scriptwriting assistant for short, engaging video content.

  • Joshua Armstrong
  • Confidential guide on numerology and astrology, based of GG33 Public information

  • Daren White
  • A supportive coach for mastering all Spanish tenses.

  • https://zenepic.net
  • Embark on a thrilling diplomatic quest across a galaxy on the brink of war. Navigate complex politics and alien cultures to forge peace and avert catastrophe in this immersive interstellar adventure.

  • https://reddgr.com
  • Delivers concise Python code and interprets non-English comments

  • huahuayu
  • A unified API gateway for integrating multiple etherscan-like blockchain explorer APIs with Model Context Protocol (MCP) support for AI assistants.

  • zhaoyunxing92
  • 本项目是一个钉钉MCP(Message Connector Protocol)服务,提供了与钉钉企业应用交互的API接口。项目基于Go语言开发,支持员工信息查询和消息发送等功能。

  • deemkeen
  • control your mbot2 with a power combo: mqtt+mcp+llm

  • justmywyw
  • Short and sweet example MCP server / client implementation for Tools, Resources and Prompts.

    Reviews

    1 (1)
    Avatar
    user_G7SovPUD
    2025-04-16

    I've been using the spring-boot-ai-mcp-client from BootcampToProd and it has greatly streamlined my development process. The client is intuitive and integrates seamlessly with my existing Spring Boot applications. The documentation is clear, making setup a breeze. Highly recommended for anyone looking to enhance their productivity with AI-powered solutions. Check it out on GitHub!