Skip to main content
Glama

QASE MCP Server

plans.ts1.03 kB
import { z } from 'zod'; import { client, toResult } from '../utils.js'; import { pipe } from 'ramda'; export const GetPlansSchema = z.object({ code: z.string(), limit: z.number().optional(), offset: z.number().optional(), }); export const GetPlanSchema = z.object({ code: z.string(), id: z.number(), }); export const CreatePlanSchema = z.object({ code: z.string(), title: z.string(), description: z.string().optional(), cases: z.array(z.number()), }); export const UpdatePlanSchema = z.object({ code: z.string(), id: z.number(), title: z.string().optional(), description: z.string().optional(), cases: z.array(z.number()).optional(), }); export const getPlans = pipe( client.plans.getPlans.bind(client.plans), toResult, ); export const getPlan = pipe(client.plans.getPlan.bind(client.plans), toResult); export const createPlan = pipe( client.plans.createPlan.bind(client.plans), toResult, ); export const updatePlan = pipe( client.plans.updatePlan.bind(client.plans), toResult, );

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/rikuson/mcp-qase'

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