@digitalsamba/embedded-api-mcp-server
Version:
Digital Samba Embedded API MCP Server - Model Context Protocol server for Digital Samba's Embedded API
48 lines • 1.66 kB
TypeScript
/**
* Digital Samba MCP Server - Library Management Tools
*
* This module implements tools for managing content libraries within Digital Samba.
* It provides MCP tools for creating, updating, and managing libraries, folders, and files.
*
* Tools provided:
* - create-library: Create a new content library
* - update-library: Update library details
* - delete-library: Delete a library
* - create-library-folder: Create a folder in a library
* - update-library-folder: Update folder details
* - delete-library-folder: Delete a folder
* - create-library-file: Get upload URL for a new file
* - update-library-file: Update file details
* - delete-library-file: Delete a file
* - get-file-links: Get viewing/thumbnail links for a file
*
* @module tools/library-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 library management tools with the MCP SDK
*
* @returns {ToolDefinition[]} Array of tool definitions
*/
export declare function registerLibraryTools(): ToolDefinition[];
/**
* Execute a library 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 executeLibraryTool(toolName: string, params: any, apiClient: DigitalSambaApiClient): Promise<any>;
export {};
//# sourceMappingURL=index.d.ts.map