We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/yaodebian/mermaid-lint-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server
types.ts•575 B
/**
* Result of Mermaid diagram validation
* Contains only basic validation status and error information
*/
export interface MermaidValidationResult {
/** Whether the diagram can be rendered successfully */
isValid: boolean;
/** Error message if validation fails (null if valid) */
error: string | null;
/** Type of Mermaid diagram if successfully parsed */
diagramType?: string;
}
/**
* Simple options for Mermaid validation
*/
export interface ValidationOptions {
/** Timeout for validation in milliseconds (default: 5000) */
timeout?: number;
}