Part 2
4 chapters
Build: MCP packaging
Build the tool surface itself: packaging an API as MCP tools, progressive discovery, and securing what an agent can call.
Chapter 13
Package an API as MCP Tools
quarkus-mcp-server packages an existing API's operations as registered MCP tools, resources and prompts.
Chapter 14
Domain-Split Toolset and Progressive Discovery
Splitting a large toolset by domain and discovering it progressively keeps an agent's tool list small enough to pick from accurately.
Chapter 15
Reshape not Wrap: Heterogeneous Protocols
A gRPC service sits behind the same agent-facing facade as a REST or GraphQL one, reshaped for the caller instead of wrapped unchanged.
Chapter 16
Securing and Gating MCP Tools
An MCP tool surface is scoped and gated the same way any other credentialed API is, not left open because the caller happens to be a model.