Skip to main content
AllMCPs
BrowseBestCategoriesStackCompareToolsGuidesBlog Log in Submit MCP

Stay in the loop

Get new MCP servers and top picks in your inbox.

AllMCPs

The open directory for discovering and installing Model Context Protocol servers.

Explore

  • Browse servers
  • Best MCP servers
  • Categories
  • MCP clients
  • Agent prompts
  • Stack Builder
  • Compare servers
  • Tags index
  • Submit a server
  • Pricing

Learn

  • Guides hub
  • What is MCP?
  • Install guide
  • Troubleshooting
  • Security
  • Blog
  • Blog RSS

Tools

  • All tools
  • Config generator
  • Config validator
  • MCP playground
  • OpenAPI β†’ MCP
  • Badge generator

For agents

  • API docs
  • Trust & traffic
  • llms.txt β†— (opens in a new tab)
  • Catalog JSON β†— (opens in a new tab)
  • Remote MCP β†— (opens in a new tab)

Company

  • About
  • Contact
  • X (@AllMCPs) β†— (opens in a new tab)
  • GitHub β†— (opens in a new tab)
  • Terms
  • Privacy
AllMCPs VerifiedAllMCPs VerifiedFeatured on Nick LaunchesFeatured on Nick LaunchesLaunch Llama NewsletterLaunch Llama NewsletterVerified DR - allmcps.comVerified DR - allmcps.comFeatured on SaaSGrowFeatured on SaaSGrowFeatured on Twelve ToolsFeatured on Twelve ToolsFeatured on Saaspa.geFeatured on Saaspa.geFeatured on Findly.toolsFeatured on Findly.toolsFeatured on Startup FameFeatured on Startup FameFeatured on LaunchKiwiFeatured on LaunchKiwiFeatured on ScrollLaunchFeatured on ScrollLaunchFeatured on DailyPingsFeatured on DailyPingsFazier badgeFazier badgeFeatured on NewTool.siteFeatured on NewTool.siteFeatured on saasfame.comFeatured on saasfame.comDR Checker - Domain RatingDR Checker - Domain RatingListed on Turbo0Listed on Turbo0Launched on LaunchBoard - Product Launch PlatformLaunched on LaunchBoard - Product Launch PlatformList on SimilarlabsList on Similarlabshttps://codetrendy.comhttps://codetrendy.comListed on DevTool.ioFeatured on BuildlistFeatured on BuildlistAllMCPs VerifiedAllMCPs VerifiedFeatured on Nick LaunchesFeatured on Nick LaunchesLaunch Llama NewsletterLaunch Llama NewsletterVerified DR - allmcps.comVerified DR - allmcps.comFeatured on SaaSGrowFeatured on SaaSGrowFeatured on Twelve ToolsFeatured on Twelve ToolsFeatured on Saaspa.geFeatured on Saaspa.geFeatured on Findly.toolsFeatured on Findly.toolsFeatured on Startup FameFeatured on Startup FameFeatured on LaunchKiwiFeatured on LaunchKiwiFeatured on ScrollLaunchFeatured on ScrollLaunchFeatured on DailyPingsFeatured on DailyPingsFazier badgeFazier badgeFeatured on NewTool.siteFeatured on NewTool.siteFeatured on saasfame.comFeatured on saasfame.comDR Checker - Domain RatingDR Checker - Domain RatingListed on Turbo0Listed on Turbo0Launched on LaunchBoard - Product Launch PlatformLaunched on LaunchBoard - Product Launch PlatformList on SimilarlabsList on Similarlabshttps://codetrendy.comhttps://codetrendy.comListed on DevTool.ioFeatured on BuildlistFeatured on Buildlist
Β© 2026 Jackalope Digital LLC. All rights reserved.
  1. Home
  2. πŸ”„ Version Control
  3. Sharedoc Mcp
S
Health: Not checked yetWe have not completed a health check for this listing yet.Last checked 8/10/2026, 11:47:07 PM

