Back to Home
IBM icon

mcp-context-forge

Verified Safe

by IBM

Overview

Converts web content (HTML, PDF, DOCX, etc.) and local files from a URL into high-quality Markdown format. It supports multiple conversion engines, content optimization, batch processing, and image handling.

Installation

Run Command
python -m url_to_markdown_server.server_fastmcp

Environment Variables

  • MCP_WRAPPER_LOG_LEVEL (sets logging level if run via mcpgateway.wrapper in stdio mode)
  • HOST (for HTTP transport, defaults to 0.0.0.0)
  • PORT (for HTTP transport, defaults to 8080)
  • TRANSPORT (sets the transport type: stdio, http, sse, defaults to stdio)

Security Notes

The project demonstrates a robust, multi-layered approach to security. It includes extensive input validation to prevent common web vulnerabilities (XSS, path traversal, SQL injection) and integrates a high-performance Rust-based PII filter for sensitive data masking. Secrets are managed via environment variables and strong encryption (Argon2id, Fernet). Comprehensive logging and auditing are in place. The main security consideration is the use of 'subprocess.run' for external document conversion tools (like pypandoc, PyMuPDF). While the gateway applies strong input validation, there's an inherent, albeit mitigated, risk if an undiscovered vulnerability exists in these external tools or their invocation parameters are not perfectly sanitized after passing through all layers. However, given the deep validation within the `mcpgateway` framework, this risk is assessed as low.

Similar Servers

Stats

Interest Score100
Security Score9
Cost ClassLow
Avg Tokens6000
Stars3113
Forks470
Last Update2026-01-19

Tags

URL conversionMarkdownContent extractionFile processingDocument conversionWeb scrapingFastMCPPII filtering