mdMCP
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@mdMCPrun health_check on google.com"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
mdMCP
Turn a Markdown file into a local MCP server, with zero dependencies.
pip install mdmcpQuickstart
1. Write a tool file:
## Tool: health_check
Check if a URL is reachable.
### Parameters
- url (string, required): URL to check
### Execute
\```bash
STATUS=$(curl -sf -o /dev/null -w '%{http_code}' -m 5 "$MDMCP_URL")
echo "HTTP $STATUS"
\```2. Serve it:
mdmcp serve tools.md3. Connect to Claude Code:
{
"mcpServers": {
"my-tools": {
"command": "mdmcp",
"args": ["serve", "tools.md"]
}
}
}That's it. Your Markdown is now an MCP server.
Related MCP server: mcp-markdown-tools
How it works
## Tool: namedefines a tool### Parametersdefines input schema (envvar-based, no string interpolation)### Executecontains a bash script inside a fenced code blockParameters are passed as
$MDMCP_<NAME>environment variables
Commands
mdmcp list tools.md # List available tools
mdmcp run tools.md tool_name '{}' # Run a tool once
mdmcp serve tools.md # Start MCP stdio serverSecurity
Minimal env: only PATH, HOME, USER, SHELL, LANG, TERM are inherited. API keys and tokens are NOT exposed to tool scripts.
No string interpolation: parameters are passed as environment variables, not injected into shell code.
Required param validation: missing required parameters return an error before execution.
Timeout + process cleanup: 30s timeout with process group kill to prevent zombies.
Tips
Always quote
"$MDMCP_VAR"in bash to prevent word splittingUse
${MDMCP_VAR:-default}for optional params with bash-side defaultsYou can use
python3 -cinside bash for complex logic (seeexamples/data-tools.md)Use
set -euat the top of scripts for safer execution
Examples
See the examples/ directory:
ops-tools.md — disk usage, port check, git log, docker status, health check
dev-tools.md — find TODOs, run linter, check port (from Codex dogfood)
data-tools.md — CSV summary, JSON inspect, file diff (from Gemini dogfood)
Known limitations
Execute blocks only support
```fences (not~~~)Parameter names must be
\w+(no spaces or special chars)Nested
```inside heredocs will confuse the parserAll parameter values are strings in bash; cast manually if needed
License
MIT
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- AlicenseAqualityFmaintenanceMCP server for markdown files — search, extract sections, list headings, find code blocks across docs.Last updated6744MIT
- Alicense-qualityDmaintenanceAn MCP server that provides tools for analyzing, linting, formatting, and generating Markdown content. It enables users to programmatically manage Markdown files through features like table of contents generation, statistics calculation, and JSON-to-table conversion.Last updated321MIT
- Alicense-qualityCmaintenanceLightweight MCP server for providing user prompts defined in Markdown with argument support.Last updated6BSD 3-Clause
- AlicenseBqualityBmaintenanceA universal MCP server that loads Markdown skills from arbitrary folders, enabling lazy discovery and execution of skills across multiple MCP-capable tools.Last updated5631MIT
Related MCP Connectors
Markdown-first MCP server for Notion API with 8 composite tools and 39 actions.
Serve a folder of Markdown notes as an MCP server: hybrid search, reading, and sourced answers.
MCP server for AgentDocs (agentdocs.eu): read, search, write, comment on & share Markdown docs.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/MakiDevelop/mdmcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server