About Xemantic AI Tool Schema Mdc
Xemantic AI Tool Schema Mdc is an MCP server published by xemantic in the Developer Tools category: adapting xemantic-ai-tool-schema to Model Context Protocol kotlin-sdk Tool input.
The repository has 7 stars and 1 forks, with the last commit 7 months ago. Six months or more without a commit doesn't mean the server is broken, but check the open issues before depending on it in production.
Install
git clone https://github.com/xemantic/xemantic-ai-tool-schema-mdcThis server has no ConduID identity, so agent calls to it are not receipted. Pin the version you install and review the source before granting it credentials.
Ask AI
Ask AI about Xemantic AI Tool Schema Mdc
Powered by Claude · Grounded in docs
Security checks
- ✓README presentThe repository ships documentation.
- ✓License declaredUsable under a stated license.
- !Scoped permissionsDoesn't declare a permission scope. Assume it can do anything its process can.
3 checks have not been run yet.
Releases
README
xemantic-ai-tool-schema-mdc
Adapting xemantic-ai-tool-schema to Model Context Protocol kotlin-sdk Tool input.
Why?
The kotlin-sdk variant of the Model Context Protocol is expressing JSON Schema as Tool.Input class, which offers limited flexibility comparing
to JsonSchema delivered by the xemantic-ai-tool-schema project.
In particular definitions of types cannot be expressed.
I hope kotlin-sdk will embrace something more versatile soon. Meanwhile, this adapter library can be used for automatic MDC-compatible JSON Schema generation out of serializable Kotlin classes.
Usage
Setting up Gradle
In your build.gradle.kts:
dependencies {
implementation("com.xemantic.ai:xemantic-ai-tool-schema-mdc:0.1.1")
}
Getting Tool.Input instance
@Serializable
data class Foo(
val bar: String
)
// ...
val inputSchema: Tool.Input = mdcToolInput<Foo>()
See ObjectSchemaToMdcToolInputTest for details.
Development
Clone this project, and then run:
./gradlew build
README copy captured when this server was indexed; it may lag the repository. The original is authoritative.