Sharedoc Mcp

Enrichment pendingWe haven’t run our AI enrichment pass on this listing yet, so the overview, use cases, and FAQ below may be sparse or missing. We work through the catalog over time β€” check back soon.
View Repository

Share agent-generated Markdown as links β€” GitHub gists today, your own server tomorrow.

Quick Install

Automated & IDE Setup

Copy the AI prompt to install this server into Claude Code, Cursor, or another agent β€” or use 1-click editor setup below.

Add to CursorAdd to VS Code
Manual Client & Custom JSON ConfigExpand JSON β–Ύ

Install Config Generator

Choose your client
claude_desktop_config.json
{
  "mcpServers": {
    "sharedoc-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "sharedoc-mcp"
      ]
    }
  }
}

πŸ’‘ Paste into ~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows)

Install Directory Badge Claim listing AlternativesπŸ”„ More in Version Control

Documentation Overview

sharedoc-mcp

Agent-generated Markdown β†’ a link you can hand to anyone. GitHub gists today, your own server tomorrow.

English | 繁體中文

npm npm downloads MCP Registry Release License Node MCP Claude Code Codex

Add to Cursor Install in VS Code

An MCP stdio server β€” works in Claude Code, Codex CLI, and any MCP client β€” that gives your agent 9 tools to publish, update, search, and revoke shareable documents. Two pluggable backends behind one interface: gist (zero setup, rides your logged-in gh CLI) and selfhost (SQLite on your machine, passwords, enforced expiry).

When a backend can't honor a parameter (e.g. password on gist), it returns a clear error instead of silently ignoring it.

Why?

AI agents produce Markdown constantly β€” reports, research digests, meeting notes. Getting that to another human usually means copy-pasting walls of text into a chat window.

text
Without sharedoc-mcp                  With sharedoc-mcp
────────────────────                  ─────────────────
copy a wall of text into chat         "share this as a doc"
paste again for each person           one link for everyone
content lives in chat scroll          revoke / extend / append later
"can you password it?"  …no           selfhost backend: bcrypt + expiry

Where do those Markdown digests come from? Often another skill β€” e.g. audio-tldr turns videos and podcasts into Markdown digests; sharedoc-mcp turns them into links.

Features

  • βœ“ 9 MCP tools: create / append / update content / extend / reset password / rename / revoke / delete / search
  • βœ“ sharedoc-mcp serve daemon mode β€” selfhost links keep working after your MCP client closes
  • βœ“ Content search: find old share links by what's in them, not just the title
  • βœ“ GET /healthz β€” identity-aware health probe for external monitoring / restart automation
  • βœ“ Two backends, one interface β€” switch with a single env var, tool schemas stay identical
  • βœ“ Gist backend (default): secret gists via your logged-in gh CLI β€” no tokens to manage, nothing new to host
  • βœ“ Selfhost backend: docs stay on your machine (SQLite via built-in node:sqlite β€” zero native modules)
  • βœ“ Server-verified passwords (bcrypt) with rate-limited attempts β€” 5/minute, HTTP 429, counters persisted in SQLite so a restart can't reset them (selfhost)
  • βœ“ Enforced expiry (410) and revoke with a 7-day content-purge grace (selfhost); lazy expiry cleanup (gist)
  • βœ“ Markdown rendered through marked + sanitize-html β€” scripts, event handlers, and javascript: URLs in shared content are stripped
  • βœ“ Viewer binds 127.0.0.1 only, answers with a strict security-header set (CSP default-src 'none', nosniff, DENY framing, no-referrer, no-store) β€” exposure is a tunnel you control (recipes below)
  • βœ“ Local index for search_shared_docs + create dedup (identical unprotected retries within 5 min return the same URL; a retry that adds a password/expiry always creates a new doc)
  • βœ“ search_shared_docs supports offset pagination (hasMore in the response) and, on selfhost, view stats (viewCount/lastViewedAt, counted on a successful render only)
  • βœ“ Docker one-liner for the standalone serve daemon, defaults to the same 127.0.0.1-only binding as everywhere else
  • βœ“ Two MCP clients can share one data dir: SQLite WAL + busy timeout, graceful port sharing
  • βœ“ 105 offline tests; npm test passes on a clean checkout

