- Home
- MCP servers
- Rulemorph
Rulemorph
- rust
0
GitHub Stars
rust
Language
4 months ago
First Indexed
2 months ago
Catalog Refreshed
Documentation & install
Readme and setup notes from the catalogue, plus a client-ready config you can copy for your MCP host.
Installation
Add the following to your MCP client configuration file.
Configuration
View docs{
"mcpServers": {
"vinhphatfsg-rulemorph": {
"command": "cargo",
"args": [
"run",
"-p",
"rulemorph_mcp",
"--",
"--help"
]
}
}
}Rulemorph provides an MCP (Model Context Protocol) server that enables AI assistants to run data transformation and validation tasks using declarative YAML rules. This server exposes a lightweight, local MCP endpoint so you can integrate Rulemorph’s data pipelines with your AI workflows and tooling.
How to use
You use the MCP server by launching it as a local process and connecting your MCP client to its standard input/output channel. The server exposes a set of tools that let you transform data, validate rules, generate DTOs, and analyze inputs, all driven by your YAML rule definitions. You can combine the MCP with AI assistants to transform data on the fly, ensure consistent data formats, and generate type-safe definitions for downstream applications.
How to install
Prerequisites you need before starting this MCP server are a Rust toolchain and Cargo to build and run the MCP component.
# Prerequisite: ensure Rust and Cargo are installed
rustc --version
cargo --version
From source, build the MCP server component and run it using the following commands. These commands come from the available examples for starting the MCP server.
# Build the MCP server (release build)
cargo build -p rulemorph_mcp --release
# Run the MCP server with its help interface (adjust paths if needed)
cargo run -p rulemorph_mcp -- --help
Additional setup with Claude tools
You can integrate Rulemorph’s MCP with Claude Code or Claude Desktop. Use the following example configurations to register the MCP server in Claude.
# Claude Code: register the Rulemorph MCP server
claude mcp add rulemorph -- rulemorph-mcp
# Claude Desktop: add to configuration
{
"mcpServers": {
"rulemorph": {
"command": "rulemorph-mcp"
}
}
}
Available tools
transform
Execute data transformation using declarative YAML rules to reshape input data into the desired output structure.
validate_rules
Validate YAML rule definitions for correctness and compatibility with the rule engine.
generate_dto
Generate type definitions (DTOs) for languages such as Rust, TypeScript, Python, Go, Java, Kotlin, and Swift from your YAML rules.
analyze_input
Summarize or inspect the input data structure to help shape mappings and DTO generation.