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.

35 lines (34 loc) 1.36 kB
import { z } from "zod"; export declare const liquid: { schema: { percent: z.ZodNumber; shape: z.ZodDefault<z.ZodOptional<z.ZodEnum<["circle", "rect", "pin", "triangle"]>>>; style: z.ZodOptional<z.ZodObject<{ backgroundColor: z.ZodOptional<z.ZodString>; texture: z.ZodDefault<z.ZodOptional<z.ZodEnum<["default", "rough"]>>>; color: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { texture: "default" | "rough"; backgroundColor?: string | undefined; color?: string | undefined; }, { backgroundColor?: string | undefined; texture?: "default" | "rough" | undefined; color?: string | 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>>; title: z.ZodDefault<z.ZodOptional<z.ZodString>>; }; 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; }; }; };