{"$schema":"https://wellknown.network/schemas/agent-record-v1.json","schemaVersion":"1","id":"ag_fjewds5ab32b","handle":"iflow-mcp-qitianfeng-document-reader-mcp","url":"https://wellknown.network/agents/iflow-mcp-qitianfeng-document-reader-mcp","links":{"self":"https://wellknown.network/agents/iflow-mcp-qitianfeng-document-reader-mcp/record.json","html":"https://wellknown.network/agents/iflow-mcp-qitianfeng-document-reader-mcp","markdown":"https://wellknown.network/agents/iflow-mcp-qitianfeng-document-reader-mcp/record.md","api":"https://wellknown.network/api/v1/agents/iflow-mcp-qitianfeng-document-reader-mcp","status":"https://wellknown.network/api/v1/agents/iflow-mcp-qitianfeng-document-reader-mcp/status","claim":"https://wellknown.network/agents/iflow-mcp-qitianfeng-document-reader-mcp/claim","claimApi":"https://wellknown.network/api/v1/claims","claimDescriptor":"https://wellknown.network/agents/iflow-mcp-qitianfeng-document-reader-mcp/claim.json","badge":"https://wellknown.network/agents/iflow-mcp-qitianfeng-document-reader-mcp/badge.svg","openapi":"https://wellknown.network/openapi.json","history":"https://wellknown.network/api/v1/agents/iflow-mcp-qitianfeng-document-reader-mcp/history","tools":"https://wellknown.network/api/v1/agents/iflow-mcp-qitianfeng-document-reader-mcp/tools"},"ard":{"identifier":"urn:air::server:iflow-mcp-qitianfeng-document-reader-mcp","type":"application/mcp-server-card+json"},"kind":"mcp_server","declared":{"name":"iflow-mcp_qitianfeng-document-reader-mcp","summary":"MCP服务器用于读取各种文档格式 (Word, PDF, TXT, RTF等)","description":"# 文档阅读器 MCP 服务器\n\n一个支持多种文档格式的 Model Context Protocol (MCP) 服务器，可以读取 Word、PDF、文本文件、RTF 等格式，并提供图片提取与分析功能。\n\n## 🚀 快速开始\n\n### 1. 安装依赖\n\n```bash\n# 方式1：使用安装脚本（推荐）\npython install_deps.py\n\n# 方式2：手动安装\npip install -r requirements.txt\n```\n\n### 2. 启动服务器\n\n```bash\npython server.py\n```\n\n### 3. 配置 Kiro IDE\n\n在 Kiro IDE 中创建或编辑 `.kiro/settings/mcp.json` 文件：\n\n**方式1：简化配置（推荐）**\n```json\n{\n  \"mcpServers\": {\n    \"document-reader\": {\n      \"command\": \"python\",\n      \"args\": [\"server.py\"],\n      \"cwd\": \"D:\\\\your-path\\\\document-reader-mcp\",\n      \"env\": {\n        \"PYTHONIOENCODING\": \"utf-8\"\n      },\n      \"disabled\": false,\n      \"autoApprove\": [\n        \"list_supported_formats\",\n        \"get_document_info\",\n        \"read_document\",\n        \"read_document_with_media\"\n      ]\n    }\n  }\n}\n```\n\n**方式2：完整路径配置**\n```json\n{\n  \"mcpServers\": {\n    \"document-reader\": {\n      \"command\": \"python\",\n      \"args\": [\"D:\\\\devolp\\\\code1\\\\document-reader-mcp-master\\\\document-reader-mcp\\\\server.py\"],\n      \"cwd\": \"D:\\\\devolp\\\\code1\\\\document-reader-mcp-master\\\\document-reader-mcp\",\n      \"env\": {\n        \"PYTHONPATH\": \"D:\\\\devolp\\\\code1\\\\document-reader-mcp-master\\\\document-reader-mcp\",\n        \"PYTHONIOENCODING\": \"utf-8\"\n      },\n      \"disabled\": false,\n      \"autoApprove\": [\n        \"list_supported_formats\",\n        \"get_document_info\",\n        \"read_document\",\n        \"read_document_with_media\"\n      ]\n    }\n  }\n}\n```\n\n**配置说明：**\n- `cwd`: 项目根目录路径\n- `PYTHONPATH`: 确保模块导入正常（方式2需要）\n- `PYTHONIOENCODING`: 确保中文字符正确显示\n- `autoApprove`: 自动批准的安全工具列表，减少确认步骤\n\n### 4. 测试功能\n\n```bash\n# 测试图表分析\npython simple_diagram_reader.py\n\n# 测试核心功能\npython test_core_features.py\n```\n\n## ✨ 核心功能\n\n- **多格式文档读取**: 支持 Word (.docx)、PDF、Excel (.xlsx/.xls)、文本文件、RTF 等格式\n- **图片提取与分析**: 自动提取文档中的图片并进行结构分析\n- **图表内容理解**: 基于 OpenCV 分析流程图、架构图等技术图表\n- **媒体信息提取**: 提取文档中的图片和链接信息\n- **链接验证**: 自动检查文档中链接的有效性\n- **页面范围选择**: PDF 文档支持指定页面范围读取\n\n## 🛠️ MCP 工具\n\n### `read_document_\n增强阅读文档，同时提取文字和图片内容\n- `file_path`: 文\n息\n\n### `extract_documen`\n提取文档中的图片和链接\n- `file_path`: 文档路径\n- `sa…","publisher":null,"homepage":"https://github.com/qitianfeng/document-reader-mcp","repository":"https://github.com/qitianfeng/document-reader-mcp","version":"1.0.0","license":"MIT","protocols":["mcp"],"tags":["mcp"],"pricing":null,"endpoints":[{"url":"pypi:iflow-mcp_qitianfeng-document-reader-mcp","type":"package_pypi","auth":null,"probeable":false}],"skills":null,"tools":null,"extra":null,"attribution":{"kind":"pypi","name":"pypi","license":"pypi","repoUrl":"pypi","summary":"pypi","version":"pypi","description":"pypi","homepageUrl":"pypi"}},"derived":{"capabilities":[{"slug":"documents.spreadsheets","name":"Spreadsheets","confidence":0.745,"provenance":"derived"}],"categories":["documents"],"language":"en"},"observed":{"status":"unknown","statusReason":"Distributed as a package to run locally; no network endpoint to check.","lastOkAt":null,"lastProbedAt":null,"statusComputedAt":null,"reliability30d":null,"latestObservations":[],"tools":null,"package":{"name":"iflow-mcp_qitianfeng-document-reader-mcp","registry":"pypi","observedAt":"2026-10-28T06:24:18.680Z","publishedAt":"2026-02-07T09:21:47.022377Z","latestVersion":"1.0.0"},"toolSurface":null,"endpointFacts":[]},"verification":{"claimed":false,"claimedAt":null,"proofs":[]},"provenance":{"sources":[{"source":"pypi","key":"iflow-mcp_qitianfeng-document-reader-mcp","url":"https://pypi.org/project/iflow-mcp_qitianfeng-document-reader-mcp/","firstSeenAt":"2026-09-09T20:25:19.536Z","fetchedAt":"2026-10-28T06:22:47.665Z","normalizedAt":"2026-10-28T06:22:47.665Z"}]},"firstSeenAt":"2026-09-09T20:25:19.536Z","updatedAt":"2026-10-28T06:24:18.680Z"}