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.

  • Bora Yalcin
  • Evaluator for marketplace product descriptions, checks for relevancy and keyword stuffing.

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

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

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

  • Elijah Ng Shi Yi
  • Advanced software engineer GPT that excels through nailing the basics.

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

  • Lists Tailwind CSS classes in monospaced font

  • lumpenspace
  • Take an adjectivised noun, and create images making it progressively more adjective!

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

  • apappascs
  • Discover the most comprehensive and up-to-date collection of MCP servers in the market. This repository serves as a centralized hub, offering an extensive catalog of open-source and proprietary MCP servers, complete with features, documentation links, and contributors.

  • ShrimpingIt
  • Micropython I2C-based manipulation of the MCP series GPIO expander, derived from Adafruit_MCP230xx

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

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

  • jae-jae
  • MCP server for fetch web page content using Playwright headless browser.

    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!