UNPKG

@wallacewen/dify-mcp-server

Version:

Model Context Protocol server for Dify AI integration - supports server management, monitoring, and system tools

16 lines (15 loc) 488 B
#!/usr/bin/env node import { McpServer } from '@modelcontextprotocol/sdk/server/mcp.js'; import { DifyChatParams } from './dify.js'; export declare const mcpServer: McpServer; /** * Handler for Dify chat messages * @param params Parameters for the Dify chat request * @returns Promise with the chat response containing only the answer */ export declare function handleDifyChat(params: DifyChatParams): Promise<{ content: { type: "text"; text: string; }[]; }>;