Skip to main content
Glama

MCP File Server

by undici77
constants.py541 B
#!/usr/bin/env python3 """Security and configuration constants for the MCP file server.""" # ---------------------------------------------------------------------- # Security Constants # ---------------------------------------------------------------------- MAX_FILE_SIZE = 100 * 1024 * 1024 # 100MB max file size MAX_PATH_LENGTH = 4096 # Maximum path length BLOCKED_EXTENSIONS = {'.exe', '.bat', '.cmd', '.com', '.scr', '.dll', '.so'} SENSITIVE_FILENAMES = {'passwd', 'shadow', 'hosts', '.ssh', '.env', 'id_rsa', 'id_dsa', 'private.key'}

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/undici77/MCPFileServer'

If you have feedback or need assistance with the MCP directory API, please join our Discord server