UNPKG

@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.

29 lines (28 loc) 1.13 kB
import { z } from "zod"; import { type TreeDataType } from "../utils/validator"; export declare const FishboneNodeSchema: z.ZodType<TreeDataType>; export declare const fishboneDiagram: { schema: { data: z.ZodEffects<z.ZodType<TreeDataType, z.ZodTypeDef, TreeDataType>, TreeDataType, TreeDataType>; style: z.ZodOptional<z.ZodObject<{ texture: z.ZodDefault<z.ZodOptional<z.ZodEnum<["default", "rough"]>>>; }, "strip", z.ZodTypeAny, { texture: "default" | "rough"; }, { texture?: "default" | "rough" | undefined; }>>; theme: z.ZodDefault<z.ZodOptional<z.ZodEnum<["default", "academy", "dark"]>>>; 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; }; }; };