11# Any2Markdown MCP Server
22
3- [ ![ Python Version] ( https://img.shields.io/badge/python-3.9%2B -blue.svg )] ( https://python.org )
4- [ ![ MCP Protocol] ( https://img.shields.io/badge/MCP-1.10 %2B-green.svg )] ( https://modelcontextprotocol.io/ )
3+ [ ![ Python Version] ( https://img.shields.io/badge/python-3.10--3.13 -blue.svg )] ( https://python.org )
4+ [ ![ MCP Protocol] ( https://img.shields.io/badge/MCP-1.26 %2B-green.svg )] ( https://modelcontextprotocol.io/ )
55[ ![ License] ( https://img.shields.io/badge/license-MIT-blue.svg )] ( LICENSE )
66[ ![ Build Status] ( https://img.shields.io/badge/build-passing-brightgreen.svg )] ( )
77
@@ -32,7 +32,7 @@ A high-performance document conversion server that supports both **Model Context
3232## 🚀 Quick Start
3333
3434### Prerequisites
35- - Python 3.9+
35+ - Python 3.10 - 3.13 (validated on Python 3.13; 3.14 is not recommended yet)
3636- 4GB+ RAM (for AI models)
3737- 10GB+ disk space (for model cache)
3838
@@ -43,12 +43,15 @@ A high-performance document conversion server that supports both **Model Context
4343git clone https://github.com/WW-AI-Lab/any2markdown.git
4444cd any2markdown
4545
46- # Create virtual environment
47- python -m venv .venv
46+ # Create virtual environment (Python 3.13 recommended)
47+ python3.13 -m venv .venv
4848source .venv/bin/activate # On Windows: .venv\Scripts\activate
4949
50- # Install dependencies
51- pip install -r requirements.txt
50+ # Install dependencies (Huawei mirror by default)
51+ PIP_CONFIG_FILE=.pip/pip.conf pip install -r requirements.txt
52+
53+ # Or use one-command bootstrap
54+ ./scripts/setup_venv.sh
5255```
5356
5457### Quick Start
@@ -110,8 +113,8 @@ python run_server.py
110113# Test RESTful API
111114python test_restful_api.py
112115
113- # Test MCP Protocol
114- python test_streamable_client.py
116+ # Test MCP Protocol (official SDK, streamable-http)
117+ python test_streamable_client.py ~ /Downloads/测试翻译_1_1_translate.docx
115118
116119# Check service status
117120./scripts/deploy.sh status
@@ -349,7 +352,7 @@ pytest --cov=src/any2markdown_mcp --cov-report=html
349352
350353# Test specific functionality
351354python test_restful_api.py # REST API tests
352- python test_streamable_client.py # MCP protocol tests
355+ python test_streamable_client.py ~ /Downloads/测试翻译_1_1_translate.docx # MCP protocol tests
353356```
354357
355358## 📊 Performance
@@ -432,4 +435,4 @@ This project is licensed under the MIT License - see the [LICENSE](LICENSE) file
432435
433436---
434437
435- ** Made with ❤️ by the Any2Markdown team**
438+ ** Made with ❤️ by the Any2Markdown team**
0 commit comments