-
Notifications
You must be signed in to change notification settings - Fork 454
Open
Open
Copy link
Labels
discussion welcomeWelcome to join the discussion togetherWelcome to join the discussion togetherenhancementNew feature or requestNew feature or request
Description
Search before asking
- I searched in the issues and found nothing similar.
Motivation
We would like to build an MCP (Model Context Protocol) based agent around Fesod so that its high‑performance spreadsheet (Excel) processing capabilities can be exposed as structured tools via an MCP server. This enables AI / LLM agents to perform spreadsheet analysis, automated data completion, querying, difference comparison, and workflow automation.
Solution
- Design and implement an MCP server adapter for Fesod supporting JSON-RPC over stdio (and optionally WebSocket/HTTP).
- Register typical spreadsheet operation tools, e.g.
list_sheets,read_sheet_range,analyze,update,diff,export, etc. - Support resource handles (workbook resourceId) to avoid repeated file loading.
- Return structured JSON outputs optimized for LLM / agent consumption, including truncation indicators and metadata.
- (Optional) Provide a declarative
transform_pipelinetool for multi-step data processing (read → filter → derive → aggregate → export). - Establish unified error codes and JSON Schemas for tool inputs/outputs for better LLM alignment.
- Introduce caching (LRU) and range limiting for performance and safety.
Alternatives
- Expose only a REST API wrapper around Fesod (less portable for emerging agent runtimes).
- Provide only language-specific SDKs (Java/Python), which increases integration friction for heterogeneous AI toolchains.
Anything else?
Recommend starting from a minimal viable set: open_workbook, list_sheets, read_sheet_range, analyze, then iteratively add query, diff, update, export, and finally transform_pipeline.
Are you willing to submit a PR?
- I'm willing to submit a PR!
delei
Metadata
Metadata
Assignees
Labels
discussion welcomeWelcome to join the discussion togetherWelcome to join the discussion togetherenhancementNew feature or requestNew feature or request