Feedback

Mcp Server Markdown

@ofershap Claim

Basic information

Version
1.0.1
Category
License
MIT
Transports
stdio
Author
ofershap
Submitted by
Community

About Mcp Server Markdown

Markdown MCP — search, extract sections, list headings, find code blocks.

Mcp Server Markdown is a MCP server in the Other category listed in the AddMCP.net directory, published by ofershap. It exposes 6 tools, including list_files, search_docs, get_section, list_headings and more. Supported transport: stdio. License: MIT. Source code is hosted on github.com.

Setup

{
    "mcpServers": {
        "markdown": {
            "command": "npx",
            "args": [
                "-y",
                "mcp-server-markdown"
            ]
        }
    }
}

Mcp Server Markdown config

Add this server to your MCP-compatible client using the configuration below.

{
    "mcpServers": {
        "markdown": {
            "command": "npx",
            "args": [
                "-y",
                "mcp-server-markdown"
            ]
        }
    }
}

Mcp Server Markdown tools

  • list_files — List all .md files in a directory recursively. Returns relative paths sorted alphabetically.
    directory:string*
  • search_docs — Full-text search across all .md files in a directory. Returns file, line number, and matching line. Limited to 50 results.
    directory:string*, query:string*
  • get_section — Extract a section by heading from a markdown file. Returns content from that heading until the next heading of same or higher level.
    file:string*, heading:string*
  • list_headings — List all headings (# through ######) in a markdown file as a table of contents.
    file:string*
  • find_code_blocks — Find all fenced code blocks in a markdown file. Optionally filter by language (e.g. typescript, python).
    file:string*, language:string
  • get_frontmatter — Parse YAML frontmatter (between --- delimiters) at the start of a markdown file. Returns key-value metadata.
    file:string*

Overview

Mcp Server Markdown tools

  • list_files: List all .md files in a directory recursively. Returns relative paths sorted alphabetically.
  • search_docs: Full-text search across all .md files in a directory. Returns file, line number, and matching line. Limited to 50 results.
  • get_section: Extract a section by heading from a markdown file. Returns content from that heading until the next heading of same or higher level.
  • list_headings: List all headings (# through ######) in a markdown file as a table of contents.
  • find_code_blocks: Find all fenced code blocks in a markdown file. Optionally filter by language (e.g. typescript, python).
  • get_frontmatter: Parse YAML frontmatter (between --- delimiters) at the start of a markdown file. Returns key-value metadata.

Comments

No comments yet

Be the first to share feedback about this listing. Sign in to leave a comment.

Sign In

Feedback 💬