Token导航 LogoToken导航TokenDH.com
Markdown MCP Server (Repr0bated) logo
开发工具未说明官方级别未说明来源级核验

Markdown MCP Server (Repr0bated)

MCP Server

一个将Markdown文件作为MCP资源提供的服务器,支持自动发现、内容读取和安全访问,适用于AI助手和开发工具集成。

工具数

0

提示词数

0

GitHub Stars

0

资源数

0
开发工具JavaScriptClaude资源管理Claude DesktopClaudeCursor

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

作者 / 组织

repr0bated

提供方

repr0bated

最后核验

2026/5/17 20:22

快速接入

先看主来源和安装命令,再打开仓库或文档;下面只保留这个条目的关键接入事实。

详细介绍

Markdown Resources MCP Server

This MCP server serves markdown files from the /git/agents and /git/commands repositories as MCP resources, making them accessible to AI assistants like Claude and Cursor.

Features

  • Automatic Discovery: Scans and indexes all .md files from agents and commands repositories
  • MCP Resources: Exposes markdown files as resources with URIs like agents://docs/agents.md
  • Content Reading: Allows reading the full content of any markdown file
  • Security: Path traversal protection and restricted directory access

Resource URIs

The server creates resources with the following URI patterns:

  • agents://docs/filename.md - Documentation files in agents/docs/
  • agents://plugins/plugin-name/agents/filename.md - Agent files in plugins
  • agents://plugins/plugin-name/commands/filename.md - Command files in plugins
  • commands://tools/filename.md - Tool files in commands/tools/
  • commands://workflows/filename.md - Workflow files in commands/workflows/

Installation

  1. Ensure Node.js is installed
  2. Copy the server files to your desired location
  3. Configure your MCP client to use this server

Configuration

The server is configured via mcp.json:

{
  "name": "markdown-resources-mcp",
  "version": "1.0.0",
  "description": "MCP server that serves markdown files from agents and commands repositories as resources",
  "server": {
    "command": "node",
    "args": ["/git/markdown-mcp-server/server.js"]
  },
  "capabilities": {
    "resources": {
      "list": true,
      "read": true
    }
  }
}

Usage

Listing Resources

Use the resources/list method to get all available markdown files:

{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "resources/list",
  "params": {}
}

Reading Resources

Use the resources/read method to get the content of a specific file:

{
  "jsonrpc": "2.0",
  "id": 2,
  "method": "resources/read",
  "params": {
    "uri": "agents://docs/agents.md"
  }
}

File Discovery

The server automatically scans these directories:

  • /git/agents/ - All markdown files recursively
  • /git/commands/ - All markdown files recursively

It excludes:

  • .git directories
  • node_modules directories
  • Any path starting with .

Security

  • Path traversal attacks are prevented by resolving and validating file paths
  • Access is restricted to the configured base directories
  • Only .md files are served

Statistics

As of the latest scan, the server serves 364 markdown files including:

  • Agent documentation and specifications
  • Command workflows and tools
  • Plugin configurations
  • Architecture guides
  • Usage instructions

Development

To modify or extend the server:

  1. Edit server.js for core functionality
  2. Update mcp.json for configuration changes
  3. Test with the MCP protocol over stdio

Integration

This server integrates with:

  • Claude Desktop
  • Cursor
  • Any MCP-compatible client

Configure your client to launch the server with:

node /git/markdown-mcp-server/server.js

目录标签

目录标签

开发工具JavaScriptClaude资源管理Markdown服务本地部署AI集成

支持客户端

Claude DesktopClaudeCursor

接入字段

传输方式(transport,传输协议)

未说明

鉴权方式(authType,认证方式)

none

工具数量(toolCount,工具数)

0

资源数量(resourceCount,资源数)

0

提示词数量(promptCount,提示词数)

0

权限和风险

未说明none部署方式未说明

接入前请确认传输方式、认证方式和部署位置,并根据实际工具能力限制访问范围。

安装前确认

不要直接授予不必要的文件、网络或账号权限;先核对安装命令和配置内容。

仍需确认:installCommand

来源信息

继续浏览同类 MCP