@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.
18 lines (17 loc) • 613 B
TypeScript
import { Server } from "@modelcontextprotocol/sdk/server/index.js";
/**
* Creates and configures an MCP server for chart generation.
*/
export declare function createServer(): Server;
/**
* Runs the server with stdio transport.
*/
export declare function runStdioServer(): Promise<void>;
/**
* Runs the server with SSE transport.
*/
export declare function runSSEServer(host?: string, port?: number, endpoint?: string): Promise<void>;
/**
* Runs the server with HTTP streamable transport.
*/
export declare function runHTTPStreamableServer(host?: string, port?: number, endpoint?: string): Promise<void>;