Skip to main content
Glama

pdf-tools-mcp

config.py419 B
import re DATA_DIR = "data" allowed_prefixes = [ "merged_", "snippet_", # Add more prefixes here as needed ] # Join the prefixes with | for alternation and make the entire group optional prefix_pattern = f"(?:{'|'.join(re.escape(prefix) for prefix in allowed_prefixes)})?" uuid4_pdf_re = re.compile(f"^{prefix_pattern}[0-9a-f]{{8}}-[0-9a-f]{{4}}-4[0-9a-f]{{3}}-[89ab][0-9a-f]{{3}}-[0-9a-f]{{12}}\\.pdf$")

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/danielkennedy1/pdf-tools-mcp'

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