"use strict";
/*
 * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
 */
Object.defineProperty(exports, "__esModule", { value: true });
exports.createMCPServer = createMCPServer;
const mcp_js_1 = require("@modelcontextprotocol/sdk/server/mcp.js");
const core_js_1 = require("../core.js");
const prompts_js_1 = require("./prompts.js");
const resources_js_1 = require("./resources.js");
const tools_js_1 = require("./tools.js");
const academicSessionsCreate_js_1 = require("./tools/academicSessionsCreate.js");
const academicSessionsDelete_js_1 = require("./tools/academicSessionsDelete.js");
const academicSessionsGet_js_1 = require("./tools/academicSessionsGet.js");
const academicSessionsGetAll_js_1 = require("./tools/academicSessionsGetAll.js");
const academicSessionsUpdate_js_1 = require("./tools/academicSessionsUpdate.js");
const assessmentLineItemsCreate_js_1 = require("./tools/assessmentLineItemsCreate.js");
const assessmentLineItemsDelete_js_1 = require("./tools/assessmentLineItemsDelete.js");
const assessmentLineItemsGet_js_1 = require("./tools/assessmentLineItemsGet.js");
const assessmentLineItemsGetAll_js_1 = require("./tools/assessmentLineItemsGetAll.js");
const assessmentLineItemsUpdate_js_1 = require("./tools/assessmentLineItemsUpdate.js");
const assessmentResultsCreate_js_1 = require("./tools/assessmentResultsCreate.js");
const assessmentResultsDelete_js_1 = require("./tools/assessmentResultsDelete.js");
const assessmentResultsGet_js_1 = require("./tools/assessmentResultsGet.js");
const assessmentResultsGetAll_js_1 = require("./tools/assessmentResultsGetAll.js");
const assessmentResultsUpdate_js_1 = require("./tools/assessmentResultsUpdate.js");
const categoriesCreate_js_1 = require("./tools/categoriesCreate.js");
const categoriesDelete_js_1 = require("./tools/categoriesDelete.js");
const categoriesGet_js_1 = require("./tools/categoriesGet.js");
const categoriesGetAll_js_1 = require("./tools/categoriesGetAll.js");
const categoriesUpdate_js_1 = require("./tools/categoriesUpdate.js");
const classesAddStudent_js_1 = require("./tools/classesAddStudent.js");
const classesAddTeacher_js_1 = require("./tools/classesAddTeacher.js");
const classesCreate_js_1 = require("./tools/classesCreate.js");
const classesCreateResults_js_1 = require("./tools/classesCreateResults.js");
const classesDelete_js_1 = require("./tools/classesDelete.js");
const classesGet_js_1 = require("./tools/classesGet.js");
const classesGetAll_js_1 = require("./tools/classesGetAll.js");
const classesGetCategories_js_1 = require("./tools/classesGetCategories.js");
const classesGetScoreScales_js_1 = require("./tools/classesGetScoreScales.js");
const classesGetStudentResults_js_1 = require("./tools/classesGetStudentResults.js");
const classesGetStudents_js_1 = require("./tools/classesGetStudents.js");
const classesGetTeachers_js_1 = require("./tools/classesGetTeachers.js");
const classesListResources_js_1 = require("./tools/classesListResources.js");
const classesManagementGetLineItemsForClass_js_1 = require("./tools/classesManagementGetLineItemsForClass.js");
const classesResultsGet_js_1 = require("./tools/classesResultsGet.js");
const classesResultsGetForLineItem_js_1 = require("./tools/classesResultsGetForLineItem.js");
const classesUpdate_js_1 = require("./tools/classesUpdate.js");
const classResourcesDelete_js_1 = require("./tools/classResourcesDelete.js");
const classTeachersGetAll_js_1 = require("./tools/classTeachersGetAll.js");
const componentResourcesGetAll_js_1 = require("./tools/componentResourcesGetAll.js");
const courseClassesGetAll_js_1 = require("./tools/courseClassesGetAll.js");
const courseComponentsDelete_js_1 = require("./tools/courseComponentsDelete.js");
const courseComponentsGetAll_js_1 = require("./tools/courseComponentsGetAll.js");
const courseResourcesDelete_js_1 = require("./tools/courseResourcesDelete.js");
const coursesAssignResource_js_1 = require("./tools/coursesAssignResource.js");
const coursesCreate_js_1 = require("./tools/coursesCreate.js");
const coursesCreateComponent_js_1 = require("./tools/coursesCreateComponent.js");
const coursesCreateComponentResource_js_1 = require("./tools/coursesCreateComponentResource.js");
const coursesDelete_js_1 = require("./tools/coursesDelete.js");
const coursesDeleteComponentResource_js_1 = require("./tools/coursesDeleteComponentResource.js");
const coursesGet_js_1 = require("./tools/coursesGet.js");
const coursesGetAll_js_1 = require("./tools/coursesGetAll.js");
const coursesGetComponent_js_1 = require("./tools/coursesGetComponent.js");
const coursesGetComponentResource_js_1 = require("./tools/coursesGetComponentResource.js");
const coursesGetResources_js_1 = require("./tools/coursesGetResources.js");
const coursesUpdate_js_1 = require("./tools/coursesUpdate.js");
const coursesUpdateComponent_js_1 = require("./tools/coursesUpdateComponent.js");
const coursesUpdateComponentResource_js_1 = require("./tools/coursesUpdateComponentResource.js");
const demographicsCreate_js_1 = require("./tools/demographicsCreate.js");
const demographicsDelete_js_1 = require("./tools/demographicsDelete.js");
const demographicsGet_js_1 = require("./tools/demographicsGet.js");
const demographicsGetAll_js_1 = require("./tools/demographicsGetAll.js");
const demographicsUpdate_js_1 = require("./tools/demographicsUpdate.js");
const enrollmentsCreate_js_1 = require("./tools/enrollmentsCreate.js");
const enrollmentsDelete_js_1 = require("./tools/enrollmentsDelete.js");
const enrollmentsGet_js_1 = require("./tools/enrollmentsGet.js");
const enrollmentsGetAll_js_1 = require("./tools/enrollmentsGetAll.js");
const enrollmentsGetForClass_js_1 = require("./tools/enrollmentsGetForClass.js");
const enrollmentsUpdate_js_1 = require("./tools/enrollmentsUpdate.js");
const gradingPeriodsCreate_js_1 = require("./tools/gradingPeriodsCreate.js");
const gradingPeriodsCreateForTerm_js_1 = require("./tools/gradingPeriodsCreateForTerm.js");
const gradingPeriodsDelete_js_1 = require("./tools/gradingPeriodsDelete.js");
const gradingPeriodsGet_js_1 = require("./tools/gradingPeriodsGet.js");
const gradingPeriodsGetAll_js_1 = require("./tools/gradingPeriodsGetAll.js");
const gradingPeriodsUpdate_js_1 = require("./tools/gradingPeriodsUpdate.js");
const lineItemsCreate_js_1 = require("./tools/lineItemsCreate.js");
const lineItemsDelete_js_1 = require("./tools/lineItemsDelete.js");
const lineItemsGet_js_1 = require("./tools/lineItemsGet.js");
const lineItemsList_js_1 = require("./tools/lineItemsList.js");
const lineItemsUpdate_js_1 = require("./tools/lineItemsUpdate.js");
const organizationsCreate_js_1 = require("./tools/organizationsCreate.js");
const organizationsDelete_js_1 = require("./tools/organizationsDelete.js");
const organizationsGet_js_1 = require("./tools/organizationsGet.js");
const organizationsGetAll_js_1 = require("./tools/organizationsGetAll.js");
const organizationsUpdate_js_1 = require("./tools/organizationsUpdate.js");
const resourcesClassesAssign_js_1 = require("./tools/resourcesClassesAssign.js");
const resourcesCreate_js_1 = require("./tools/resourcesCreate.js");
const resourcesDelete_js_1 = require("./tools/resourcesDelete.js");
const resourcesGet_js_1 = require("./tools/resourcesGet.js");
const resourcesGetAll_js_1 = require("./tools/resourcesGetAll.js");
const resourcesUpdate_js_1 = require("./tools/resourcesUpdate.js");
const resultsCreate_js_1 = require("./tools/resultsCreate.js");
const resultsCreateForLineItem_js_1 = require("./tools/resultsCreateForLineItem.js");
const resultsDelete_js_1 = require("./tools/resultsDelete.js");
const resultsGet_js_1 = require("./tools/resultsGet.js");
const resultsGetAll_js_1 = require("./tools/resultsGetAll.js");
const resultsUpdate_js_1 = require("./tools/resultsUpdate.js");
const schoolLineItemsGet_js_1 = require("./tools/schoolLineItemsGet.js");
const schoolsCoursesGetAll_js_1 = require("./tools/schoolsCoursesGetAll.js");
const schoolsCreate_js_1 = require("./tools/schoolsCreate.js");
const schoolsDelete_js_1 = require("./tools/schoolsDelete.js");
const schoolsGet_js_1 = require("./tools/schoolsGet.js");
const schoolsGetAll_js_1 = require("./tools/schoolsGetAll.js");
const schoolsGetClasses_js_1 = require("./tools/schoolsGetClasses.js");
const schoolsGetEnrollments_js_1 = require("./tools/schoolsGetEnrollments.js");
const schoolsGetStudents_js_1 = require("./tools/schoolsGetStudents.js");
const schoolsGetTeachers_js_1 = require("./tools/schoolsGetTeachers.js");
const schoolsGetTerms_js_1 = require("./tools/schoolsGetTerms.js");
const schoolsLineItemsCreate_js_1 = require("./tools/schoolsLineItemsCreate.js");
const schoolsScoreScalesGet_js_1 = require("./tools/schoolsScoreScalesGet.js");
const schoolsUpdate_js_1 = require("./tools/schoolsUpdate.js");
const scoreScalesCreate_js_1 = require("./tools/scoreScalesCreate.js");
const scoreScalesDelete_js_1 = require("./tools/scoreScalesDelete.js");
const scoreScalesGet_js_1 = require("./tools/scoreScalesGet.js");
const scoreScalesList_js_1 = require("./tools/scoreScalesList.js");
const scoreScalesUpdate_js_1 = require("./tools/scoreScalesUpdate.js");
const studentsClassesGet_js_1 = require("./tools/studentsClassesGet.js");
const studentsGet_js_1 = require("./tools/studentsGet.js");
const studentsGetAll_js_1 = require("./tools/studentsGetAll.js");
const studentsGetForClass_js_1 = require("./tools/studentsGetForClass.js");
const teachersGet_js_1 = require("./tools/teachersGet.js");
const teachersGetAll_js_1 = require("./tools/teachersGetAll.js");
const teachersGetClasses_js_1 = require("./tools/teachersGetClasses.js");
const termsGet_js_1 = require("./tools/termsGet.js");
const termsGetClasses_js_1 = require("./tools/termsGetClasses.js");
const termsGetGradingPeriods_js_1 = require("./tools/termsGetGradingPeriods.js");
const termsList_js_1 = require("./tools/termsList.js");
const userResourcesRemove_js_1 = require("./tools/userResourcesRemove.js");
const usersAssignResource_js_1 = require("./tools/usersAssignResource.js");
const usersCreate_js_1 = require("./tools/usersCreate.js");
const usersDelete_js_1 = require("./tools/usersDelete.js");
const usersGet_js_1 = require("./tools/usersGet.js");
const usersGetAll_js_1 = require("./tools/usersGetAll.js");
const usersGetClasses_js_1 = require("./tools/usersGetClasses.js");
const usersGetResources_js_1 = require("./tools/usersGetResources.js");
const usersUpdate_js_1 = require("./tools/usersUpdate.js");
function createMCPServer(deps) {
    const server = new mcp_js_1.McpServer({
        name: "OneRoster",
        version: "0.5.0",
    });
    const client = new core_js_1.OneRosterCore({
        security: deps.security,
        serverURL: deps.serverURL,
        serverIdx: deps.serverIdx,
    });
    const scopes = new Set(deps.scopes);
    const allowedTools = deps.allowedTools && new Set(deps.allowedTools);
    const tool = (0, tools_js_1.createRegisterTool)(deps.logger, server, client, scopes, allowedTools);
    const resource = (0, resources_js_1.createRegisterResource)(deps.logger, server, client, scopes);
    const resourceTemplate = (0, resources_js_1.createRegisterResourceTemplate)(deps.logger, server, client, scopes);
    const prompt = (0, prompts_js_1.createRegisterPrompt)(deps.logger, server, client, scopes);
    const register = { tool, resource, resourceTemplate, prompt };
    void register; // suppress unused warnings
    tool(scoreScalesList_js_1.tool$scoreScalesList);
    tool(scoreScalesCreate_js_1.tool$scoreScalesCreate);
    tool(scoreScalesGet_js_1.tool$scoreScalesGet);
    tool(scoreScalesUpdate_js_1.tool$scoreScalesUpdate);
    tool(scoreScalesDelete_js_1.tool$scoreScalesDelete);
    tool(schoolsScoreScalesGet_js_1.tool$schoolsScoreScalesGet);
    tool(schoolsGetAll_js_1.tool$schoolsGetAll);
    tool(schoolsCreate_js_1.tool$schoolsCreate);
    tool(schoolsGet_js_1.tool$schoolsGet);
    tool(schoolsUpdate_js_1.tool$schoolsUpdate);
    tool(schoolsDelete_js_1.tool$schoolsDelete);
    tool(schoolsGetClasses_js_1.tool$schoolsGetClasses);
    tool(schoolsGetTerms_js_1.tool$schoolsGetTerms);
    tool(schoolsGetTeachers_js_1.tool$schoolsGetTeachers);
    tool(schoolsGetStudents_js_1.tool$schoolsGetStudents);
    tool(schoolsGetEnrollments_js_1.tool$schoolsGetEnrollments);
    tool(resultsGetAll_js_1.tool$resultsGetAll);
    tool(resultsCreate_js_1.tool$resultsCreate);
    tool(resultsGet_js_1.tool$resultsGet);
    tool(resultsUpdate_js_1.tool$resultsUpdate);
    tool(resultsDelete_js_1.tool$resultsDelete);
    tool(resultsCreateForLineItem_js_1.tool$resultsCreateForLineItem);
    tool(lineItemsList_js_1.tool$lineItemsList);
    tool(lineItemsCreate_js_1.tool$lineItemsCreate);
    tool(lineItemsGet_js_1.tool$lineItemsGet);
    tool(lineItemsUpdate_js_1.tool$lineItemsUpdate);
    tool(lineItemsDelete_js_1.tool$lineItemsDelete);
    tool(schoolLineItemsGet_js_1.tool$schoolLineItemsGet);
    tool(classesCreateResults_js_1.tool$classesCreateResults);
    tool(classesGetStudentResults_js_1.tool$classesGetStudentResults);
    tool(classesGetCategories_js_1.tool$classesGetCategories);
    tool(classesGetScoreScales_js_1.tool$classesGetScoreScales);
    tool(classesGetAll_js_1.tool$classesGetAll);
    tool(classesCreate_js_1.tool$classesCreate);
    tool(classesGet_js_1.tool$classesGet);
    tool(classesUpdate_js_1.tool$classesUpdate);
    tool(classesDelete_js_1.tool$classesDelete);
    tool(classesListResources_js_1.tool$classesListResources);
    tool(classesAddTeacher_js_1.tool$classesAddTeacher);
    tool(classesGetTeachers_js_1.tool$classesGetTeachers);
    tool(classesGetStudents_js_1.tool$classesGetStudents);
    tool(classesAddStudent_js_1.tool$classesAddStudent);
    tool(classesManagementGetLineItemsForClass_js_1.tool$classesManagementGetLineItemsForClass);
    tool(categoriesGetAll_js_1.tool$categoriesGetAll);
    tool(categoriesCreate_js_1.tool$categoriesCreate);
    tool(categoriesGet_js_1.tool$categoriesGet);
    tool(categoriesUpdate_js_1.tool$categoriesUpdate);
    tool(categoriesDelete_js_1.tool$categoriesDelete);
    tool(assessmentResultsGetAll_js_1.tool$assessmentResultsGetAll);
    tool(assessmentResultsCreate_js_1.tool$assessmentResultsCreate);
    tool(assessmentResultsGet_js_1.tool$assessmentResultsGet);
    tool(assessmentResultsUpdate_js_1.tool$assessmentResultsUpdate);
    tool(assessmentResultsDelete_js_1.tool$assessmentResultsDelete);
    tool(assessmentLineItemsGetAll_js_1.tool$assessmentLineItemsGetAll);
    tool(assessmentLineItemsCreate_js_1.tool$assessmentLineItemsCreate);
    tool(assessmentLineItemsGet_js_1.tool$assessmentLineItemsGet);
    tool(assessmentLineItemsUpdate_js_1.tool$assessmentLineItemsUpdate);
    tool(assessmentLineItemsDelete_js_1.tool$assessmentLineItemsDelete);
    tool(coursesGetResources_js_1.tool$coursesGetResources);
    tool(coursesAssignResource_js_1.tool$coursesAssignResource);
    tool(coursesGetAll_js_1.tool$coursesGetAll);
    tool(coursesCreate_js_1.tool$coursesCreate);
    tool(coursesGet_js_1.tool$coursesGet);
    tool(coursesUpdate_js_1.tool$coursesUpdate);
    tool(coursesDelete_js_1.tool$coursesDelete);
    tool(coursesCreateComponentResource_js_1.tool$coursesCreateComponentResource);
    tool(coursesGetComponentResource_js_1.tool$coursesGetComponentResource);
    tool(coursesUpdateComponentResource_js_1.tool$coursesUpdateComponentResource);
    tool(coursesDeleteComponentResource_js_1.tool$coursesDeleteComponentResource);
    tool(coursesCreateComponent_js_1.tool$coursesCreateComponent);
    tool(coursesGetComponent_js_1.tool$coursesGetComponent);
    tool(coursesUpdateComponent_js_1.tool$coursesUpdateComponent);
    tool(courseResourcesDelete_js_1.tool$courseResourcesDelete);
    tool(resourcesGetAll_js_1.tool$resourcesGetAll);
    tool(resourcesCreate_js_1.tool$resourcesCreate);
    tool(resourcesGet_js_1.tool$resourcesGet);
    tool(resourcesUpdate_js_1.tool$resourcesUpdate);
    tool(resourcesDelete_js_1.tool$resourcesDelete);
    tool(classResourcesDelete_js_1.tool$classResourcesDelete);
    tool(usersGetResources_js_1.tool$usersGetResources);
    tool(usersAssignResource_js_1.tool$usersAssignResource);
    tool(usersGetAll_js_1.tool$usersGetAll);
    tool(usersCreate_js_1.tool$usersCreate);
    tool(usersGet_js_1.tool$usersGet);
    tool(usersUpdate_js_1.tool$usersUpdate);
    tool(usersDelete_js_1.tool$usersDelete);
    tool(usersGetClasses_js_1.tool$usersGetClasses);
    tool(userResourcesRemove_js_1.tool$userResourcesRemove);
    tool(termsList_js_1.tool$termsList);
    tool(termsGet_js_1.tool$termsGet);
    tool(termsGetClasses_js_1.tool$termsGetClasses);
    tool(termsGetGradingPeriods_js_1.tool$termsGetGradingPeriods);
    tool(classTeachersGetAll_js_1.tool$classTeachersGetAll);
    tool(teachersGetAll_js_1.tool$teachersGetAll);
    tool(teachersGet_js_1.tool$teachersGet);
    tool(teachersGetClasses_js_1.tool$teachersGetClasses);
    tool(studentsGetForClass_js_1.tool$studentsGetForClass);
    tool(studentsGetAll_js_1.tool$studentsGetAll);
    tool(studentsGet_js_1.tool$studentsGet);
    tool(organizationsGetAll_js_1.tool$organizationsGetAll);
    tool(organizationsCreate_js_1.tool$organizationsCreate);
    tool(organizationsGet_js_1.tool$organizationsGet);
    tool(organizationsUpdate_js_1.tool$organizationsUpdate);
    tool(organizationsDelete_js_1.tool$organizationsDelete);
    tool(gradingPeriodsGetAll_js_1.tool$gradingPeriodsGetAll);
    tool(gradingPeriodsCreate_js_1.tool$gradingPeriodsCreate);
    tool(gradingPeriodsGet_js_1.tool$gradingPeriodsGet);
    tool(gradingPeriodsUpdate_js_1.tool$gradingPeriodsUpdate);
    tool(gradingPeriodsDelete_js_1.tool$gradingPeriodsDelete);
    tool(gradingPeriodsCreateForTerm_js_1.tool$gradingPeriodsCreateForTerm);
    tool(enrollmentsGetAll_js_1.tool$enrollmentsGetAll);
    tool(enrollmentsCreate_js_1.tool$enrollmentsCreate);
    tool(enrollmentsGet_js_1.tool$enrollmentsGet);
    tool(enrollmentsUpdate_js_1.tool$enrollmentsUpdate);
    tool(enrollmentsDelete_js_1.tool$enrollmentsDelete);
    tool(enrollmentsGetForClass_js_1.tool$enrollmentsGetForClass);
    tool(demographicsGetAll_js_1.tool$demographicsGetAll);
    tool(demographicsCreate_js_1.tool$demographicsCreate);
    tool(demographicsGet_js_1.tool$demographicsGet);
    tool(demographicsUpdate_js_1.tool$demographicsUpdate);
    tool(demographicsDelete_js_1.tool$demographicsDelete);
    tool(courseClassesGetAll_js_1.tool$courseClassesGetAll);
    tool(componentResourcesGetAll_js_1.tool$componentResourcesGetAll);
    tool(courseComponentsGetAll_js_1.tool$courseComponentsGetAll);
    tool(courseComponentsDelete_js_1.tool$courseComponentsDelete);
    tool(academicSessionsGetAll_js_1.tool$academicSessionsGetAll);
    tool(academicSessionsCreate_js_1.tool$academicSessionsCreate);
    tool(academicSessionsGet_js_1.tool$academicSessionsGet);
    tool(academicSessionsUpdate_js_1.tool$academicSessionsUpdate);
    tool(academicSessionsDelete_js_1.tool$academicSessionsDelete);
    tool(schoolsLineItemsCreate_js_1.tool$schoolsLineItemsCreate);
    tool(schoolsCoursesGetAll_js_1.tool$schoolsCoursesGetAll);
    tool(classesResultsGetForLineItem_js_1.tool$classesResultsGetForLineItem);
    tool(classesResultsGet_js_1.tool$classesResultsGet);
    tool(resourcesClassesAssign_js_1.tool$resourcesClassesAssign);
    tool(studentsClassesGet_js_1.tool$studentsClassesGet);
    return server;
}
//# sourceMappingURL=server.js.map