@digitalsamba/embedded-api-mcp-server
Version:
Digital Samba Embedded API MCP Server - Model Context Protocol server for Digital Samba's Embedded API
44 lines • 1.43 kB
TypeScript
/**
* Digital Samba MCP Server - Webhook Management Tools
*
* This module implements tools for managing webhooks in Digital Samba.
* It provides MCP tools for creating, updating, deleting webhooks and managing webhook events.
*
* Tools provided:
* - list-webhook-events: List all available webhook events
* - list-webhooks: List all configured webhooks
* - create-webhook: Create a new webhook
* - get-webhook: Get specific webhook details
* - update-webhook: Update webhook configuration
* - delete-webhook: Delete a webhook
*
* @module tools/webhook-management
* @author Digital Samba Team
* @version 1.0.0
*/
import { DigitalSambaApiClient } from "../../digital-samba-api.js";
/**
* Tool definition interface
*/
interface ToolDefinition {
name: string;
description: string;
inputSchema: any;
}
/**
* Register webhook management tools
*
* @returns {ToolDefinition[]} Array of tool definitions
*/
export declare function registerWebhookTools(): ToolDefinition[];
/**
* Execute a webhook management tool
*
* @param {string} toolName - Name of the tool to execute
* @param {any} params - Tool parameters
* @param {DigitalSambaApiClient} apiClient - API client instance
* @returns {Promise<any>} Tool execution result
*/
export declare function executeWebhookTool(toolName: string, params: any, apiClient: DigitalSambaApiClient): Promise<any>;
export {};
//# sourceMappingURL=index.d.ts.map