Back to Browse

Docs Md MCP Server

Developer ToolsUse Caution4.8MCP RegistryLocalRemote
Free

Server data from the Official MCP Registry

Share markdown as public links from your AI assistant — expiring or permanent, no API key.

About

Share markdown as public links from your AI assistant — expiring or permanent, no API key.

Remote endpoints: streamable-http: https://docs-md.com/api/mcp

Security Report

4.8
Use Caution4.8High Risk

Docs MD is a well-architected markdown sharing service with MCP integration, proper input validation, rate limiting, and secure token-based access control. No critical vulnerabilities detected. Minor findings relate to code quality and SSE/OPTIONS implementation details that do not materially affect security. Supply chain analysis found 14 known vulnerabilities in dependencies (1 critical, 10 high severity).

7 files analyzed · 18 issues found

Security scores are indicators to help you make informed decisions, not guarantees. Always review permissions before connecting any MCP server.

Permissions Required

This plugin requests these system permissions. Most are normal for its category.

HTTP Network Access

Connects to external APIs or services over the internet.

env_vars

Check that this permission is expected for this type of plugin.

File System Read

Reads files on your machine. Normal for tools that analyze or process local data.

File System Write

Writes or modifies files on your machine. Check that this is expected for the tool.

How to Install & Connect

Available as Local & Remote

This plugin can run on your machine or connect to a hosted endpoint. during install.

Documentation

View on GitHub

From the project's GitHub README.

MD Share

Share markdown files with flexible expiry (including permanent links), a public API, and MCP support for AI-powered IDE workflows.

Features

  • 📝 Instant Sharing - Paste markdown, get a shareable link
  • 👀 Live Preview - Write and preview side-by-side before publishing
  • Flexible Expiry - 1 day, 7 days, 30 days, or never
  • ✏️ Edit & Delete - Every share returns a private edit token
  • 🧜 Mermaid Diagrams - ```mermaid code blocks render as diagrams
  • 📑 Table of Contents - Auto-generated sidebar for long documents
  • 🔗 Raw Endpoint + API - GET /raw/:id, full REST API at /api-docs
  • 🔌 MCP Integration - share_markdown, update_share, delete_share tools
  • 📚 SEO Pages - About, What is MCP, AI IDE guide, use cases, API docs
  • 🔐 Security Defaults - Validation, payload limits, rate limiting, and protected ops endpoints

Public Pages

  • / - Markdown editor + live preview
  • /about - Product overview
  • /what-is-mcp - MCP explainer
  • /ai-powered-ide - AI IDE workflow guide
  • /use-cases - Common usage patterns
  • /api-docs - REST API documentation
  • /sitemap.xml and /robots.txt

API

See docs-md.com/api-docs. Summary:

  • POST /api/share — body {content, filename?, expiry?} where expiry ∈ 1d|7d|30d|never; returns {id, url, rawUrl, editToken, expiresAt} (expiresAt 0 = permanent)
  • PATCH /api/share/:id — header x-edit-token, body {content, filename?}
  • DELETE /api/share/:id — header x-edit-token
  • GET /raw/:id — raw text/markdown

Indexing policy: only permanent shares are indexable; expiring shares are served with noindex.

MCP Registry

Published in the official MCP Registry as com.docs-md/markdown-share — remote streamable-HTTP server at https://docs-md.com/api/mcp with tools share_markdown, update_share, and delete_share.

MCP Setup for Cursor

Share markdown files directly from Cursor using our MCP server.

1. Open Cursor Settings

Press Cmd/Ctrl + Shift + P → "Preferences: Open User Settings (JSON)"

2. Add Configuration

{
  "mcpServers": {
    "md-share": {
      "url": "https://docs-md.com/api/mcp",
      "transport": "http"
    }
  }
}

3. Restart Cursor

4. Test It

In Cursor chat, say: "Share this markdown file"

Security Configuration

Set these environment variables in production:

# API body limits
MAX_SHARE_REQUEST_BYTES=200000
MAX_MCP_REQUEST_BYTES=250000
MAX_MARKDOWN_CHARS=120000

# Rate limiting (per IP, per window)
RATE_LIMIT_WINDOW_MS=60000
RATE_LIMIT_SHARE_PER_WINDOW=20
RATE_LIMIT_MCP_PER_WINDOW=30

# Protected endpoints
CRON_SECRET=your-cleanup-secret
ADMIN_API_SECRET=your-admin-secret

# Optional CORS allowlist for MCP preflight
MCP_ALLOWED_ORIGINS=https://docs-md.com,http://localhost:3000

Development

# Install
npm install

# Run dev server
npm run dev

# Type check
npm run type-check

# Lint
npm run lint

# Build
npm run build

Tech Stack

  • Next.js 16, TypeScript, Tailwind CSS
  • Neon Postgres + Vercel Blob
  • Model Context Protocol (MCP)
  • Zod request validation

License

MIT

Reviews

No reviews yet

Be the first to review this server!

Docs Md MCP Server - Share markdown as public links from your AI assistant — | MCP Marketplace