UNPKG

frappe-mcp-server

Version:

Enhanced Model Context Protocol server for Frappe Framework with comprehensive API instructions and helper tools

63 lines (62 loc) 1.6 kB
import { McpServer } from "@modelcontextprotocol/sdk/server/mcp.js"; export declare const SCHEMA_TOOLS: ({ name: string; description: string; inputSchema: { type: string; properties: { doctype: { type: string; description: string; }; fieldname?: undefined; filters?: undefined; workflow?: undefined; }; required: string[]; }; } | { name: string; description: string; inputSchema: { type: string; properties: { doctype: { type: string; description: string; }; fieldname: { type: string; description: string; }; filters: { type: string; description: string; additionalProperties: boolean; }; workflow?: undefined; }; required: string[]; }; } | { name: string; description: string; inputSchema: { type: string; properties: { doctype: { type: string; description: string; }; workflow: { type: string; description: string; }; fieldname?: undefined; filters?: undefined; }; required: never[]; }; })[]; export declare function handleSchemaToolCall(request: any): Promise<any>; export declare function setupSchemaTools(server: McpServer): void;