(dataSchema: T)
| 290 | export type RefreshMcpServerResult = z.output<typeof refreshMcpServerResultSchema> |
| 291 | |
| 292 | const mcpSuccessResponseSchema = <T extends z.ZodType>(dataSchema: T) => |
| 293 | z.object({ |
| 294 | success: z.literal(true), |
| 295 | data: dataSchema, |
| 296 | }) |
| 297 | |
| 298 | export const listMcpServersContract = defineRouteContract({ |
| 299 | method: 'GET', |