Skip to main content
Glama

CTS MCP Server

by EricA1019
trend_data_schema.ts881 B
/** * Zod Schemas for Performance Trend Data Validation * Time-series datasets for LOC, test count, and coverage metrics */ import { z } from 'zod'; /** * Single time-series data point */ export const TimeSeriesPointSchema = z.object({ timestamp: z.number().int().positive(), value: z.number(), metadata: z.record(z.unknown()).optional(), }); /** * Complete trend dataset with multiple time-series */ export const TrendDatasetSchema = z.object({ projectPath: z.string().min(1), startDate: z.number().int().positive(), endDate: z.number().int().positive(), weekCount: z.number().int().positive(), loc: z.array(TimeSeriesPointSchema), tests: z.array(TimeSeriesPointSchema), coverage: z.array(TimeSeriesPointSchema), }); export type TimeSeriesPoint = z.infer<typeof TimeSeriesPointSchema>; export type TrendDataset = z.infer<typeof TrendDatasetSchema>;

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/EricA1019/CTS_MCP'

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