mcp_documents_reader icon indicating copy to clipboard operation
mcp_documents_reader copied to clipboard

在Trae中使用这个mcp工具,无法读取文件,模型分析可能是缺少ctx参数

Open Mengyanduan opened this issue 8 months ago • 2 comments

  1. 前置环境:
  • 安装方式:在Trae中添加这个mcp工具,安装方式如下 { "mcpServers": { "mcp-document-reader": { "command": "uvx", "args": [ "mcp-documents-reader" ] } } }

  • 在对应的python环境中安装了相关的包:mcp-document-reader、mcp、Fastmcp包

  1. 报错信息如下:找不到绝对路径下的文件,pdf、word、excel、txt全都无法读取
Image

Mengyanduan avatar Mar 04 '26 10:03 Mengyanduan

非常感谢您提出这个bug! 在最新的1.3版本中,这个问题已被修复。 你可以卸载重装这个mcp,测试使用了!

xt765 avatar Mar 10 '26 02:03 xt765

Image

xt765 avatar Mar 10 '26 03:03 xt765