Skip to main content
Glama

MCP Server Chart

Official
charts.spec.ts590 B
import { describe, expect, it } from "vitest"; import * as expectedCharts from "."; import * as actualCharts from "../../src/charts"; describe("charts schema check", () => { // Get the chart names from the rightCharts module const chartNames = Object.keys(expectedCharts); // Create a separate test case for each chart for (const chartName of chartNames) { it(`should check schema for ${chartName} chart`, () => { const schema = actualCharts[chartName].tool; const rightChart = expectedCharts[chartName]; expect(schema).toEqual(rightChart); }); } });

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/antvis/mcp-server-chart'

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