Turn local .md folder to MCP server
Turn local .md folder to MCP server
md-mcp is a Python library designed to expose local markdown folders as Model Context Protocol servers for AI applications such as Claude Desktop. The tool functions by transforming static documentation and notes into accessible resources for AI models without requiring embeddings, preprocessing, or cloud uploads. By maintaining files on the local machine, the software ensures that any real-time updates to the markdown content are immediately reflected in the AI context. The application provides two primary methods for management and configuration. Users can utilize a visual web dashboard to select folders or interact with the software through a command line interface. Once a folder is connected, each markdown file within that directory is treated as an individual resource that the AI can read and reference. This architecture allows for direct interaction with local data while maintaining privacy and data sovereignty. Common use cases for md-mcp include connecting personal knowledge bases, such as Obsidian vaults, to AI tools for enhanced information retrieval. It is also used to provide AI models with full context regarding project documentation or research notes. The workflow typically involves installing the package via pip and then launching either the web UI or the CLI to point the server toward a specific directory of markdown files. Technically, the tool requires a Python environment and is compatible with any AI client that supports the Model Context Protocol. It is specifically optimized for integration with Claude Desktop. Because the system does not rely on external databases or vector stores, the primary requirement is a local directory containing markdown files. The software is distributed through the Python Package Index and is designed for users who need to bridge the gap between local text files and large language models.