@grebyn/toolflow-mcp-server
Version:
MCP server for managing other MCP servers - discover, install, organize into bundles, and automate with workflows. Uses StreamableHTTP transport with dual OAuth/API key authentication.
33 lines • 924 B
TypeScript
/**
* Shared formatting functions for consistent responses across tools
*/
import { ToolResult } from '../types.js';
export interface PaginationInfo {
limit: number;
offset: number;
totalResults: number;
}
export interface SearchInfo {
query?: string;
}
/**
* Format empty results message with consistent tips
*/
export declare function formatEmptyResults(searchInfo: SearchInfo, itemType: 'bundles' | 'workflows'): ToolResult;
/**
* Format pagination information
*/
export declare function formatPaginationInfo(pagination: PaginationInfo): string;
/**
* Format next steps section
*/
export declare function formatNextSteps(itemType: 'bundles' | 'workflows'): string;
/**
* Common date formatter
*/
export declare function formatDate(dateString: string): string;
/**
* Format tags for display
*/
export declare function formatTags(tags: string[]): string;
//# sourceMappingURL=formatters.d.ts.map