Markdown TOC
Verified IntegrationClient Configuration
— Connect Markdown TOC to Claude Desktop or Cursor in seconds{
"mcpServers": {
"markdown-toc": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-markdown-toc"
],
"env": {}
}
}
}~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows).System Overview
Generates a table of contents from Markdown headings with GitHub-style slug anchors.
7/23/2026
Open Source
stdio / SSE RPC
Frequently Asked Questions
Architecture and operational details for Markdown TOC
Yes, Markdown TOC is smart enough to skip headings that are located within fenced code blocks. This prevents irrelevant code examples or comments from appearing in your generated table of contents.
Related MCP Servers
Browse all servers →Empower AI assistants to generate and convert documents, manage templates, and automate document workflows efficiently.
Provides a multi-tenant, AI-native Content Delivery Network deployable on Cloudflare, featuring sub-100ms TTFB, AI agent controllability, and comprehensive accessibility.
Deploy a Model Context Protocol server on Cloudflare Workers without requiring authentication.