How MCP tool, resource, and prompt differ
Distinguish the three MCP primitives—tool, resource, and prompt—by who controls them, with Spring AI examples and tests for each type.
Distinguish the three MCP primitives—tool, resource, and prompt—by who controls them, with Spring AI examples and tests for each type.
A guide to building a minimal MCP server with Java 21, registering your first tool, and connecting with a client like Claude Desktop.
Learn MCP – the standard protocol for LLMs to communicate with external data/tools, with examples of writing an MCP server using Spring AI.
Compare MCP, RAG, and AI Agent through definitions, architecture, and concrete Java code examples, helping you know when to use which.