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. |
Capabilities
Features and capabilities supported by this server
| 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_rebuild_indexA | Regenerate Useful after manual edits to |
| docshelf_searchA | Plain-text search across every Markdown file in the shelf. Tokens are space-split; each must appear (case-insensitive) for a hit to count. Results include the relative path, a 200-char snippet, and — if a GitHub remote is configured — the raw URL so the model can fetch the matching file directly. |
| docshelf_list_documentsA | List documents grouped by category. Pass a |
| docshelf_convert_pdfA | 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
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