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.
⭐ If you find this project useful, consider giving it a star. It helps others discover it
🚀 Quickstart, guides, and API reference available in the docs
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 Inspectormodule for local testing