
Demo of the full NexaCorp MCP system running across microservices
Explore the distributed architecture and MCP client/server roles.
Understand the limitations of naive AI workflow orchestration.
Overview of how the system will be built throughout the course.
Get IntelliJ IDEA Ultimate for free and follow this course using a professional development environment.
Redeem your 90-day access and get started quickly.
Understand the business domains and microservice boundaries.
Create the HR service with schema isolation and migrations.
Implement deployment domain APIs using the same architecture pattern.
Integrate supporting services and verify their endpoints
Test all microservices and confirm database schema isolation.
Understand how AI integrates into enterprise workflows.
Build the first assistant service with Spring AI and OpenAI.
Extract structured intent from natural language prompts.
Coordinate HR and Deployment services using REST calls.
Analyze the scalability problems of hardcoded orchestration.
Shift from workflow-driven design to capability-based architecture.
Understand how MCP standardizes AI tool interactions.
Learn how MCP uses JSON-RPC for communication.
Explore tools, prompts, resources, and completions capabilities.
Understand stateless and streaming MCP transports.
Preview real MCP tool interactions before implementation.
Enable MCP server support in the HR microservice.
Create the first MCP tool using the @McpTool annotation.
Add multiple MCP tools and inspect generated schemas.
Expose deployment management capabilities as MCP tools.
Validate multiple services acting as independent MCP servers.
Understand the architecture of an MCP client assistant.
Build the assistant service with Spring AI and OpenAI.
Connect MCP servers and expose tools to the LLM.
Observe dynamic multi-service orchestration using MCP.
Analyze logs to understand LLM planning and execution.
Learn to interpret MCP discovery and execution logs.
Observe how LLMs dynamically select required tools.
Understand tool validation and LLM response behavior.
Add a new MCP server and observe automatic tool discovery.
Analyze tool schemas and how LLMs construct tool calls.
Understand why MCP provides capabilities beyond tools.
Expose reusable prompts from ticket-service.
Retrieve and execute MCP prompts within the assistant.
Learn when resources are appropriate and their constraints.
Explore the role of completions in developer tooling.
Understand streaming MCP sessions and when to use them.
Modern AI systems are no longer simple chatbots.
Real-world applications require AI assistants that can interact with backend services, execute actions, retrieve data, and coordinate workflows across distributed systems.
In this course, you will learn how to build these systems using Spring AI and Model Context Protocol (MCP).
Instead of toy examples, you will implement a complete distributed AI architecture built with Spring Boot microservices. The course is based on a realistic enterprise system called NexaCorp, where an AI assistant interacts with services such as HR, deployment management, notifications, and ticket management.
Includes free 90-day access to IntelliJ IDEA Ultimate for a professional development experience.
What you will build
During this course you will build a production-style AI system that includes:
Multiple Spring Boot microservices
A PostgreSQL database with schema-per-service isolation
A naive AI assistant with manual orchestration
An MCP-based AI assistant with dynamic tool discovery
Distributed AI workflows across multiple services
You will see how an AI assistant can coordinate operations like:
Applying employee leave
Finding a replacement engineer
Reassigning deployments
Triggering notifications across services
Course implementation highlights
This course is fully hands-on and covers:
Enterprise backend setup
Build multiple Spring Boot microservices
Use PostgreSQL with schema-per-service architecture
Manage schema and seed data using Flyway
Verify service isolation and inter-service communication
Naive AI orchestration
Build an AI assistant using Spring AI
Extract structured intent from natural language
Implement manual orchestration using REST APIs
Understand the limitations of hardcoded AI workflows
Model Context Protocol (MCP)
Understand MCP architecture and JSON-RPC communication
Convert microservices into MCP tool providers
Expose domain capabilities using Spring AI MCP server
Inspect tool schemas generated automatically
MCP-based AI assistant
Build an MCP client assistant using Spring AI
Enable dynamic tool discovery across services
Allow the LLM to plan and execute workflows
Remove orchestration logic from application code
Debugging and runtime analysis
Inspect MCP logs and tool execution flows
Understand JSON-RPC tool interactions
Handle tool errors and partial workflow execution
Extend the system with new MCP tool providers
Advanced MCP capabilities
The course also explores additional MCP features including:
Prompts capability for reusable reasoning instructions
Resources capability for structured artifacts
Completions capability and when it is used
Stateless vs streaming MCP transport models
Technologies used
Java
Spring Boot
Spring AI
Model Context Protocol (MCP)
PostgreSQL
Flyway
Gradle
Docker