Skip to content

Conversation

XinyueDu
Copy link
Contributor

@XinyueDu XinyueDu commented Sep 25, 2025

mcp 输出增加 _meta 内容,包括:
生成图表的 spec 数据,该 spec 为 mcp-server-chart 以及 GPT-Vis 的入参,使用其可直接生成图表。

输出参数如下:

{
  "success":true,
  "data": {
    "_meta": {
       "description":"Charts spec configuration, you can use this config to generate the corresponding chart.",
        "spec": {
         "type": "liquid",
        "percent": 0.65
       }
    },
    "content": [
      {
        "type": "text",
        "text": "https://",
      }
    ]
  }
}

@hustcc
Copy link
Member

hustcc commented Sep 25, 2025

pr 描述写一写,养成好习惯,中文写就可以了~

@XinyueDu XinyueDu merged commit 79d2651 into main Sep 26, 2025
1 check passed
@XinyueDu XinyueDu deleted the dev/add-config branch September 26, 2025 03:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants