5 unstable releases
Uses new Rust 2024
| new 0.4.1 | Feb 25, 2026 |
|---|---|
| 0.4.0 | Feb 25, 2026 |
| 0.2.1 | Feb 24, 2026 |
| 0.2.0 | Feb 24, 2026 |
| 0.0.1 | Feb 20, 2026 |
#1293 in Development tools
Used in mdt_cli
445KB
10K
SLoC
mdt_mcp
MCP server for mdt (manage markdown templates)
mdt_mcp provides a Model Context Protocol (MCP) server for the mdt template engine. It exposes mdt functionality as MCP tools that can be used by AI assistants and other MCP-compatible clients.
Tools
The server provides the following tools:
mdt_check— Verify all consumer blocks are up-to-datemdt_update— Update all consumer blocks with latest provider contentmdt_list— List all providers and consumers in the projectmdt_get_block— Get the content of a specific block by namemdt_preview— Preview the result of applying transformers to a blockmdt_init— Initialize a new mdt project with a sample template file
Usage
The MCP server communicates over stdin/stdout and can be launched via the mdt CLI:
mdt mcp
Configuration
Add the following to your MCP client configuration:
{
"mcpServers": {
"mdt": {
"command": "mdt",
"args": ["mcp"]
}
}
}
Installation
[dependencies]
mdt_mcp = "0.4.1"
Dependencies
~34MB
~556K SLoC