AgentStack
Browse Sign in
Browse Why AgentStack Sell Docs
Sign in
MCP verified MIT Self-run

Markdownify Mcp Utf8

mcp-jdjr2024-markdownify-mcp-utf8 · by JDJR2024

MCP Markdownify Server with UTF-8 Support - Enhanced version with better multilingual handling

No reviews yet
0 installs
0 views
view→install

Install

$ agentstack add mcp-jdjr2024-markdownify-mcp-utf8

✓ scanned · ✓ verified, works with Claude Code, Cursor, and more.

Security review

✓ Passed

No issues found. Passed automated security review. · v0.1.0 How review works →

  • Prompt-injection patterns
  • Secret / credential exfiltration
  • Dangerous shell & filesystem operations
  • Untrusted network calls
  • Known-malicious package signatures

What it can access

  • Network access No
  • Filesystem access No
  • Shell / process execution No
  • Environment & secrets No
  • Dynamic code execution No

From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.

View the full security report →

Verified badge

Passed review? Show it. Paste this badge into your README, it links to the public security report.

AgentStack Verified badge Links to your public security report.
[![AgentStack Verified](https://agentstack.voostack.com/badges/verified.svg)](https://agentstack.voostack.com/security/report/mcp-jdjr2024-markdownify-mcp-utf8)

Reliability & compatibility

Security review passed
0 installs to date
no reviews yet
stale · 1y ago

Declared compatibility

Claude CodeClaude DesktopCursorWindsurf

Compatibility is declared by the source manifest. End-to-end runtime verification is coming, see below.

Preview Execution monitoring

We're building live execution health for every listing: tool-call success rate, median latency, uptime, and last-checked timestamps, measured, not self-reported. It isn't live yet, so we don't show numbers we can't stand behind.

How agent discovery & health will work →
Are you the author of Markdownify Mcp Utf8? Claim this listing to set pricing, connect Stripe payouts, and keep 70% of every sale.
Sign up to claim

About

Markdownify MCP Server - UTF-8 Enhanced

This is an enhanced version of the original Markdownify MCP project, with improved UTF-8 encoding support and optimized handling of multilingual content.

[中文文档](README-CN.md)

Enhancements

  • Added comprehensive UTF-8 encoding support
  • Optimized handling of multilingual content
  • Fixed encoding issues on Windows systems
  • Improved error handling mechanisms

Key Differences from Original Project

  1. Enhanced Encoding Support:
  • Full UTF-8 support across all operations
  • Proper handling of Chinese, Japanese, Korean and other non-ASCII characters
  • Fixed Windows-specific encoding issues (cmd.exe and PowerShell compatibility)
  1. Improved Error Handling:
  • Detailed error messages in both English and Chinese
  • Better exception handling for network issues
  • Graceful fallback mechanisms for conversion failures
  1. Extended Functionality:
  • Added support for batch processing multiple files
  • Enhanced YouTube video transcript handling
  • Improved metadata extraction from various file formats
  • Better preservation of document formatting
  1. Performance Optimizations:
  • Optimized memory usage for large file conversions
  • Faster processing of multilingual content
  • Reduced dependency conflicts
  1. Better Development Experience:
  • Comprehensive debugging options
  • Detailed logging system
  • Environment-specific configuration support
  • Clear documentation in both English and Chinese

Features

Supports converting various file types to Markdown:

  • PDF files
  • Images (with metadata)
  • Audio (with transcription)
  • Word documents (DOCX)
  • Excel spreadsheets (XLSX)
  • PowerPoint presentations (PPTX)
  • Web content:
  • YouTube video transcripts
  • Search results
  • General web pages
  • Existing Markdown files

Quick Start

  1. Clone this repository:

``bash git clone https://github.com/JDJR2024/markdownify-mcp-utf8.git cd markdownify-mcp-utf8 ``

  1. Install dependencies:

``bash pnpm install ` Note: This will also install uv` and related Python dependencies.

  1. Build the project:

``bash pnpm run build ``

  1. Start the server:

``bash pnpm start ``

Requirements

  • Node.js 16.0 or higher
  • Python 3.8 or higher
  • pnpm package manager
  • Git

Detailed Installation Guide

1. Environment Setup

  1. Install Node.js:
  1. Install pnpm:

``bash npm install -g pnpm pnpm --version ``

  1. Install Python:
  • Download from Python official website
  • Ensure Python is added to PATH during installation
  • Verify installation: python --version
  1. (Windows Only) Configure UTF-8 Support:

``bash # Set system-wide UTF-8 setx PYTHONIOENCODING UTF-8 # Set current session UTF-8 set PYTHONIOENCODING=UTF-8 # Enable UTF-8 in command prompt chcp 65001 ``

2. Project Setup

  1. Clone the repository:

``bash git clone https://github.com/JDJR2024/markdownify-mcp-utf8.git cd markdownify-mcp-utf8 ``

  1. Create and activate Python virtual environment:

```bash # Windows python -m venv .venv .venv\Scripts\activate

# Linux/macOS python3 -m venv .venv source .venv/bin/activate ```

  1. Install project dependencies:

```bash # Install Node.js dependencies pnpm install

# Install Python dependencies (will be handled by setup.sh) ./setup.sh ```

  1. Build the project:

``bash pnpm run build ``

3. Verification

  1. Start the server:

``bash pnpm start ``

  1. Test the installation:

```bash # Convert a web page python convert_utf8.py "https://example.com"

# Convert a local file python convert_utf8.py "path/to/your/file.docx" ```

Usage Guide

Basic Usage

  1. Converting Web Pages:

``bash python convert_utf8.py "https://example.com" ` The converted markdown will be saved as converted_result.md`

  1. Converting Local Files:

```bash # Convert DOCX python convert_utf8.py "document.docx"

# Convert PDF python convert_utf8.py "document.pdf"

# Convert PowerPoint python convert_utf8.py "presentation.pptx"

# Convert Excel python convert_utf8.py "spreadsheet.xlsx" ```

  1. Converting YouTube Videos:

``bash python convert_utf8.py "https://www.youtube.com/watch?v=VIDEO_ID" ``

Advanced Usage

  1. Environment Variables:

```bash # Set custom UV path export UV_PATH="/custom/path/to/uv"

# Set custom output directory export MARKDOWNOUTPUTDIR="/custom/output/path" ```

  1. Batch Processing:

Create a batch file (e.g., convert_batch.txt) with URLs or file paths: ``text https://example1.com https://example2.com file1.docx file2.pdf ` Then run: `bash while read -r line; do python convert_utf8.py "$line"; done < convert_batch.txt ``

Troubleshooting

  1. Common Issues:
  • If you see encoding errors, ensure UTF-8 is properly set
  • For permission issues on Windows, run as Administrator
  • For Python path issues, ensure virtual environment is activated
  1. Debugging:

``bash # Enable debug output export DEBUG=true python convert_utf8.py "your_file.docx" ``

Usage

Command Line

Convert web page to Markdown:

python convert_utf8.py "https://example.com"

Convert local file:

python convert_utf8.py "path/to/your/file.docx"

Desktop App Integration

To integrate this server with a desktop app, add the following to your app's server configuration:

{
  "mcpServers": {
    "markdownify": {
      "command": "node",
      "args": [
        "{ABSOLUTE_PATH}/dist/index.js"
      ],
      "env": {
        "UV_PATH": "/path/to/uv"
      }
    }
  }
}

Troubleshooting

  1. Encoding Issues
  • If you encounter character encoding issues, ensure the PYTHONIOENCODING environment variable is set to utf-8
  • Windows users may need to run chcp 65001 to enable UTF-8 support
  1. Permission Issues
  • Ensure you have sufficient file read/write permissions
  • On Windows, you may need to run as administrator

Acknowledgments

This project is based on the original work by Zach Caceres. Thanks to the original author for their outstanding contribution.

License

This project continues to be licensed under the MIT License. See the [LICENSE](LICENSE) file for details.

Contributing

Contributions are welcome! Before submitting a Pull Request, please:

  1. Ensure your code follows the project's coding standards
  2. Add necessary tests and documentation
  3. Update relevant sections in the README

Contact

For issues or suggestions:

  1. Submit an Issue: https://github.com/JDJR2024/markdownify-mcp-utf8/issues
  2. Create a Pull Request: https://github.com/JDJR2024/markdownify-mcp-utf8/pulls
  3. Email: jdidndosmmxmx@gmail.com

Source & license

This open-source MCP server is cataloged on AgentStack and links to its original source — we do not rehost the code.

Install and usage instructions live in the source repository linked above.

Reviews

No reviews yet, be the first.

Versions

  • v0.1.0 Imported from the upstream source.