modelscope·WTSolutions/JSON_to_Excel_MCP
JSON转Excel MCP(模型上下文协议)提供了一个标准化的接口,用于将JSON数据转换为CSV格式字符串。它包括两个工具:json_to_excel_mcp_from_data和json_to_excel_mcp_from_url,可以将JSON数据或来自URL的JSON文件转换为CSV格式。
The JSON to Excel MCP (Model Context Protocol) provides a standardized interface for converting JSON data into CSV format string using the Model Context Protocol. This MCP implementation offers two specific tools for data conversion:
JSON to Excel MCP is part of JSON to Excel toolkit by WTSolutions:
Available MCP Servers (SSE and Streamable HTTP):
Server Config JSON:
{
"mcpServers": {
"json_to_excel": {
"args": [
"mcp-remote",
"https://mcp2.wtsolutions.cn/sse",
"--transport",
"sse-only"
],
"command": "npx"
}
}
}
Transport: SSE
URL: https://mcp2.wtsolutions.cn/sse
Server Config JSON:
{
"mcpServers": {
"json2excelsse": {
"type": "sse",
"url": "https://mcp2.wtsolutions.cn/sse"
}
}
}
Transport: Streamable HTTP
URL: https://mcp2.wtsolutions.cn/mcp
Server Config JSON:
{
"mcpServers": {
"json2excelmcp": {
"type": "streamableHttp",
"url": "https://mcp2.wtsolutions.cn/mcp"
}
}
}
Converts JSON data string into CSV format string.
| Parameter | Type | Required | Description |
|---|---|---|---|
| data | string | Yes | JSON data string to be converted to CSV. Must be a valid JSON array or object. |
Note:
- Input data must be a valid JSON string. Validator available at JSON to Excel Web App.
- If the JSON is an array of objects, each object will be treated as a row in the CSV.
- If the JSON is a single object, it will be converted into a CSV with key-value pairs.
- The CSV will include headers based on the keys in the JSON objects.
- This tool returns CSV-formatted data that can be easily converted/imported to Excel.
Convert the following JSON data into CSV format:
[
{"Name": "John Doe", "Age": 25, "IsStudent": false},
{"Name": "Jane Smith", "Age": 30, "IsStudent": true}
]
Convert the following JSON object into CSV format:
{
"Name": "John Doe",
"Age": 25,
"IsStudent": false,
"Courses": ["Math", "Science"]
}
Converts JSON data from a provided URL into Excel data.
| Parameter | Type | Required | Description |
|---|---|---|---|
| url | string | Yes | URL pointing to a JSON file (.json) |
Note:
- The url should be publicly accessible.
- The JSON file should be in .json format.
- The JSON file should contain a valid JSON array or object. Validator available at JSON to Excel Web App.
- If the JSON is an array of objects, each object will be treated as a row in the CSV.
- If the JSON is a single object, it will be converted into a CSV with key-value pairs.
- This tool returns CSV-formatted data that can be easily converted/imported to Excel.
Convert JSON file to Excel, file URL: https://mcp.wtsolutions.cn/example.json
(applicable only when you do not have a URL and working with online AI LLM)
I've just uploaded one .json file to you, please extract its URL and send it to MCP tool 'json_to_excel_mcp_from_url', for JSON to Excel conversion.
The MCP tools return a JSON object with the following structure:
| Field | Type | Description |
|---|---|---|
| isError | boolean | Indicates if there was an error processing the request |
| msg | string | 'success' or error description |
| data | string | Converted CSV data string, '' if there was an error. This CSV data can be easily imported into Excel. |
{
"content": [{
"type": "text",
"text": "{\"isError\":false,\"msg\":\"success\",\"data\":\"Name,Age,IsStudent\nJohn Doe,25,false\nJane Smith,30,true\"}"
}]
}
Above is the response from MCP tool, and in most cases your LLM should interpret the response and present you with a JSON object, for example as below.
Note, different LLM models may have different ways to interpret the JSON object, so please check if the JSON object is correctly interpreted by your LLM model.
{
"isError": false,
"msg": "success",
"data": "Name,Age,IsStudent\nJohn Doe,2…
一个为大型语言模型(LLM)设计的、高可用的12306余票查询工具服务,现已搭载智能会话管理引擎。 12306-MCP-Server 将复杂的12306余票查询接口封装为符合 Model Context Protocol (MCP) 规范的工具集,允许AI Agent通过自然语言无缝查询实时火车票、中转换乘和经停站信息。 从 v1.0.0 版本开始,项目引入了全新的智能会话管理系统,通过会话池、动态User-Agent轮换和自动错误恢复机制,将服务的稳定性与反屏蔽能力提升至全新高度。
阿里云可观测 MCP服务,提供了一系列访问阿里云可观测各产品的工具能力,覆盖产品包含阿里云日志服务SLS、阿里云应用实时监控服务ARMS、阿里云云监控等,任意支持 MCP 协议的智能体助手都可快速接入。
自动从文本中识别并提取法律条文,例如在合同、案件描述或法律文书中,精准定位涉及的具体法律条文(如“《民法典》第585条”),并将文本中的法律问题与对应法条内容关联,提取法规名称的服务。
用于哔哩哔哩API的MCP服务器,支持视频搜索、用户内容获取等多种操作,适用于哔哩哔哩内容管理和数据分析场景。
看起来您想要翻译一份英文技术文档,但您提供的内容中只有"asd"这个字符串,并没有实际的文档内容。请提供需要翻译的具体英文技术文档文本,这样我才能帮助您进行准确的翻译。如果有特定部分或格式要求,请一并告知。
一座通过串行通信将物理硬件设备与人工智能大语言模型连接起来的桥梁,允许用户使用自然语言命令控制硬件。