Package org.apache.juneau.rest.server.mcp


package org.apache.juneau.rest.server.mcp
Revision-neutral core for MCP endpoints built on juneau-rest-server.

This package knows the shape of an MCP server — tools, prompts, resources, pagination, the JSON-RPC dispatch contract, and the two HTTP entry points — without knowing any MCP protocol revision. It has no compile dependency on any revision's wire beans, and that is enforced at build time. A protocol revision is supplied by an implementation of McpRevision living in its own module (for example juneau-rest-server-mcp-v20250618), and a consumer binds one at compile time by extending that revision's abstract servlet or composing its endpoint mixin.

See Also: