Server definition
- Hash
- sha256:e35105f99cf79bc80dad3cc5b2521e0ad4b7a5e3749f1fe4d33d199e74217d41
- What it is
- What a remote MCP server returned when asked what it offers: 4 tools
The blob, as servednamed by its sha256
{
"instructions": "stagenth 旗下「Excel 数据可视化」MCP 服务。客户端通过 Authorization: Bearer <API_TOKEN> 认证。每个工具在对应用户的上下文中执行,用户间数据隔离。提供工具:excel_inspect(查看表结构,免费)/ excel_to_chart(出图,按生成类计费)。把 Excel 渲染成柱/线/饼/散点/雷达等图表,产物存进文件中转站并返回 15 分钟有效下载 URL。",
"tools": [
{
"description": "查看 Excel 结构:各 sheet 的列名/类型/行数 + 前 N 行预览。免费(0 credit)。\n\n 出图前先调它看清有哪些 sheet、列、哪些列是数值,再据此选 chart_type 与 x/y。\n ",
"inputSchema": {
"properties": {
"data_base64": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Excel(.xlsx) 内容的 base64(与 file_id 二选一,适合未上传的临时数据)",
"title": "Data Base64"
},
"file_id": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null,
"description": "已上传到文件中转站的 Excel 文件 ID(与 data_base64 二选一)",
"title": "File Id"
},
"preview_rows": {
"default": 5,
"description": "每个 sheet 预览的前 N 行",
"maximum": 50,
"minimum": 0,
"title": "Preview Rows",
"type": "integer"
}
},
"title": "excel_inspectArguments",
"type": "object"
},
"name": "excel_inspect",
"outputSchema": null
},
{
"description": "查询 / 过滤 / 分组聚合 Excel,返回**实际数据行(JSON)**供 AI 直接分析(1 credit/次)。\n\n 取数工具,区别于 excel_to_chart(出图)和 excel_inspect(只看结构)。典型用法:\n · 各地区销售额合计:group_by=[\"地区\"], measures=[\"销售额\"], agg=\"sum\"\n · 销量 Top5 商品:group_by=[\"商品\"], measures=[\"销量\"], agg=\"sum\", sort_by=\"销量\", descending=true, limit=5\n · 每类别多少行:group_by=[\"类别\"], agg=\"count\"\n · 筛失败订单明细:filters=[{\"column\":\"状态\",\"op\":\"eq\",\"value\":\"失败\"}]\n 返回 {ok, sheet, mode, columns, total_rows, matched_rows, returned_rows, truncated, rows[]}。\n 失败自动退款。\n ",
"inputSchema": {
"properties": {
"agg": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "聚合方式 sum/avg/count/min/max/median(默认 sum;count=数每组行数、无需 measures)",
"title": "Agg"
},
"columns": {
"anyOf": [
{
"items": {
"type": "string"
},
"type": "array"
},
{
"type": "null"
}
],
"default": null,
"description": "明细模式:只返回这些列;缺省返回全部列",
"title": "Columns"
},
"data_base64": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Excel(.xlsx) 内容 base64(与 file_id 二选一)",
"title": "Data Base64"
},
"descending": {
"default": false,
"description": "降序排序(取 Top-N 常用 true)",
"title": "Descending",
"type": "boolean"
},
"file_id": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null,
"description": "已上传的 Excel 文件 ID(与 data_base64 二选一)",
"title": "File Id"
},
"filters": {
"anyOf": [
{
"items": {
"additionalProperties": true,
"type": "object"
},
"type": "array"
},
{
"type": "null"
}
],
"default": null,
"description": "行过滤条件(AND 组合),每项 {column, op, value}。op 可选:eq/ne/gt/ge/lt/le/contains/in/notnull/isnull。例:[{\"column\":\"地区\",\"op\":\"eq\",\"value\":\"华东\"},{\"column\":\"金额\",\"op\":\"ge\",\"value\":1000}]",
"title": "Filters"
},
"group_by": {
"anyOf": [
{
"items": {
"type": "string"
},
"type": "array"
},
{
"type": "null"
}
],
"default": null,
"description": "分组维度列。给了就进聚合模式:按这些列分组,对 measures 求 agg",
"title": "Group By"
},
"limit": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null,
"description": "最多返回多少行(取前 N / Top-N);硬上限 1000",
"title": "Limit"
},
"measures": {
"anyOf": [
{
"items": {
"type": "string"
},
"type": "array"
},
{
"type": "null"
}
],
"default": null,
"description": "聚合模式:要统计的数值列;缺省=所有数值列",
"title": "Measures"
},
"sheet": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "目标工作表名;缺省第一个 sheet。先用 excel_inspect 看列名",
"title": "Sheet"
},
"sort_by": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "按哪一列排序(可为分组后的 measure 或 count 列)",
"title": "Sort By"
}
},
"title": "excel_queryArguments",
"type": "object"
},
"name": "excel_query",
"outputSchema": null
},
{
"description": "把 Excel 数据渲染成图表,产物存进你的文件中转站并返回下载 URL。\n\n 计费(生成类):基础 3;高级图型 +2;矢量 SVG +1;大数据(>5000 行) +2。\n 调用失败自动退款。建议先 excel_inspect 看清列结构再出图。\n 返回: {ok, file_id, filename, format, credit_charged, download_url(15分钟有效),\n chart_type, sheet, rows}\n ",
"inputSchema": {
"properties": {
"agg": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "聚合方式 count/sum/avg;缺省智能默认(分布类 饼/环→count 数每类多少条,其余→sum)。看「分布/各类别占比」用 count,无需 y(如性别男女各几人);看「某数值在各类别的合计/平均」用 sum/avg 并给 y(如各地区销售额)。",
"title": "Agg"
},
"chart_type": {
"description": "图表类型。标准型(基础3 credit): bar/column/line/pie/scatter/area/barh; 高级型(+2): stacked_bar/grouped_bar/radar/heatmap/histogram/box/donut。",
"title": "Chart Type",
"type": "string"
},
"data_base64": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Excel(.xlsx) 内容 base64(与 file_id 二选一)",
"title": "Data Base64"
},
"file_id": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null,
"description": "已上传的 Excel 文件 ID(与 data_base64 二选一)",
"title": "File Id"
},
"fmt": {
"default": "png",
"description": "输出格式: png(默认) / svg(矢量, +1 credit)",
"title": "Fmt",
"type": "string"
},
"options": {
"anyOf": [
{
"additionalProperties": true,
"type": "object"
},
{
"type": "null"
}
],
"default": null,
"description": "可选渲染项, 如 {\"stacked\":true,\"bins\":30,\"cmap\":\"viridis\",\"dpi\":144}",
"title": "Options"
},
"series": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "可选分组列:按它把 y 透视成多系列(分组/堆叠/多线)",
"title": "Series"
},
"sheet": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "目标工作表名;缺省取第一个 sheet。先用 excel_inspect 查名字",
"title": "Sheet"
},
"title": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "图表标题",
"title": "Title"
},
"x": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "X 轴/类别列名(饼图=标签列);缺省取第一列",
"title": "X"
},
"y": {
"anyOf": [
{
"items": {
"type": "string"
},
"type": "array"
},
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Y 轴数值列名,可单个或多个(数组);缺省取所有数值列",
"title": "Y"
}
},
"required": [
"chart_type"
],
"title": "excel_to_chartArguments",
"type": "object"
},
"name": "excel_to_chart",
"outputSchema": null
},
{
"description": "把 JSON 数据写成 Excel 工作簿(.xlsx),落文件中转站返下载 URL(上限 20 万单元格)。\n\n 补上「只能读不能写」的缺口:AI 算完的结果一步落成正式 Excel 交付。失败自动退款。\n ",
"inputSchema": {
"properties": {
"columns": {
"anyOf": [
{
"items": {},
"type": "array"
},
{
"type": "null"
}
],
"default": null,
"description": "列名(rows 为行数组时必填;对象列表时忽略)",
"title": "Columns"
},
"filename": {
"default": "",
"description": "输出文件名(可选,自动补 .xlsx)",
"title": "Filename",
"type": "string"
},
"rows": {
"description": "数据行:对象列表 [{列:值},...],或行数组 [[v1,v2],...](需配 columns)",
"items": {},
"title": "Rows",
"type": "array"
},
"sheet_name": {
"default": "Sheet1",
"description": "工作表名",
"title": "Sheet Name",
"type": "string"
}
},
"required": [
"rows"
],
"title": "excel_writeArguments",
"type": "object"
},
"name": "excel_write",
"outputSchema": null
}
]
}Verify it yourself
curl -s https://api.teppi.xyz/v1/evidence/sha256:e35105f99cf79bc80dad3cc5b2521e0ad4b7a5e3749f1fe4d33d199e74217d41 | sha256sum