MCP Host Project
@oalles
About MCP Host Project
Showcases how to integrate Spring AI's support for MCP (Model Context Protocol) within Spring Boot applications, covering both server-side and client-side implementations.
Basic information
Config
No standard config provided
This server doesn't expose a parseable MCP config block in its README. See the repository for install instructions.
RepositoryTools
No tools detected
We auto-extract tools from the README. The maintainer can list them under a ## Tools heading to populate this section.
Overview
What is MCP Host Project?
It integrates Spring AI’s support for the Model Context Protocol (MCP) within Spring Boot, demonstrating both server and client implementations. The project combines a Geocoder Service, a Timezone Service, and an MCP Host client that uses an LLM (Llama3.2 via Ollama) to answer geographical queries.
How to use MCP Host Project?
Run the three Spring Boot applications sequentially: Geocoder Service on port 8081, Timezone Service on port 8082, then MCP Host. Once started, enter city names in the console to receive latitude, longitude, and timezone details.
Key features of MCP Host Project
- Integrates Spring AI MCP with Spring Boot
- Provides geocoding service for latitude/longitude
- Provides timezone service for given coordinates
- MCP host client orchestrates tools via LLM
- Console interface for interactive queries
- Requires a model supporting tool calls (e.g., Llama3.2 via Ollama)
Use cases of MCP Host Project
- Look up latitude and longitude for any city
- Retrieve timezone details for a geographic location
- Demonstrate MCP client-server communication in Spring AI
- Build an AI assistant that calls external data services
FAQ from MCP Host Project
What LLM does the project use?
It uses Llama3.2 via Ollama, and the model must support tool calling.
How do I run the project?
Start the Geocoder Service on port 8081, the Timezone Service on port 8082, and then the MCP Host. All are Spring Boot apps run with mvn spring-boot:run.
What is the Model Context Protocol (MCP)?
MCP is a standard that streamlines management of contextual interactions in AI models, enabling consistent integration with external data sources and tools.
What are the dependencies?
The project uses Spring AI MCP starters and the MCP Java SDK, plus Ollama for the LLM.
Can I use a different LLM?
The README only mentions Llama3.2 via Ollama; a model supporting tool calls is required, but no other models are specified.
More Developer Tools MCP servers
Burp Suite MCP Server Extension
PortSwiggerMCP Server for Burp

Sentry
modelcontextprotocolModel Context Protocol Servers
OpenSumi
opensumiA framework helps you quickly build AI Native IDE products. MCP Client, supports Model Context Protocol (MCP) tools via MCP server.
Hello World MCP Server (Reference Extension)
anthropicsDesktop Extensions: One-click local MCP server installation in desktop apps
FastAPI-MCP
tadata-orgExpose your FastAPI endpoints as Model Context Protocol (MCP) tools, with Auth!
Comments