streamable-httpupdated 9d ago
Share markdown files with flexible expiry (including permanent links), a public API, and MCP support for AI-powered IDE workflows.
What can you do with Docs MD — Markdown Share?
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 -
```mermaidcode 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_sharetools - 📚 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.xmland/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}(expiresAt0= permanent)PATCH /api/share/:id— headerx-edit-token, body{content, filename?}DELETE /api/share/:id— headerx-edit-tokenGET /raw/:id— rawtext/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
Install
Add Docs MD — Markdown Share to your client. Pick the one you use.
claude mcp add --transport http docs-md-markdown-share https://docs-md.com/api/mcpcodex mcp add docs-md-markdown-share --url https://docs-md.com/api/mcp{
"mcpServers": {
"docs-md-markdown-share": {
"url": "https://docs-md.com/api/mcp"
}
}
}Add to `~/.cursor/mcp.json`, or `.cursor/mcp.json` for a single project.
{
"servers": {
"docs-md-markdown-share": {
"type": "http",
"url": "https://docs-md.com/api/mcp"
}
}
}Add to `.vscode/mcp.json` in your workspace.
{
"mcpServers": {
"docs-md-markdown-share": {
"url": "https://docs-md.com/api/mcp"
}
}
}Add to `claude_desktop_config.json`, then restart Claude Desktop.
{
"mcpServers": {
"docs-md-markdown-share": {
"serverUrl": "https://docs-md.com/api/mcp"
}
}
}Add to `~/.codeium/windsurf/mcp_config.json`.
Score
39 / 100
Incomplete
- Documentation22/25
- Maintenance19/25
- Trust6/20
- Capability0/15
- Install experience12/15
- Documents what it does and how to connect
- Has a resolvable package or endpoint
- Exposes at least one tool, prompt or resource
- README has substantive content
- Includes a code example
- Documents its configuration
- Mentions credentials or security posture
- Last commit 2 days ago
- Has a release history
- Repository is not archived
- No licence detected
- Namespace verified in the official MCP registry
- Claimed by its owner
- Published under an organisation
- 0 tool(s) documented
- Provides prompt templates
- Provides resources
- 6 documented install method(s)
- Published to a package registry
- Offers a hosted endpoint — no local install
Version history
| Versions | Published |
|---|---|
| 1.1.0Latest | Aug 12, 2026 |