Model Context Protocol1.0
Model Context Protocol
1.0
Adds support for the Model Context Protocol (MCP). Tools can be defined in Java code and exposed to AI systems using MCP.
Enabling this feature
To enable the Model Context Protocol 1.0 feature, add the following element declaration into your server.xml file, inside the featureManager element:
<feature>mcp-1.0</feature>
Stable API packages provided by this feature
org.mcpjava.server
org.mcpjava.server.completion
org.mcpjava.server.content
org.mcpjava.server.elicitation
org.mcpjava.server.progress
org.mcpjava.server.prompts
org.mcpjava.server.resources
org.mcpjava.server.roots
org.mcpjava.server.sampling
org.mcpjava.server.spi
org.mcpjava.server.tools