@antv/mcp-server-chart
Version:
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.
26 lines (25 loc) • 803 B
TypeScript
import { z } from "zod";
export declare const pathMap: {
schema: {
title: z.ZodString;
data: z.ZodArray<z.ZodObject<{
data: z.ZodArray<z.ZodString, "atleastone">;
}, "strip", z.ZodTypeAny, {
data: [string, ...string[]];
}, {
data: [string, ...string[]];
}>, "atleastone">;
width: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
height: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
};
tool: {
name: string;
description: string;
inputSchema: import("zod-to-json-schema").JsonSchema7Type & {
$schema?: string | undefined;
definitions?: {
[key: string]: import("zod-to-json-schema").JsonSchema7Type;
} | undefined;
};
};
};