sharedoc-mcp
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| MCP_CALLER | No | Default author attribution for created docs | |
| SHAREDOC_PORT | No | Viewer port (selfhost) | 8377 |
| SHAREDOC_BACKEND | No | Backend to use: 'gist' (default) or 'selfhost' | gist |
| SHAREDOC_DATA_DIR | No | SQLite location (selfhost) | ~/.local/share/sharedoc-mcp |
| SHAREDOC_INDEX_PATH | No | Local index path (gist) | ~/.config/sharedoc-mcp/index.json |
| SHAREDOC_PUBLIC_URL | No | URL prefix in share links — set to your tunnel hostname | http://127.0.0.1:<port> |
Capabilities
Features and capabilities supported by this server
| Capability | Details |
|---|---|
| tools | {
"listChanged": true
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| create_shared_docA | Create a shared Markdown doc, returns a public URL. Backend semantics differ: gist backend has no password support (secret URL is the protection) and lazy expiry; selfhost backend enforces both. |
| append_to_shared_docA | Append content to an existing shared doc. NOT idempotent: a retry appends twice — check with search_shared_docs before retrying. Accepts a doc id or URL. |
| extend_shared_docA | Extend a doc expiry by N hours (for "N days" multiply by 24 first). On the gist backend expiry is enforced lazily (cleanup on next use). |
| reset_shared_doc_passwordC | Reset a doc password (null removes protection). Selfhost backend only. |
| update_shared_doc_titleC | Update a shared doc title (must be non-empty). |
| revoke_shared_docA | Revoke a shared doc: the link stops working but the record stays searchable. Gist backend: the gist is deleted immediately and irreversibly. Selfhost backend: revoked with a 7-day grace before content is purged. To erase the record entirely, use delete_shared_doc. |
| delete_shared_docA | Permanently delete a shared doc: the link dies AND the record disappears from search — unlike revoke_shared_doc, no history is kept. Irreversible on both backends. Requires confirm: true, which you must only pass after the user explicitly approved the permanent deletion; prefer revoke_shared_doc for routine takedowns. |
| search_shared_docsA | Find previously shared docs and their links. Call with NO arguments to list the newest docs (each result includes its share URL). title_query filters by title substring; content_query searches body text (selfhost: full content; gist: the opening excerpt only); status filters active/revoked/expired; limit max 100. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/AugustusW/sharedoc-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server