@trishchuk/ai-think-gate-mcp
Version:
Model Context Protocol (MCP) server that provides AI-powered thinking and code architecture tools
22 lines (21 loc) • 509 B
JavaScript
/**
* Types from the Model Context Protocol (MCP) that we use in our implementation
*/
/**
* Type guard to check if content is text content
*/
export function isTextContent(content) {
return content?.type === "text";
}
/**
* Type guard to check if content is image content
*/
export function isImageContent(content) {
return content?.type === "image";
}
/**
* Type guard to check if content is audio content
*/
export function isAudioContent(content) {
return content?.type === "audio";
}