docshelf-mcp
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| DOCSHELF_ROOT | Yes | Path to the shelf directory containing the document collection. |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {
"listChanged": false
} |
| prompts | {
"listChanged": false
} |
| resources | {
"subscribe": false,
"listChanged": false
} |
| experimental | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| docshelf_init_shelfA | Bootstrap a new document shelf at Creates the directory layout ( Idempotent — safe to call on an existing shelf to update metadata. |
| docshelf_add_documentA | Add a PDF or Markdown file to the shelf and refresh INDEX.md.
|
| docshelf_add_directoryA | Add every matching file in a directory, rebuilding INDEX.md once. Scans |
| docshelf_read_documentA | Read a document or section file from inside the shelf's Returns the file content directly over MCP — useful for private or
purely-local shelves where the |
| docshelf_remove_documentA | Remove a document — its file, split sections, and metadata entry. Accepts the filename, the slug, or the human title used at add time.
INDEX.md is regenerated automatically. Pass |
| docshelf_rename_documentA | Retitle, recategorize, or re-describe a document — no re-conversion. Moves the document |
| docshelf_rebuild_indexA | Regenerate Useful after manual edits to |
| docshelf_doctorA | Check the shelf for drift and optionally apply the safe fixes. Reports stale |
| docshelf_search | Plain-text search across every Markdown file in the shelf. Tokens are space-split; each must appear (case-insensitive) for a hit
to count. If no file contains all tokens, the search falls back to
any-token matching and the response reports |
| docshelf_list_documents | List documents grouped by category. Pass a |
| docshelf_convert_pdf | Standalone PDF → Markdown conversion (no shelf, no INDEX update). Use when you want the converted file but don't yet want to commit it to a shelf. Optionally splits the result by H2. |
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/ignatenkofi/docshelf-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server