Install

Requires Node.js β‰₯ 22.13.0. Gist backend additionally needs GitHub CLI logged in (gh auth login).

Option A β€” Claude Code (one line):

Terminal
claude mcp add sharedoc --scope user -- npx -y sharedoc-mcp@^2

Option B β€” Codex CLI (~/.codex/config.toml):

toml
[mcp_servers.sharedoc]
command = "npx"
args = ["-y", "sharedoc-mcp@^2"]

Option C β€” Cursor (one click): hit Add to Cursor, or merge into ~/.cursor/mcp.json:

config.json
{ "mcpServers": { "sharedoc": { "command": "npx", "args": ["-y", "sharedoc-mcp@^2"] } } }

Option D β€” VS Code (one click): hit Install in VS Code, or from a terminal:

bash
code --add-mcp '{"name":"sharedoc","command":"npx","args":["-y","sharedoc-mcp@^2"]}'

Option E β€” any other MCP client: run npx -y sharedoc-mcp@^2 as a stdio server.

Why @^2? A bare npx -y sharedoc-mcp resolves the latest published version on every cold start β€” a future 3.0 could change behavior (or remove a tool) under you without warning. @^2 follows 2.x fixes but never crosses a breaking major; pin an exact version (@2.1.0) if you want zero drift.

Pick your backend

