home / mcp / avrotize mcp server
Serves as a local MCP server that exposes Avrotize’s schema conversion tools via standard MCP endpoints.
Configuration
View docs{
"mcpServers": {
"clemensv-avrotize": {
"command": "avrotize",
"args": [
"mcp"
]
}
}
}Avrotize can run as a local MCP server, exposing its schema conversion tools over standard input/output. This enables you to integrate Avrotize’s capabilities into MCP clients for on-the-fly schema work and automated pipelines.
You run the Avrotize MCP server locally and connect to it from your MCP client. The server exposes conversion capabilities and a small set of control commands to describe, list, inspect, and execute conversions. Use the MCP client to discover available conversions, run a conversion, and retrieve results or error messages. This setup is ideal for integrating Avrotize into automated data pipelines, schema registries, or editor tooling that relies on a consistent MVC for schema transformations.
Prerequisites You need Python 3.10 or later installed on your system. Ensure you have a working Python environment and access to the internet for package installation.
Step 1: Install Avrotize with the MCP extra to enable MCP server support.
pip install "avrotize[mcp]"Run the MCP server for Avrotize using the local command shown.
avrotize mcpIf you plan to publish the server configuration to the MCP Registry, you can validate and publish using the provided tools (these steps assume you have the necessary registry access and credentials):
mcp-publisher validate server.json
mcp-publisher publish server.jsonDescribe server capabilities and available routes so clients can discover what conversions and commands are supported.
List the conversion commands available on the server.
Inspect a specific conversion command to understand its inputs, outputs, and behavior.
Execute a conversion using a specified command and input parameters, returning the result or errors.