@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.
115 lines (114 loc) • 4.46 kB
TypeScript
import { z } from "zod";
export declare const organizationChart: {
schema: {
data: z.ZodObject<{
name: z.ZodString;
description: z.ZodOptional<z.ZodString>;
children: z.ZodOptional<z.ZodArray<z.ZodObject<{
name: z.ZodString;
description: z.ZodOptional<z.ZodString>;
children: z.ZodOptional<z.ZodArray<z.ZodObject<{
name: z.ZodString;
description: z.ZodOptional<z.ZodString>;
children: z.ZodOptional<z.ZodArray<z.ZodObject<{
name: z.ZodString;
description: z.ZodOptional<z.ZodString>;
}, "strip", z.ZodTypeAny, {
name: string;
description?: string | undefined;
}, {
name: string;
description?: string | undefined;
}>, "many">>;
}, "strip", z.ZodTypeAny, {
name: string;
description?: string | undefined;
children?: {
name: string;
description?: string | undefined;
}[] | undefined;
}, {
name: string;
description?: string | undefined;
children?: {
name: string;
description?: string | undefined;
}[] | undefined;
}>, "many">>;
}, "strip", z.ZodTypeAny, {
name: string;
description?: string | undefined;
children?: {
name: string;
description?: string | undefined;
children?: {
name: string;
description?: string | undefined;
}[] | undefined;
}[] | undefined;
}, {
name: string;
description?: string | undefined;
children?: {
name: string;
description?: string | undefined;
children?: {
name: string;
description?: string | undefined;
}[] | undefined;
}[] | undefined;
}>, "many">>;
}, "strip", z.ZodTypeAny, {
name: string;
description?: string | undefined;
children?: {
name: string;
description?: string | undefined;
children?: {
name: string;
description?: string | undefined;
children?: {
name: string;
description?: string | undefined;
}[] | undefined;
}[] | undefined;
}[] | undefined;
}, {
name: string;
description?: string | undefined;
children?: {
name: string;
description?: string | undefined;
children?: {
name: string;
description?: string | undefined;
children?: {
name: string;
description?: string | undefined;
}[] | undefined;
}[] | undefined;
}[] | undefined;
}>;
orient: z.ZodDefault<z.ZodEnum<["horizontal", "vertical"]>>;
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;
};
};
};