πŸ…° gist (default)πŸ…± selfhost
Setupnone β€” uses your logged-in gh CLInone extra β€” data stays on your machine
Doc lives onGitHub (secret gist)your machine (SQLite)
Link reachableanywhere, immediatelylocalhost β€” add a tunnel to share externally
Passwordβœ— (the secret URL is the protection)βœ“ server-verified (bcrypt), rate-limited
Expirylazy β€” expired gists deleted on next useenforced β€” expired links return 410
Revokegist deleted immediately, irreversiblyimmediate 410, content purged after 7-day grace
View statsβœ— (GitHub's gist API exposes no view-count data)βœ“ viewCount + lastViewedAt, counted on a successful render only

Gist quickstart

Ask your agent to "share this as a doc" β€” it calls create_shared_doc and returns a secret gist URL. Secret gists are not listed publicly and the URL is unguessable, but anyone who has the link can read it β€” that's the whole security model of this backend. Need passwords? Use selfhost.

A local index (~/.config/sharedoc-mcp/index.json) tracks what you've shared, powering search and expiry cleanup. Expiry here is lazy: expired gists are deleted the next time any tool runs, not at the exact expiry moment.

Selfhost quickstart

Terminal
claude mcp add sharedoc --scope user --env SHAREDOC_BACKEND=selfhost -- npx -y sharedoc-mcp@^2

Docs live in SQLite at ~/.local/share/sharedoc-mcp/; a viewer serves them at http://127.0.0.1:8377. To share beyond your machine, put a tunnel in front and set SHAREDOC_PUBLIC_URL:

Links that outlive your editor: in MCP mode the viewer dies with the MCP client β€” close Claude Code and selfhost links stop answering until the next session (data is safe in SQLite). Run the standalone daemon to keep links alive around the clock:

Terminal
npx -y sharedoc-mcp@^2 serve   # viewer only, same DB β€” keep it running via launchd/systemd/tmux (Windows: Task Scheduler or NSSM)

MCP clients detect the daemon already owns the port and simply use it.

When to set this up: the moment you first hand a link to someone else β€” do it together with your tunnel (both should be long-running, e.g. under launchd/systemd). Until then the MCP-mode viewer is enough, and gist-backend users never need it.

RecipeFits you ifSetup
Tailscale private (recommended)recipients are your own devices / people you can invite to your tailnettailscale serve --bg 8377 β†’ https://<machine>.<tailnet>.ts.net, reachable only inside your tailnet β€” nothing is exposed to the public internet
Tailscale Funnelshare with anyone, no domaintailscale funnel 8377 β†’ same stable URL, but public
Cloudflare named tunnelyou own a domaindomain on Cloudflare, cloudflared tunnel create + route a hostname to http://127.0.0.1:8377
cloudflared quick tunnelone-off sharingcloudflared tunnel --url http://127.0.0.1:8377 β†’ random URL, changes every restart

Own a domain? Cloudflare named tunnel, step by step

A branded, stable share URL like https://docs.example.com/docs/<uuid> β€” TLS handled by Cloudflare, works from behind NAT:

bash
# one-time setup (domain already added to Cloudflare β€” the free plan is enough)
cloudflared tunnel login
cloudflared tunnel create sharedoc
cloudflared tunnel route dns sharedoc docs.example.com

~/.cloudflared/config.yml:

yaml
tunnel: sharedoc
credentials-file: ~/.cloudflared/<tunnel-id>.json
ingress:
  - hostname: docs.example.com
    service: http://127.0.0.1:8377
  - service: http_status:404

Run cloudflared tunnel run sharedoc (or install it as a service for always-on), and register the MCP server with the public URL:

Terminal
claude mcp add sharedoc --scope user \
  --env SHAREDOC_BACKEND=selfhost \
  --env SHAREDOC_PUBLIC_URL=https://docs.example.com \
  -- npx -y sharedoc-mcp

Extras this unlocks: Cloudflare's DDoS protection comes free; you can layer WAF rules, or put Cloudflare Access (SSO) in front of everything except the share paths β€” an "SSO inside, password-protected shares outside" split.

Alternative β€” always-on without a home machine: run sharedoc-mcp on a VPS (where your agent also runs) and point nginx/caddy at 127.0.0.1:8377 with your domain and auto-TLS; no tunnel needed.

Docker

Runs the same standalone serve daemon as above, in a container:

Terminal
docker build -t sharedoc-mcp .
docker run -d --name sharedoc \
  -p 8377:8377 \
  -e SHAREDOC_BIND_HOST=0.0.0.0 \
  -v sharedoc-data:/data \
  sharedoc-mcp
  • -v sharedoc-data:/data persists docs.db in a named volume β€” recreating the container keeps your docs.
  • SHAREDOC_BIND_HOST=0.0.0.0 is required to reach the container at all. The viewer binds 127.0.0.1 by default β€” same as every other deployment in this README β€” and inside a container that's unreachable through docker run -p, because -p forwards to the container's network interface, not its loopback. Without this env var, docker logs will show the viewer listening, but the mapped host port will refuse every connection.
  • Setting it to 0.0.0.0 means any process that can reach the container's exposed port reaches the viewer, unauthenticated by network position β€” the same exposure tradeoff as running any other unauthenticated app in a container without a proxy in front. Put it behind the same kind of front door as any other selfhost recipe above (a reverse proxy on the host, a Tailscale sidecar, a Cloudflare tunnel) rather than publishing -p 8377:8377 straight to the internet. Password-protecting individual docs (this backend's built-in feature) is not a substitute for that.
  • If the address recipients will use differs from http://<host>:8377 (a reverse proxy, a domain, a tunnel), set SHAREDOC_PUBLIC_URL too β€” the container has no way to infer it.
  • The MCP stdio server itself isn't meant to run in Docker β€” it needs a local process wired to an MCP client's stdin/stdout. Point your MCP client at npx -y sharedoc-mcp on the host as usual; only the standalone viewer daemon belongs in the container.

Environment variables:

