Back to Home
onoda4480 icon

Document-Server-MCP

Verified Safe

by onoda4480

Overview

Efficiently deliver project documentation to AI agents (e.g., Claude) on demand to optimize token usage.

Installation

Run Command
docker run -it --rm -v $(PWD)/docs:/app/docs:ro mcp-document-server:latest

Environment Variables

  • MCP_DOCS_DIR

Security Notes

The server implements robust security measures including explicit path traversal attack prevention via `SafeFileHandler`, file size limits, and input validation for document paths and encodings. Logging is properly configured to `stderr` and files to avoid corrupting STDIO-based JSON-RPC communication. The core MCP server runs on STDIO, which is generally safer for local integration. An optional HTTP API adds a network surface but includes error handling. No 'eval' or obvious malicious patterns were found.

Similar Servers

Stats

Interest Score0
Security Score9
Cost ClassMedium
Avg Tokens2000
Stars0
Forks0
Last Update2025-12-14

Tags

MCPDocument ManagementAI AgentsPythonSecurity