Skip to main content
Glama

MCP ECharts

graph.json3.52 kB
{ "name": "generate_graph_chart", "description": "Generate a network graph chart to show relationships (edges) between entities (nodes), such as, relationships between people in social networks.", "inputSchema": { "type": "object", "properties": { "data": { "type": "object", "properties": { "nodes": { "type": "array", "items": { "type": "object", "properties": { "id": { "type": "string", "description": "Unique identifier for the node." }, "name": { "type": "string", "description": "Display name of the node." }, "value": { "type": "number", "description": "Value associated with the node (affects size)." }, "category": { "type": "string", "description": "Category of the node (affects color)." } }, "required": ["id", "name"] }, "minItems": 1, "description": "Array of nodes in the network." }, "edges": { "type": "array", "items": { "type": "object", "properties": { "source": { "type": "string", "description": "Source node id." }, "target": { "type": "string", "description": "Target node id." }, "value": { "type": "number", "description": "Weight or value of the edge." } }, "required": ["source", "target"] }, "description": "Array of edges connecting nodes.", "default": [] } }, "required": ["nodes"], "description": "Data for network graph chart, such as, { nodes: [{ id: 'node1', name: 'Node 1' }], edges: [{ source: 'node1', target: 'node2' }] }" }, "height": { "type": "integer", "exclusiveMinimum": 0, "default": 600, "description": "Set the height of the chart, default is 600px." }, "layout": { "type": "string", "enum": ["force", "circular", "none"], "default": "force", "description": "Layout algorithm for the graph. Default is 'force'." }, "theme": { "type": "string", "enum": ["default", "dark"], "default": "default", "description": "Set the theme for the chart, optional, default is 'default'." }, "title": { "type": "string", "description": "Set the title of the chart." }, "width": { "type": "integer", "exclusiveMinimum": 0, "default": 800, "description": "Set the width of the chart, default is 800px." }, "outputType": { "type": "string", "enum": ["png", "svg", "option"], "default": "png", "description": "The output type of the diagram. Can be 'png', 'svg' or 'option'. Default is 'png', 'png' will return the rendered PNG image, 'svg' will return the rendered SVG string, and 'option' will return the valid ECharts option." } }, "required": ["data"], "$schema": "http://json-schema.org/draft-07/schema#" } }

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/hustcc/mcp-echarts'

If you have feedback or need assistance with the MCP directory API, please join our Discord server