About File Converter
File Converter is an MCP server in the Files category: a Model Context Protocol (MCP) server that empowers AI agents to convert images (PNG, JPG, WebP, AVIF) and structured data (JSON, CSV, YAML) through simple tool calls.
Install
git clone https://github.com/proflulab/documentassistantThis server has no ConduID identity, so agent calls to it are not receipted. Pin the version you install and review the source before granting it credentials.
Ask AI
Ask AI about File Converter
Powered by Claude · Grounded in docs
Security checks
- ✓README presentThe repository ships documentation.
5 checks have not been run yet.
README
DocumentAssistant
An MCP server built with Smithery.
Prerequisites
- Smithery API key: Get yours at smithery.ai/account/api-keys
Getting Started
-
Run the server:
uv run dev -
Test interactively:
uv run playground
Development
Your server code is in src/document_assistant/server.py. Add or update your server capabilities there.
Deploy
Ready to deploy? Push your code to GitHub and deploy to Smithery:
-
Create a new repository at github.com/new
-
Initialize git and push to GitHub:
git add . git commit -m "Initial commit" git remote add origin https://github.com/YOUR_USERNAME/YOUR_REPO.git git push -u origin main -
Deploy your server to Smithery at smithery.ai/new
本地使用指南
安装依赖
确保您已安装 Python 和必要的库。使用以下命令安装:
pip install -r requirements.txt # 如果有 requirements.txt 文件
或者使用 uv:
uv sync
运行服务器
- 运行开发服务器:
uv run dev
测试和互动
- 互动测试:
uv run playground
使用文件转换功能
- 在服务器运行时,使用 MCP 接口调用
convert_file工具。 - 参数: input_path (输入文件路径), target_format (目标格式, 如 'md', 'docx' 等)。
- 示例: convert_file("example.txt", "md") 将生成 example.md。
本地脚本使用
docx to pdf
python docx_to_pdf_converter.py "Lulab_优秀学员_Yang_Jinze.docx" "Lulab_优秀学员_Yang_Jinze.pdf"
README copy captured when this server was indexed; it may lag the repository. The original is authoritative.