hatch-slidev-builder-mcp
Version:
A comprehensive MCP server for creating Slidev presentations with component library, interactive elements, and team collaboration features
47 lines (46 loc) • 1.34 kB
TypeScript
/**
* Arguments for publishing a component to share with colleagues
*/
export interface PublishComponentArgs {
/** Component identifier to publish */
componentId: string;
/** Component directory path */
componentPath: string;
/** Target scope for publishing */
targetScope: 'hatch' | 'public';
/** Publishing options */
options?: {
/** Component version (semantic versioning) */
version?: string;
/** Release notes or changelog */
releaseNotes?: string;
/** Make component featured/promoted */
featured?: boolean;
/** Publishing method */
method?: 'registry' | 'package' | 'git' | 'share-link';
/** Additional metadata */
metadata?: {
author?: string;
tags?: string[];
documentation?: string;
examples?: string[];
};
};
}
/**
* Publish a component to make it available for colleagues to discover and use
* This tool packages and shares components through various distribution methods
*/
export declare function publishComponent(args: PublishComponentArgs): Promise<{
content: {
type: string;
text: string;
}[];
isError?: undefined;
} | {
content: {
type: string;
text: string;
}[];
isError: boolean;
}>;