Context-MCP Document Server
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| DATA_PATH | No | Directory where documents and indices are stored (optional). | |
| WATCH_DIRECTORIES | No | Comma-separated list of directories to watch for new files (optional). |
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 | {} |
| resources | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| add_documentB | Add a document to the index from a file path. Supports PDF, DOCX, Markdown, HTML, TXT, and JSON files. |
| search_documentsC | Search for documents using full-text search with relevance scoring |
| get_documentA | Get the full content and metadata of a specific document by ID |
| list_documentsA | List all indexed documents with basic metadata (summaries without full content) |
| update_documentA | Update document metadata (title, tags) without changing content |
| delete_documentB | Remove a document from the index permanently |
| get_server_statsA | Get statistics about the document server (total documents, types, index size) |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
TDQS
Scored across 7 tools
Each tool has a clearly distinct purpose: add, search, get, list, update, delete, and stats target separate operations and resources. The descriptions also clarify the distinction between full-content retrieval (get_document) and metadata listing (list_documents).
All tool names follow a consistent snake_case verb_noun pattern (add_document, search_documents, get_document, etc.). No mixed conventions or ambiguous verbs are present.
Seven tools are well-scoped for a document indexing server. The set covers core operations without unnecessary bloat or missing basic utilities.
The surface covers create/read/list/search/update-metadata/delete plus stats, which is solid lifecycle coverage. A minor gap exists because document content cannot be updated directly or reindexed without deleting and re-adding, but this is workable.