Move mcp-json into mcp-core, add OSGi support

Co-authored-by: Luca Chang <131398524+LucaButBoring@users.noreply.github.com>
Signed-off-by: Daniel Garnier-Moiroux <git@garnier.wf>
This commit is contained in:
Scott Lewis 2026-01-28 15:43:23 -08:00 • committed by Daniel Garnier-Moiroux
commit c3b9ab09ea
2 changed files with 368 additions and 353 deletions

View file

@ -0,0 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<scr:component xmlns:scr="http://www.osgi.org/xmlns/scr/v1.3.0" name="io.modelcontextprotocol.json.jackson.JacksonMcpJsonMapperSupplier" immediate="true">
<service>
<provide interface="io.modelcontextprotocol.json.McpJsonMapperSupplier"/>
</service>
<implementation class="io.modelcontextprotocol.json.jackson3.JacksonMcpJsonMapperSupplier"/>
</scr:component>

View file

@ -0,0 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<scr:component xmlns:scr="http://www.osgi.org/xmlns/scr/v1.3.0" name="io.modelcontextprotocol.json.schema.jackson.JacksonJsonSchemaValidatorSupplier" immediate="true">
<service>
<provide interface="io.modelcontextprotocol.json.schema.JsonSchemaValidatorSupplier"/>
</service>
<implementation class="io.modelcontextprotocol.json.schema.jackson3.JacksonJsonSchemaValidatorSupplier"/>
</scr:component>