A Model Context Protocol server for OpsHub integration.
npm install
npm run dev
open http://localhost:3000
This application uses Microsoft Authentication Library (MSAL) with client credentials flow to authenticate API requests. To set up authentication:
- Register an application in Azure Active Directory
- Create a client secret for the application
- Set the following environment variables:
MSAL_CLIENT_ID=your-client-id
MSAL_TENANT_ID=your-tenant-id
MSAL_CLIENT_SECRET=your-client-secret
- Update the API_SCOPE in src/tools.ts to match your API's scope:
const API_SCOPE = ["api://your-api-id/.default"];The server provides the following tool endpoints:
get-deliverables: Get deliverables by project and/or deliverable nameget-kards: Get kards with various filtering optionsget-leave-allocations: Get leave allocations by member, year, and/or leave typeget-projects: Get projects by code and/or client