md-mcp
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Capabilities
Features and capabilities supported by this server
| Capability | Details |
|---|---|
| tools | {
"listChanged": false
} |
| prompts | {
"listChanged": false
} |
| resources | {
"subscribe": false,
"listChanged": false
} |
| experimental | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| get_indexA | Return the section index of a Markdown file as a nested tree. Each node: {"heading": str, "level": int, "path": str, "children": [...]} The "path" field is the dot-separated address used by all other tools. Literal dots in heading text are represented as . in path strings. |
| get_sectionA | Return the heading line(s) and body of the section at
Raises an error string if the path does not exist. |
| search_sectionsA | Search all section bodies for lines matching Returns a list of match objects — one per section that contains at least one hit — in file order:
|
| add_sectionA | Insert a new section into a Markdown file.
|
| replace_sectionA | Replace the body of a section, preserving its heading line. The heading line is kept unchanged; only the body text is replaced. Returns "ok" on success. |
| patch_sectionA | Return a unified diff of what replace_section would do, without writing. Useful for previewing changes before committing them. Returns the unified diff as a string (empty string if no changes). |
| delete_sectionA | Delete a section from a Markdown file. With include_children=True (default): deletes the heading, its body, and all child sections. With include_children=False: deletes only the heading and its own body; child sections are promoted. Returns "ok" on success. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
Latest Blog Posts
- 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/afriemann/md-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server