Skip to content
Introduction

Introduction

Maven Central MvnRepository MCP Javadoc

What is jooby-mcp?

jooby-mcp integrates the Model Context Protocol (MCP) Java SDK with the Jooby framework. It lets you expose tools, prompts, and resources to MCP clients using declarative, annotation-based APIs with discovery at build time via an annotation processor, so no runtime reflection is required.

Prerequisites

Version compatibility

Joobyjooby-mcp
3.x1.x
4.x2.x

Features

Transport

  • SSE, Streamable HTTP, and Stateless Streamable HTTP
  • Multiple MCP servers in one application

MCP capabilities

  • Tools, Prompts, Resources
  • Resource templates with URI patterns and completions
  • Prompt completions and resource-template completions

Quality & tooling

  • Required argument validation and build-time checks for method signatures and return types
  • Elicitation, Sampling, and Progress via the exchange object
  • Optional MCP Inspector module for local testing

In this documentation

SectionDescription
Quick StartAdd the dependency, configure the server, and run your first MCP endpoint.
Tools, Prompts, ResourcesCore MCP capabilities and annotations.
Exchange objectElicitation, Sampling, and Progress.
Multiple servers, Customizing serverRun several servers and change the default key or package.
MCP InspectorLocal testing in the browser.
Supported return typesReference for tools, prompts, and resources.

Next: Quick Start — add the dependency and run your first MCP server.