Skip to content

mcp-json-jackson2 (and jackson3) don't have a export package (like mcp-core) #948

Description

@jcompagner

if you look at mcp core:

https://github.com/modelcontextprotocol/java-sdk/blob/main/mcp-core/pom.xml#L44

there you see export package
but that is missing from the

https://github.com/modelcontextprotocol/java-sdk/blob/main/mcp-json-jackson2/pom.xml#L42
and also from the jackson3:

https://github.com/modelcontextprotocol/java-sdk/blob/main/mcp-json-jackson3/pom.xml#L42

could this be added? because now those 2 jars are not usable in a osgi because you can't use any package from it.

Activity

  1. joeljohansson99 commented on May 8, 2026

    @joeljohansson99

    Also had this problem, but got it working by creating a temporary fragment bundle with the host io.modelcontextprotocol.sdk.mcp-json-jackson2 and the exporting the io.modelcontextprotocol.json.jackson2 and io.modelcontextprotocol.json.schema.jackson2.

    Its a workaround for now atleast!

  2. Kehrlann commented on May 28, 2026

    @Kehrlann
    Contributor

    Fixed in #911

  3. added this to the 2.0.0-RC1 milestone on May 28, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions