A Go implementation of a Model Context Protocol (MCP) server that serves markdown files with frontmatter support from a filesystem.
Overview
what is go-mcp-server-mds?
go-mcp-server-mds is a Go implementation of a Model Context Protocol (MCP) server that serves markdown files with frontmatter support from a filesystem.
how to use go-mcp-server-mds?
To use go-mcp-server-mds, install it using go get, create a new server instance in your Go application, and start the server to serve markdown files from a specified directory.
key features of go-mcp-server-mds?
- Serve markdown files via MCP
- List all available markdown files with metadata
- Read individual markdown file contents
- Support for YAML and TOML frontmatter
- File system abstraction using
fs.FS - Resource management with URI-based access
use cases of go-mcp-server-mds?
- Serving documentation written in markdown format.
- Providing a backend for markdown-based content management systems.
- Exposing markdown files as resources for web applications.
FAQ from go-mcp-server-mds?
- How do I install go-mcp-server-mds?
You can install it using the command:
go get github.com/Warashi/go-mcp-server-mds.
- Can I use it with any markdown files?
Yes, it supports markdown files with YAML or TOML frontmatter.
- Is there a command-line tool available?
Yes, there is a command-line tool
mcp-server-mdsthat can be used to run the server directly.