go-mcp-server-mds
About
A Go implementation of a Model Context Protocol (MCP) server that serves markdown files with frontmatter support from a filesystem.
Details
- License
- MIT
Explore
- 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
go get github.com/Warashi/go-mcp-server-mds
To build the command-line tool:
go install github.com/Warashi/go-mcp-server-mds/cmd/mcp-server-mds@latest
This repository includes a command-line tool mcp-server-mds that runs the server directly.
A Go implementation of a Model Context Protocol (MCP) server that serves markdown files from a filesystem.
Overview
This server provides a way to expose markdown files through the Model Context Protocol, making them accessible as resources and providing tools to list and read markdown files. It supports markdown files with YAML or TOML frontmatter.
Features
- 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
Frontmatter Support
The server supports markdown files with YAML or TOML frontmatter. Frontmatter is metadata placed at the beginning of a markdown file, enclosed by delimiters.
YAML Frontmatter
YAML frontmatter uses --- as delimiters:
```
---
title: My Document
date: 2024-03-21
tags: [documentation, markdown]
---
Sign in to leave a review
Use Google, GitHub, or an email account so ratings stay tied to real people.
No reviews posted yet.