VariableDefaultMeaning
SHAREDOC_BACKENDgistgist or selfhost
SHAREDOC_PORT8377viewer port (selfhost)
SHAREDOC_BIND_HOST127.0.0.1viewer bind address (selfhost) β€” 0.0.0.0 to reach it from outside a Docker container; see Docker for the exposure tradeoff before changing this
SHAREDOC_PUBLIC_URLhttp://127.0.0.1:<port>URL prefix in share links β€” set to your tunnel hostname
SHAREDOC_DATA_DIR~/.local/share/sharedoc-mcpSQLite location (selfhost)
SHAREDOC_INDEX_PATH~/.config/sharedoc-mcp/index.jsonlocal index (gist)
MCP_CALLERβ€”default author attribution for created docs

The 9 tools

ToolDoes
create_shared_doctitle + Markdown (+ optional password / expires_in_hours / author) β†’ share URL
append_to_shared_docappend Markdown (not idempotent β€” a retry appends twice)
update_shared_doc_contentreplace the entire content (title/password/expiry unchanged) β€” idempotent, safe to retry
extend_shared_docextend expiry by N hours
reset_shared_doc_passwordset / change / remove (null) the password (selfhost only)
update_shared_doc_titlerename
revoke_shared_dockill the link, keep the record (see backend table for semantics)
delete_shared_dockill the link AND erase the record β€” irreversible; requires confirm: true (agents should get explicit user approval first)
search_shared_docsno args = list newest links; title substring, body-text search (selfhost: full content; gist: opening excerpt), status filter, offset paging (hasMore in the response), view stats on selfhost

Privacy

Data flow, by backend:

  • Gist backend: your document content is uploaded to GitHub as a secret gist under your account β€” GitHub's terms and retention apply. The local index stays in ~/.config/sharedoc-mcp/ β€” it stores titles, URLs, timestamps, and the first 200 characters of each doc (for local content search); never the full content. Nothing is sent anywhere except GitHub via your own gh CLI.
  • Selfhost backend: content never leaves your machine unless you attach a tunnel β€” then it's served to whoever you gave the link (and the tunnel provider relays the traffic). Passwords are stored only as bcrypt hashes.
  • sharedoc-mcp itself has no telemetry and calls no third-party service of its own.

Security semantics, honestly

  • Gist links are bearer tokens: anyone with the URL reads the doc. Revoke deletes the gist immediately and irreversibly.
  • Selfhost passwords are verified server-side before content is served; only WRONG attempts are rate-limited (5/minute per source+doc; a correct unlock clears the counter), with counters persisted in SQLite β€” restarting the server does not reset them. Behind a tunnel, all external visitors share one source address, so the practical limit is 5/minute per doc β€” stricter than per-visitor; one person mistyping can briefly lock a doc for others.
  • There is deliberately no file-sharing tool: an arbitrary-path "share this file" tool is a prompt-injection exfiltration vector (.env, keys) β€” a hijacked agent could publish secrets. Removed rather than allowlisted.
  • The viewer never binds beyond 127.0.0.1. Whether and how it reaches the internet is entirely your tunnel's configuration.

Develop

bash
git clone https://github.com/AugustusW/sharedoc-mcp.git
cd sharedoc-mcp
npm install
npm test        # builds, then runs 105 offline tests β€” gh CLI is mocked, HTTP tests hit 127.0.0.1 only

Versioning: every release bumps version in package.json, adds a CHANGELOG entry, and is published as a git tag + GitHub Release + npm. To get update notifications: Watch this repo (Custom β†’ Releases). npx -y fetches the latest published version on each cold run; your index and docs DB live outside the package β€” updating never touches them.

Status

