spring-ai-apps

mcp
Security Audit
Warn
Health Warn
  • No license — Repository has no license file
  • Description — Repository has a description
  • Active repo — Last push 0 days ago
  • Community trust — 34 GitHub stars
Code Pass
  • Code scan — Scanned 8 files during light audit, no dangerous patterns found
Permissions Pass
  • Permissions — No dangerous permissions requested

No AI report is available for this listing yet.

SUMMARY

Sample Spring AI Applications

README.md

Spring AI Apps Project Twitter

CircleCI

SonarCloud
Bugs
Coverage
Lines of Code

This project demonstrates the integration of AI capabilities within a Spring Boot application, utilizing the Spring AI framework.


Table of Contents

Running the application

You can always run all the apps locally with Spring Maven Plugin support:

mvn spring-boot:run

Sometimes, you would have to connect the app with the AI model. It can be OpenAI or your preferred model. Before running the app you should export the API token as shown below.

export SPRING_AI_OPENAI_API_KEY=<YOUR_OPENAI_API_KEY>

Architecture

MCP Client/Server

The example is available in the spring-ai-mcp directory. Here's the diagram that visualizes architecture.


Articles

  1. Getting started with the Spring AI MCP concept. Implement a client-side and a server-side application that exposes @Tools and Prompts to other services. The example is available in the branch master. A detailed guide may be found in the following article: Using Model Context Protocol (MCP) with Spring AI
  2. Getting started with the Spring AI MCP concept. Implement a client-side that connects with external MCP servers. The example is available in the branch master. A detailed guide may be found in the following article: Spring AI with External MCP Servers

Reviews (0)

No results found