alaahong opened a new issue, #613:
URL: https://github.com/apache/fesod/issues/613

   ### Search before asking
   
   - [x] I searched in the [issues](https://github.com/apache/fesod/issues) and 
found nothing similar.
   
   
   ### Motivation
   
   希望基于 Fesod 实现一个基于 MCP 协议的智能体(agent),使得 Fesod 的表格数据处理能力能够通过 MCP server 
以工具形式暴露,便于各类大模型智能体调用。这样可实现如表格分析、自动填报、数据查询等 AI 驱动场景。
   
   ### Solution
   
   1. 设计并实现 Fesod 的 MCP server 适配层,支持 JSON-RPC over stdio 或 HTTP/WebSocket。
   2. MCP 工具注册典型表格操作,如 list_sheets、read_sheet_range、analyze、update、diff、export 
等。
   3. 支持资源句柄,避免重复加载大文件。
   4. 输出结果结构化(JSON),并兼容大模型智能体的调用习惯。
   5. 可选支持流水线式 transform_pipeline。
   
   相关资料和示例可参考 OpenAI MCP、LangChain Tools 等实现。
   
   ### Alternatives
   
   1. 直接用 Fesod 提供的 REST API 封装,但不如 MCP 协议通用。
   2. 仅实现 Java SDK,不利于异构智能体集成。
   
   ### Anything else?
   
   建议优先实现最小可用集(open resource, list_sheets, read_sheet_range, analyze),并逐步扩展。
   如有需要,可提供更详细的 MCP server 设计建议和示例代码。
   
   ### Are you willing to submit a PR?
   
   - [ ] I'm willing to submit a PR!


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to