v2.1.0 (CHANGELOG) β€” core logic is covered by 105 offline unit/integration tests (the gh CLI is mocked; HTTP tests run against 127.0.0.1 only; no network needed). The full flows have been manually verified (2026-07-25: real secret-gist create/index/delete via the built server over stdio JSON-RPC, and the selfhost password flow end-to-end β€” form β†’ wrong password 401 β†’ correct password 200 β†’ rate-limit 429 β†’ revoke 410 β€” plus lsof confirmation of the 127.0.0.1-only bind) on:

  • macOS (Apple Silicon), Node v25 β€” gist + selfhost backends

Tunnel recipes are documented from the tools' standard behavior; Windows/Linux and real-tunnel end-to-end runs have not yet been verified β€” reports welcome.

License

MIT Β© AugustusW

Related MCP Servers

View all in Version Control View all alternatives
  • M
    Mcp

    Official GitLab MCP Server

    πŸ”„ Version Control1 views
    Compare vs Mcp β†’
  • S
    Saidsef Mcp Github Pr Issue Analyser

    A Model Context Protocol (MCP) application for automated GitHub PR analysis and issue management.…

    πŸ”„ Version Control1 views
    Compare vs Saidsef Mcp Github Pr Issue Analyser β†’
  • Create Packkit logoCreate Packkit

    Scaffold modern npm packages, CLIs, services, and full-stack monorepos from your agent. Three tools: inspect the option schema, preview the generated file tree, and write the project to disk β€” optionally creating the GitHub repo and pushing to it, or merging into an existing clone without overwriting anything. Also available as a CLI and a web configurator. npx -y packkit-mcp

    πŸ”„ Version Control1 views
    Compare vs Create Packkit β†’
  • Git Mcp logoGit Mcp

    gitmcp.io is a generic remote MCP server to connect to ANY GitHub repository or project for documentation

    πŸ”„ Version Control4 views
    Compare vs Git Mcp β†’

Frequently Asked Questions about Sharedoc Mcp

Add the following block to your claude_desktop_config.json under mcpServers: "mcpServers": { "sharedoc-mcp": { "command": "npx", "args": ["-y", "sharedoc-mcp"] } }

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewSharedoc Mcp AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/sharedoc-mcp?style=directory)](https://allmcps.com/mcp/sharedoc-mcp)
HTML Embed
<a href="https://allmcps.com/mcp/sharedoc-mcp"><img src="https://allmcps.com/api/badge/sharedoc-mcp?style=directory" alt="Sharedoc Mcp on AllMCPs" /></a>

Technical Specs & Signals

CategoryπŸ”„Version Control
More technical detailsExpand β–Ύ
TransportSTDIO
RuntimeNode.js
Views0
Unique ViewsTotal visits recorded for this listing page on AllMCPs.
Installs0
Installs & Copy ActionsTotal times users copied install commands or configuration snippets for this server.
27Quality signal: Emerging Β· 27/100How this signal is calculated β–Ύ
Server availabilityNot measured

Not scored for repo-hosted servers β€” we can't reach the running server, only its GitHub page. Hosted MCP endpoints are health-checked live.

Verified ownership8/20
Documentation & tools11/30
Adoption & activity1/15
Community engagement0/10

A guidance signal from public completeness & health data β€” not a user rating. New listings start lower and rise as they add docs, get verified, and grow adoption. Signals we can't observe for a listing are skipped, not counted against it.

β˜… FeaturedMoxie Docs MCP logo

Moxie Docs MCP

MCP & Agent Skills for Automated Documentation, and codebase conventions + context

Explore Server β†’

Own this project?

This directory is pre-filled from public sources. Claim via GitHub README, site badge, or DNS TXT to get the verified badge and attach your website.

Free dofollow backlink: after claiming, verify your product site and place a dofollow AllMCPs badge β€” we recheck it stays live.

Claim & get free dofollow

Share & Embed

Add our SVG badge (dark/light directory styles) or embeddable widget to your site.

Explore more

More in πŸ”„ Version Control β†’Best MCP servers for Git & Version Control β†’Alternatives to Sharedoc Mcp β†’Install in Claude DesktopInstall in CursorInstall in VS Code