Skip to main content
Glama

Lulu Print MCP Server

by devlimelabs
validation-tools.ts1 kB
import { McpServer } from '@modelcontextprotocol/sdk/server/mcp.js'; import { z } from 'zod'; import apiClient from '../utils/api-client.js'; import { createErrorResponse } from '../utils/error-handler.js'; // Schemas for input validation const ValidateInteriorSchema = z.object({ file_url: z.string().url(), pod_package_id: z.string().optional() }); const ValidationIdSchema = z.object({ validation_id: z.string() }); const CoverDimensionsSchema = z.object({ pod_package_id: z.string(), page_count: z.number().int().positive(), unit: z.enum(['IN', 'MM', 'PT']).optional() }); const ValidateCoverSchema = z.object({ file_url: z.string().url(), pod_package_id: z.string(), page_count: z.number().int().positive() }); export const registerValidationTools = (server: McpServer) => { // Validation tools are handled directly in server.ts using the API client // This file is kept for potential future expansion and custom validation logic }; export default registerValidationTools;

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/devlimelabs/lulu-print-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server