Spring boot Starter for swapi MCP Servers With Spring AI
LocalAbout Spring boot Starter for swapi MCP Servers With Spring AI
This is a Spring Boot starter project for building swapi MCP server applications with Spring AI. Its documented branches cover server tools, prompts, resources, Roots, Completion, and OAuth2 security.
Key features
- 01Built with Spring Boot and Spring AI
- 02Supports Stdio and Webflux servers
- 03Includes MCP annotations
- 04Examples cover tools, prompts, and resources
- 05Branches cover Completion and OAuth2
Use cases
- 01Set up a Spring AI MCP server
- 02Reference tool and resource implementations
- 03Explore MCP Completion support
- 04Review OAuth2 security implementation
MCP support
The project builds MCP server applications and documents Stdio/Webflux servers, with implementations related to tools, prompts, resources, Roots, Completion, and OAuth2.
Configuration
Local server config is the same for every client. Copy it into your client’s MCP config file.
We haven’t collected a package or remote endpoint for this server. Follow the instructions in the project README.
Tools
Local servers expose tools only once running on your machine, and the maintainer has not provided a tool list.
Details
From the project READMESpring boot Starter for swapi MCP Servers With Spring AI
TECH Stack
- Spring Boot: 3.5.0
- Spring AI: 1.0.0
- Actuator
- Spring MCP Server (Stdio/Webflux)
- MCP Annotations
- Lombok: 1.18.38
- SpotBugs: 4.8.6
- Jackson Databind
- CheckStyle
Branches
- Master Branch : Initial start
- 01-yaml-settings-for-mcp-server Branch : MCP Yaml settings and Dockerfile.
- 02-create-first-tool-for-swapi Branch : Create toos and custom convertor
- 03-create-server-prompts Branch : Create server prompt
- 04-create-resources Branch : Resources
- 05-create-samples Branch : Samples. Currently Spring AI does Not support.
- 06-create-roots Branch : Roots
- 07-create-completion Branch : Completion
- 08-oauth2-server Branch : Security
Without Security
07-create-completion is the FINAL BRANCH. all code is in this branch
With Security
08-oauth2-server is the FINAL BRANCH. all code is in this branch
Comments
New to MCP?
From what the protocol is to installing your first server, these answers cover most first questions.
An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.