Skip to main content
Glama
TehilaTheStudent

Huawei CCE MCP Server

issue.ts1.38 kB
import { z } from 'zod'; // optional in schema export const GitLabLabelSchema = z.object({ id: z.number(), name: z.string(), color: z.string(), description: z.string().optional() // this key might be missing in some responses }); export const GitLabUserSchema = z.object({ username: z.string(), id: z.number(), name: z.string(), avatar_url: z.string(), web_url: z.string() }); export const GitLabMilestoneSchema = z.object({ id: z.number(), iid: z.number(), title: z.string(), description: z.string(), state: z.string(), web_url: z.string() }); // allow null, and nested objects in schema export const GitLabIssueSchema = z.object({ id: z.number(), iid: z.number(), project_id: z.number(), title: z.string(), description: z.string(), state: z.string(), author: GitLabUserSchema, assignees: z.array(GitLabUserSchema), labels: z.array(GitLabLabelSchema), milestone: GitLabMilestoneSchema.nullable(), created_at: z.string(), updated_at: z.string(), // the value of this key might be null in some responses closed_at: z.string().nullable(), web_url: z.string() }); export type GitLabLabel = z.infer<typeof GitLabLabelSchema>; export type GitLabUser = z.infer<typeof GitLabUserSchema>; export type GitLabMilestone = z.infer<typeof GitLabMilestoneSchema>; export type GitLabIssue = z.infer<typeof GitLabIssueSchema>;

Latest Blog Posts

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/TehilaTheStudent/try-cce-gitlab'

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