Skip to main content
Glama

ECharts MCP Server

by w2xi
general.jsβ€’536 B
// Helper function for deep merging objects function deepMerge(target, source) { const result = { ...target } for (const key in source) { if (source[key] && typeof source[key] === 'object' && !Array.isArray(source[key])) { result[key] = deepMerge(result[key] || {}, source[key]) } else { result[key] = source[key] } } return result } function parseJsonWithFunctions(jsonString) { return Function(`"use strict"; return ${jsonString}`)() } module.exports = { deepMerge, parseJsonWithFunctions, }

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/w2xi/echarts-mcp'

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