@umengfe/mcp-server-chart 0.0.1 → 0.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/build/server.js CHANGED
@@ -59,7 +59,8 @@ const logger_1 = require("./utils/logger.js");
59
59
  function createServer() {
60
60
  const server = new index_js_1.Server({
61
61
  name: "umeng-mcp-server-chart",
62
- version: "0.0.1",
62
+ version: "0.0.2",
63
+ description: "本工具返回内容为 Markdown 格式,建议客户端按 Markdown 渲染",
63
64
  }, {
64
65
  capabilities: {
65
66
  tools: {},
@@ -106,9 +106,7 @@ function callTool(tool_1) {
106
106
  content: [
107
107
  {
108
108
  type: "text",
109
- text: `\`\`\`vis-chart
110
- ${JSON.stringify(Object.assign({ type: chartType }, args))}
111
- \`\`\``,
109
+ text: `'\`\`\`vis-chart\n${JSON.stringify(Object.assign({ type: chartType }, args))}\n\`\`\`'`,
112
110
  },
113
111
  ],
114
112
  _meta: {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@umengfe/mcp-server-chart",
3
3
  "description": "A Model Context Protocol server for generating charts using AntV. This is a TypeScript-based MCP server that provides chart generation capabilities. It allows you to create various types of charts through MCP tools.",
4
- "version": "0.0.1",
4
+ "version": "0.0.2",
5
5
  "main": "build/index.js",
6
6
  "types": "build/index.d.ts",
7
7
  "exports": {