// Common types for the spec workflow MCP server
// Helper function to convert ToolResponse to MCP format
export function toMCPResponse(response, isError = false) {
    return {
        content: [{
                type: "text",
                text: JSON.stringify(response, null, 2)
            }],
        isError
    };
}
//# sourceMappingURL=types.js.map