Publish @classroomio/mcp package

This commit is contained in:
Rotimi Best
2026-03-13 18:01:46 +01:00
parent 6e6f825e89
commit 77a1188573
9 changed files with 531 additions and 0 deletions
+13
View File
@@ -0,0 +1,13 @@
import { z } from 'zod';
const ZConfig = z.object({
CLASSROOMIO_API_URL: z.string().url(),
CLASSROOMIO_API_KEY: z.string().min(1),
CLASSROOMIO_USER_AGENT: z.string().min(1).default('classroomio-mcp/0.0.1')
});
export type McpServerConfig = z.infer<typeof ZConfig>;
export function getConfig(env: NodeJS.ProcessEnv = process.env): McpServerConfig {
return ZConfig.parse(env);
}