Thanks to visit codestin.com
Credit goes to lib.rs

#mcp #markdown #markdown-template #template

bin+lib mdt_mcp

MCP server for mdt (manage markdown templates)

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

Unlicense and GPL-3.0-only

445KB
10K SLoC

mdt_mcp

MCP server for mdt (manage markdown templates)


Crate Docs Status Coverage Unlicense


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-date
  • mdt_update — Update all consumer blocks with latest provider content
  • mdt_list — List all providers and consumers in the project
  • mdt_get_block — Get the content of a specific block by name
  • mdt_preview — Preview the result of applying transformers to a block
  • mdt_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