@vm3jack/mcp-server-azure-devops 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +21 -0
- package/README.md +265 -0
- package/dist/clients/azure-devops.d.ts +105 -0
- package/dist/clients/azure-devops.js +501 -0
- package/dist/clients/azure-devops.js.map +1 -0
- package/dist/clients/azure-devops.spec.unit.d.ts +1 -0
- package/dist/clients/azure-devops.spec.unit.js +42 -0
- package/dist/clients/azure-devops.spec.unit.js.map +1 -0
- package/dist/features/organizations/__test__/test-helpers.d.ts +13 -0
- package/dist/features/organizations/__test__/test-helpers.js +38 -0
- package/dist/features/organizations/__test__/test-helpers.js.map +1 -0
- package/dist/features/organizations/index.d.ts +13 -0
- package/dist/features/organizations/index.js +63 -0
- package/dist/features/organizations/index.js.map +1 -0
- package/dist/features/organizations/index.spec.unit.d.ts +1 -0
- package/dist/features/organizations/index.spec.unit.js +106 -0
- package/dist/features/organizations/index.spec.unit.js.map +1 -0
- package/dist/features/organizations/list-organizations/feature.d.ts +13 -0
- package/dist/features/organizations/list-organizations/feature.js +101 -0
- package/dist/features/organizations/list-organizations/feature.js.map +1 -0
- package/dist/features/organizations/list-organizations/feature.spec.int.d.ts +1 -0
- package/dist/features/organizations/list-organizations/feature.spec.int.js +34 -0
- package/dist/features/organizations/list-organizations/feature.spec.int.js.map +1 -0
- package/dist/features/organizations/list-organizations/feature.spec.unit.d.ts +1 -0
- package/dist/features/organizations/list-organizations/feature.spec.unit.js +115 -0
- package/dist/features/organizations/list-organizations/feature.spec.unit.js.map +1 -0
- package/dist/features/organizations/list-organizations/index.d.ts +2 -0
- package/dist/features/organizations/list-organizations/index.js +19 -0
- package/dist/features/organizations/list-organizations/index.js.map +1 -0
- package/dist/features/organizations/list-organizations/schema.d.ts +2 -0
- package/dist/features/organizations/list-organizations/schema.js +6 -0
- package/dist/features/organizations/list-organizations/schema.js.map +1 -0
- package/dist/features/organizations/schemas.d.ts +6 -0
- package/dist/features/organizations/schemas.js +10 -0
- package/dist/features/organizations/schemas.js.map +1 -0
- package/dist/features/organizations/tool-definitions.d.ts +5 -0
- package/dist/features/organizations/tool-definitions.js +16 -0
- package/dist/features/organizations/tool-definitions.js.map +1 -0
- package/dist/features/organizations/types.d.ts +21 -0
- package/dist/features/organizations/types.js +8 -0
- package/dist/features/organizations/types.js.map +1 -0
- package/dist/features/pipelines/artifacts.d.ts +11 -0
- package/dist/features/pipelines/artifacts.js +288 -0
- package/dist/features/pipelines/artifacts.js.map +1 -0
- package/dist/features/pipelines/artifacts.spec.unit.d.ts +1 -0
- package/dist/features/pipelines/artifacts.spec.unit.js +103 -0
- package/dist/features/pipelines/artifacts.spec.unit.js.map +1 -0
- package/dist/features/pipelines/download-pipeline-artifact/feature.d.ts +3 -0
- package/dist/features/pipelines/download-pipeline-artifact/feature.js +222 -0
- package/dist/features/pipelines/download-pipeline-artifact/feature.js.map +1 -0
- package/dist/features/pipelines/download-pipeline-artifact/feature.spec.unit.d.ts +1 -0
- package/dist/features/pipelines/download-pipeline-artifact/feature.spec.unit.js +65 -0
- package/dist/features/pipelines/download-pipeline-artifact/feature.spec.unit.js.map +1 -0
- package/dist/features/pipelines/download-pipeline-artifact/index.d.ts +2 -0
- package/dist/features/pipelines/download-pipeline-artifact/index.js +19 -0
- package/dist/features/pipelines/download-pipeline-artifact/index.js.map +1 -0
- package/dist/features/pipelines/download-pipeline-artifact/schema.d.ts +17 -0
- package/dist/features/pipelines/download-pipeline-artifact/schema.js +23 -0
- package/dist/features/pipelines/download-pipeline-artifact/schema.js.map +1 -0
- package/dist/features/pipelines/get-pipeline/feature.d.ts +10 -0
- package/dist/features/pipelines/get-pipeline/feature.js +46 -0
- package/dist/features/pipelines/get-pipeline/feature.js.map +1 -0
- package/dist/features/pipelines/get-pipeline/feature.spec.int.d.ts +1 -0
- package/dist/features/pipelines/get-pipeline/feature.spec.int.js +54 -0
- package/dist/features/pipelines/get-pipeline/feature.spec.int.js.map +1 -0
- package/dist/features/pipelines/get-pipeline/feature.spec.unit.d.ts +1 -0
- package/dist/features/pipelines/get-pipeline/feature.spec.unit.js +89 -0
- package/dist/features/pipelines/get-pipeline/feature.spec.unit.js.map +1 -0
- package/dist/features/pipelines/get-pipeline/index.d.ts +2 -0
- package/dist/features/pipelines/get-pipeline/index.js +19 -0
- package/dist/features/pipelines/get-pipeline/index.js.map +1 -0
- package/dist/features/pipelines/get-pipeline/schema.d.ts +17 -0
- package/dist/features/pipelines/get-pipeline/schema.js +29 -0
- package/dist/features/pipelines/get-pipeline/schema.js.map +1 -0
- package/dist/features/pipelines/get-pipeline-log/feature.d.ts +3 -0
- package/dist/features/pipelines/get-pipeline-log/feature.js +57 -0
- package/dist/features/pipelines/get-pipeline-log/feature.js.map +1 -0
- package/dist/features/pipelines/get-pipeline-log/feature.spec.unit.d.ts +1 -0
- package/dist/features/pipelines/get-pipeline-log/feature.spec.unit.js +81 -0
- package/dist/features/pipelines/get-pipeline-log/feature.spec.unit.js.map +1 -0
- package/dist/features/pipelines/get-pipeline-log/index.d.ts +2 -0
- package/dist/features/pipelines/get-pipeline-log/index.js +19 -0
- package/dist/features/pipelines/get-pipeline-log/index.js.map +1 -0
- package/dist/features/pipelines/get-pipeline-log/schema.d.ts +26 -0
- package/dist/features/pipelines/get-pipeline-log/schema.js +40 -0
- package/dist/features/pipelines/get-pipeline-log/schema.js.map +1 -0
- package/dist/features/pipelines/get-pipeline-run/feature.d.ts +3 -0
- package/dist/features/pipelines/get-pipeline-run/feature.js +76 -0
- package/dist/features/pipelines/get-pipeline-run/feature.js.map +1 -0
- package/dist/features/pipelines/get-pipeline-run/feature.spec.unit.d.ts +1 -0
- package/dist/features/pipelines/get-pipeline-run/feature.spec.unit.js +156 -0
- package/dist/features/pipelines/get-pipeline-run/feature.spec.unit.js.map +1 -0
- package/dist/features/pipelines/get-pipeline-run/index.d.ts +2 -0
- package/dist/features/pipelines/get-pipeline-run/index.js +19 -0
- package/dist/features/pipelines/get-pipeline-run/index.js.map +1 -0
- package/dist/features/pipelines/get-pipeline-run/schema.d.ts +14 -0
- package/dist/features/pipelines/get-pipeline-run/schema.js +19 -0
- package/dist/features/pipelines/get-pipeline-run/schema.js.map +1 -0
- package/dist/features/pipelines/helpers.d.ts +3 -0
- package/dist/features/pipelines/helpers.js +29 -0
- package/dist/features/pipelines/helpers.js.map +1 -0
- package/dist/features/pipelines/index.d.ts +19 -0
- package/dist/features/pipelines/index.js +156 -0
- package/dist/features/pipelines/index.js.map +1 -0
- package/dist/features/pipelines/index.spec.unit.d.ts +1 -0
- package/dist/features/pipelines/index.spec.unit.js +223 -0
- package/dist/features/pipelines/index.spec.unit.js.map +1 -0
- package/dist/features/pipelines/list-pipeline-runs/feature.d.ts +3 -0
- package/dist/features/pipelines/list-pipeline-runs/feature.js +98 -0
- package/dist/features/pipelines/list-pipeline-runs/feature.js.map +1 -0
- package/dist/features/pipelines/list-pipeline-runs/feature.spec.unit.d.ts +1 -0
- package/dist/features/pipelines/list-pipeline-runs/feature.spec.unit.js +148 -0
- package/dist/features/pipelines/list-pipeline-runs/feature.spec.unit.js.map +1 -0
- package/dist/features/pipelines/list-pipeline-runs/index.d.ts +2 -0
- package/dist/features/pipelines/list-pipeline-runs/index.js +19 -0
- package/dist/features/pipelines/list-pipeline-runs/index.js.map +1 -0
- package/dist/features/pipelines/list-pipeline-runs/schema.d.ts +35 -0
- package/dist/features/pipelines/list-pipeline-runs/schema.js +50 -0
- package/dist/features/pipelines/list-pipeline-runs/schema.js.map +1 -0
- package/dist/features/pipelines/list-pipelines/feature.d.ts +10 -0
- package/dist/features/pipelines/list-pipelines/feature.js +42 -0
- package/dist/features/pipelines/list-pipelines/feature.js.map +1 -0
- package/dist/features/pipelines/list-pipelines/feature.spec.int.d.ts +1 -0
- package/dist/features/pipelines/list-pipelines/feature.spec.int.js +36 -0
- package/dist/features/pipelines/list-pipelines/feature.spec.int.js.map +1 -0
- package/dist/features/pipelines/list-pipelines/feature.spec.unit.d.ts +1 -0
- package/dist/features/pipelines/list-pipelines/feature.spec.unit.js +91 -0
- package/dist/features/pipelines/list-pipelines/feature.spec.unit.js.map +1 -0
- package/dist/features/pipelines/list-pipelines/index.d.ts +2 -0
- package/dist/features/pipelines/list-pipelines/index.js +19 -0
- package/dist/features/pipelines/list-pipelines/index.js.map +1 -0
- package/dist/features/pipelines/list-pipelines/schema.d.ts +17 -0
- package/dist/features/pipelines/list-pipelines/schema.js +23 -0
- package/dist/features/pipelines/list-pipelines/schema.js.map +1 -0
- package/dist/features/pipelines/pipeline-timeline/feature.d.ts +3 -0
- package/dist/features/pipelines/pipeline-timeline/feature.js +95 -0
- package/dist/features/pipelines/pipeline-timeline/feature.js.map +1 -0
- package/dist/features/pipelines/pipeline-timeline/feature.spec.unit.d.ts +1 -0
- package/dist/features/pipelines/pipeline-timeline/feature.spec.unit.js +100 -0
- package/dist/features/pipelines/pipeline-timeline/feature.spec.unit.js.map +1 -0
- package/dist/features/pipelines/pipeline-timeline/index.d.ts +2 -0
- package/dist/features/pipelines/pipeline-timeline/index.js +19 -0
- package/dist/features/pipelines/pipeline-timeline/index.js.map +1 -0
- package/dist/features/pipelines/pipeline-timeline/schema.d.ts +23 -0
- package/dist/features/pipelines/pipeline-timeline/schema.js +51 -0
- package/dist/features/pipelines/pipeline-timeline/schema.js.map +1 -0
- package/dist/features/pipelines/tool-definitions.d.ts +5 -0
- package/dist/features/pipelines/tool-definitions.js +66 -0
- package/dist/features/pipelines/tool-definitions.js.map +1 -0
- package/dist/features/pipelines/trigger-pipeline/feature.d.ts +10 -0
- package/dist/features/pipelines/trigger-pipeline/feature.js +65 -0
- package/dist/features/pipelines/trigger-pipeline/feature.js.map +1 -0
- package/dist/features/pipelines/trigger-pipeline/feature.spec.int.d.ts +1 -0
- package/dist/features/pipelines/trigger-pipeline/feature.spec.int.js +85 -0
- package/dist/features/pipelines/trigger-pipeline/feature.spec.int.js.map +1 -0
- package/dist/features/pipelines/trigger-pipeline/feature.spec.unit.d.ts +1 -0
- package/dist/features/pipelines/trigger-pipeline/feature.spec.unit.js +112 -0
- package/dist/features/pipelines/trigger-pipeline/feature.spec.unit.js.map +1 -0
- package/dist/features/pipelines/trigger-pipeline/index.d.ts +2 -0
- package/dist/features/pipelines/trigger-pipeline/index.js +8 -0
- package/dist/features/pipelines/trigger-pipeline/index.js.map +1 -0
- package/dist/features/pipelines/trigger-pipeline/schema.d.ts +41 -0
- package/dist/features/pipelines/trigger-pipeline/schema.js +45 -0
- package/dist/features/pipelines/trigger-pipeline/schema.js.map +1 -0
- package/dist/features/pipelines/types.d.ts +122 -0
- package/dist/features/pipelines/types.js +3 -0
- package/dist/features/pipelines/types.js.map +1 -0
- package/dist/features/projects/__test__/test-helpers.d.ts +13 -0
- package/dist/features/projects/__test__/test-helpers.js +35 -0
- package/dist/features/projects/__test__/test-helpers.js.map +1 -0
- package/dist/features/projects/get-project/feature.d.ts +11 -0
- package/dist/features/projects/get-project/feature.js +29 -0
- package/dist/features/projects/get-project/feature.js.map +1 -0
- package/dist/features/projects/get-project/feature.spec.int.d.ts +1 -0
- package/dist/features/projects/get-project/feature.spec.int.js +39 -0
- package/dist/features/projects/get-project/feature.spec.int.js.map +1 -0
- package/dist/features/projects/get-project/feature.spec.unit.d.ts +1 -0
- package/dist/features/projects/get-project/feature.spec.unit.js +41 -0
- package/dist/features/projects/get-project/feature.spec.unit.js.map +1 -0
- package/dist/features/projects/get-project/index.d.ts +2 -0
- package/dist/features/projects/get-project/index.js +19 -0
- package/dist/features/projects/get-project/index.js.map +1 -0
- package/dist/features/projects/get-project/schema.d.ts +2 -0
- package/dist/features/projects/get-project/schema.js +6 -0
- package/dist/features/projects/get-project/schema.js.map +1 -0
- package/dist/features/projects/get-project-details/feature.d.ts +78 -0
- package/dist/features/projects/get-project-details/feature.js +185 -0
- package/dist/features/projects/get-project-details/feature.js.map +1 -0
- package/dist/features/projects/get-project-details/feature.spec.int.d.ts +1 -0
- package/dist/features/projects/get-project-details/feature.spec.int.js +120 -0
- package/dist/features/projects/get-project-details/feature.spec.int.js.map +1 -0
- package/dist/features/projects/get-project-details/feature.spec.unit.d.ts +1 -0
- package/dist/features/projects/get-project-details/feature.spec.unit.js +379 -0
- package/dist/features/projects/get-project-details/feature.spec.unit.js.map +1 -0
- package/dist/features/projects/get-project-details/index.d.ts +2 -0
- package/dist/features/projects/get-project-details/index.js +8 -0
- package/dist/features/projects/get-project-details/index.js.map +1 -0
- package/dist/features/projects/get-project-details/schema.d.ts +2 -0
- package/dist/features/projects/get-project-details/schema.js +6 -0
- package/dist/features/projects/get-project-details/schema.js.map +1 -0
- package/dist/features/projects/index.d.ts +15 -0
- package/dist/features/projects/index.js +80 -0
- package/dist/features/projects/index.js.map +1 -0
- package/dist/features/projects/index.spec.unit.d.ts +1 -0
- package/dist/features/projects/index.spec.unit.js +131 -0
- package/dist/features/projects/index.spec.unit.js.map +1 -0
- package/dist/features/projects/list-projects/feature.d.ts +10 -0
- package/dist/features/projects/list-projects/feature.js +25 -0
- package/dist/features/projects/list-projects/feature.js.map +1 -0
- package/dist/features/projects/list-projects/feature.spec.int.d.ts +1 -0
- package/dist/features/projects/list-projects/feature.spec.int.js +54 -0
- package/dist/features/projects/list-projects/feature.spec.int.js.map +1 -0
- package/dist/features/projects/list-projects/index.d.ts +2 -0
- package/dist/features/projects/list-projects/index.js +19 -0
- package/dist/features/projects/list-projects/index.js.map +1 -0
- package/dist/features/projects/list-projects/schema.d.ts +2 -0
- package/dist/features/projects/list-projects/schema.js +6 -0
- package/dist/features/projects/list-projects/schema.js.map +1 -0
- package/dist/features/projects/schemas.d.ts +64 -0
- package/dist/features/projects/schemas.js +76 -0
- package/dist/features/projects/schemas.js.map +1 -0
- package/dist/features/projects/tool-definitions.d.ts +5 -0
- package/dist/features/projects/tool-definitions.js +26 -0
- package/dist/features/projects/tool-definitions.js.map +1 -0
- package/dist/features/projects/types.d.ts +11 -0
- package/dist/features/projects/types.js +3 -0
- package/dist/features/projects/types.js.map +1 -0
- package/dist/features/pull-requests/add-pull-request-comment/feature.d.ts +13 -0
- package/dist/features/pull-requests/add-pull-request-comment/feature.js +130 -0
- package/dist/features/pull-requests/add-pull-request-comment/feature.js.map +1 -0
- package/dist/features/pull-requests/add-pull-request-comment/feature.spec.int.d.ts +1 -0
- package/dist/features/pull-requests/add-pull-request-comment/feature.spec.int.js +186 -0
- package/dist/features/pull-requests/add-pull-request-comment/feature.spec.int.js.map +1 -0
- package/dist/features/pull-requests/add-pull-request-comment/feature.spec.unit.d.ts +1 -0
- package/dist/features/pull-requests/add-pull-request-comment/feature.spec.unit.js +259 -0
- package/dist/features/pull-requests/add-pull-request-comment/feature.spec.unit.js.map +1 -0
- package/dist/features/pull-requests/add-pull-request-comment/index.d.ts +1 -0
- package/dist/features/pull-requests/add-pull-request-comment/index.js +18 -0
- package/dist/features/pull-requests/add-pull-request-comment/index.js.map +1 -0
- package/dist/features/pull-requests/create-pull-request/feature.d.ts +12 -0
- package/dist/features/pull-requests/create-pull-request/feature.js +99 -0
- package/dist/features/pull-requests/create-pull-request/feature.js.map +1 -0
- package/dist/features/pull-requests/create-pull-request/feature.spec.int.d.ts +1 -0
- package/dist/features/pull-requests/create-pull-request/feature.spec.int.js +111 -0
- package/dist/features/pull-requests/create-pull-request/feature.spec.int.js.map +1 -0
- package/dist/features/pull-requests/create-pull-request/feature.spec.unit.d.ts +1 -0
- package/dist/features/pull-requests/create-pull-request/feature.spec.unit.js +112 -0
- package/dist/features/pull-requests/create-pull-request/feature.spec.unit.js.map +1 -0
- package/dist/features/pull-requests/create-pull-request/index.d.ts +2 -0
- package/dist/features/pull-requests/create-pull-request/index.js +19 -0
- package/dist/features/pull-requests/create-pull-request/index.js.map +1 -0
- package/dist/features/pull-requests/create-pull-request/schema.d.ts +2 -0
- package/dist/features/pull-requests/create-pull-request/schema.js +6 -0
- package/dist/features/pull-requests/create-pull-request/schema.js.map +1 -0
- package/dist/features/pull-requests/get-pull-request/feature.d.ts +6 -0
- package/dist/features/pull-requests/get-pull-request/feature.js +22 -0
- package/dist/features/pull-requests/get-pull-request/feature.js.map +1 -0
- package/dist/features/pull-requests/get-pull-request/feature.spec.int.d.ts +1 -0
- package/dist/features/pull-requests/get-pull-request/feature.spec.int.js +109 -0
- package/dist/features/pull-requests/get-pull-request/feature.spec.int.js.map +1 -0
- package/dist/features/pull-requests/get-pull-request/feature.spec.unit.d.ts +1 -0
- package/dist/features/pull-requests/get-pull-request/feature.spec.unit.js +37 -0
- package/dist/features/pull-requests/get-pull-request/feature.spec.unit.js.map +1 -0
- package/dist/features/pull-requests/get-pull-request/index.d.ts +2 -0
- package/dist/features/pull-requests/get-pull-request/index.js +19 -0
- package/dist/features/pull-requests/get-pull-request/index.js.map +1 -0
- package/dist/features/pull-requests/get-pull-request/schema.d.ts +1 -0
- package/dist/features/pull-requests/get-pull-request/schema.js +6 -0
- package/dist/features/pull-requests/get-pull-request/schema.js.map +1 -0
- package/dist/features/pull-requests/get-pull-request-changes/feature.d.ts +22 -0
- package/dist/features/pull-requests/get-pull-request-changes/feature.js +60 -0
- package/dist/features/pull-requests/get-pull-request-changes/feature.js.map +1 -0
- package/dist/features/pull-requests/get-pull-request-changes/feature.spec.unit.d.ts +1 -0
- package/dist/features/pull-requests/get-pull-request-changes/feature.spec.unit.js +77 -0
- package/dist/features/pull-requests/get-pull-request-changes/feature.spec.unit.js.map +1 -0
- package/dist/features/pull-requests/get-pull-request-changes/index.d.ts +1 -0
- package/dist/features/pull-requests/get-pull-request-changes/index.js +18 -0
- package/dist/features/pull-requests/get-pull-request-changes/index.js.map +1 -0
- package/dist/features/pull-requests/get-pull-request-checks/feature.d.ts +51 -0
- package/dist/features/pull-requests/get-pull-request-checks/feature.js +259 -0
- package/dist/features/pull-requests/get-pull-request-checks/feature.js.map +1 -0
- package/dist/features/pull-requests/get-pull-request-checks/feature.spec.unit.d.ts +1 -0
- package/dist/features/pull-requests/get-pull-request-checks/feature.spec.unit.js +138 -0
- package/dist/features/pull-requests/get-pull-request-checks/feature.spec.unit.js.map +1 -0
- package/dist/features/pull-requests/get-pull-request-checks/index.d.ts +1 -0
- package/dist/features/pull-requests/get-pull-request-checks/index.js +18 -0
- package/dist/features/pull-requests/get-pull-request-checks/index.js.map +1 -0
- package/dist/features/pull-requests/get-pull-request-comments/feature.d.ts +13 -0
- package/dist/features/pull-requests/get-pull-request-comments/feature.js +88 -0
- package/dist/features/pull-requests/get-pull-request-comments/feature.js.map +1 -0
- package/dist/features/pull-requests/get-pull-request-comments/feature.spec.int.d.ts +1 -0
- package/dist/features/pull-requests/get-pull-request-comments/feature.spec.int.js +216 -0
- package/dist/features/pull-requests/get-pull-request-comments/feature.spec.int.js.map +1 -0
- package/dist/features/pull-requests/get-pull-request-comments/feature.spec.unit.d.ts +1 -0
- package/dist/features/pull-requests/get-pull-request-comments/feature.spec.unit.js +340 -0
- package/dist/features/pull-requests/get-pull-request-comments/feature.spec.unit.js.map +1 -0
- package/dist/features/pull-requests/get-pull-request-comments/index.d.ts +1 -0
- package/dist/features/pull-requests/get-pull-request-comments/index.js +18 -0
- package/dist/features/pull-requests/get-pull-request-comments/index.js.map +1 -0
- package/dist/features/pull-requests/index.d.ts +20 -0
- package/dist/features/pull-requests/index.js +157 -0
- package/dist/features/pull-requests/index.js.map +1 -0
- package/dist/features/pull-requests/index.spec.unit.d.ts +1 -0
- package/dist/features/pull-requests/index.spec.unit.js +261 -0
- package/dist/features/pull-requests/index.spec.unit.js.map +1 -0
- package/dist/features/pull-requests/list-pull-requests/feature.d.ts +17 -0
- package/dist/features/pull-requests/list-pull-requests/feature.js +81 -0
- package/dist/features/pull-requests/list-pull-requests/feature.js.map +1 -0
- package/dist/features/pull-requests/list-pull-requests/feature.spec.int.d.ts +1 -0
- package/dist/features/pull-requests/list-pull-requests/feature.spec.int.js +124 -0
- package/dist/features/pull-requests/list-pull-requests/feature.spec.int.js.map +1 -0
- package/dist/features/pull-requests/list-pull-requests/feature.spec.unit.d.ts +1 -0
- package/dist/features/pull-requests/list-pull-requests/feature.spec.unit.js +180 -0
- package/dist/features/pull-requests/list-pull-requests/feature.spec.unit.js.map +1 -0
- package/dist/features/pull-requests/list-pull-requests/index.d.ts +2 -0
- package/dist/features/pull-requests/list-pull-requests/index.js +19 -0
- package/dist/features/pull-requests/list-pull-requests/index.js.map +1 -0
- package/dist/features/pull-requests/list-pull-requests/schema.d.ts +1 -0
- package/dist/features/pull-requests/list-pull-requests/schema.js +6 -0
- package/dist/features/pull-requests/list-pull-requests/schema.js.map +1 -0
- package/dist/features/pull-requests/schemas.d.ts +318 -0
- package/dist/features/pull-requests/schemas.js +283 -0
- package/dist/features/pull-requests/schemas.js.map +1 -0
- package/dist/features/pull-requests/tool-definitions.d.ts +5 -0
- package/dist/features/pull-requests/tool-definitions.js +55 -0
- package/dist/features/pull-requests/tool-definitions.js.map +1 -0
- package/dist/features/pull-requests/types.d.ts +100 -0
- package/dist/features/pull-requests/types.js +3 -0
- package/dist/features/pull-requests/types.js.map +1 -0
- package/dist/features/pull-requests/update-pull-request/feature.d.ts +9 -0
- package/dist/features/pull-requests/update-pull-request/feature.js +250 -0
- package/dist/features/pull-requests/update-pull-request/feature.js.map +1 -0
- package/dist/features/pull-requests/update-pull-request/feature.spec.int.d.ts +1 -0
- package/dist/features/pull-requests/update-pull-request/feature.spec.int.js +162 -0
- package/dist/features/pull-requests/update-pull-request/feature.spec.int.js.map +1 -0
- package/dist/features/pull-requests/update-pull-request/feature.spec.unit.d.ts +1 -0
- package/dist/features/pull-requests/update-pull-request/feature.spec.unit.js +280 -0
- package/dist/features/pull-requests/update-pull-request/feature.spec.unit.js.map +1 -0
- package/dist/features/pull-requests/update-pull-request/index.d.ts +1 -0
- package/dist/features/pull-requests/update-pull-request/index.js +18 -0
- package/dist/features/pull-requests/update-pull-request/index.js.map +1 -0
- package/dist/features/releases/create-release/feature.d.ts +3 -0
- package/dist/features/releases/create-release/feature.js +51 -0
- package/dist/features/releases/create-release/feature.js.map +1 -0
- package/dist/features/releases/create-release/index.d.ts +2 -0
- package/dist/features/releases/create-release/index.js +19 -0
- package/dist/features/releases/create-release/index.js.map +1 -0
- package/dist/features/releases/create-release/schema.d.ts +20 -0
- package/dist/features/releases/create-release/schema.js +24 -0
- package/dist/features/releases/create-release/schema.js.map +1 -0
- package/dist/features/releases/deploy-release-stage/feature.d.ts +9 -0
- package/dist/features/releases/deploy-release-stage/feature.js +38 -0
- package/dist/features/releases/deploy-release-stage/feature.js.map +1 -0
- package/dist/features/releases/deploy-release-stage/index.d.ts +2 -0
- package/dist/features/releases/deploy-release-stage/index.js +19 -0
- package/dist/features/releases/deploy-release-stage/index.js.map +1 -0
- package/dist/features/releases/deploy-release-stage/schema.d.ts +17 -0
- package/dist/features/releases/deploy-release-stage/schema.js +20 -0
- package/dist/features/releases/deploy-release-stage/schema.js.map +1 -0
- package/dist/features/releases/get-release/feature.d.ts +3 -0
- package/dist/features/releases/get-release/feature.js +34 -0
- package/dist/features/releases/get-release/feature.js.map +1 -0
- package/dist/features/releases/get-release/index.d.ts +2 -0
- package/dist/features/releases/get-release/index.js +19 -0
- package/dist/features/releases/get-release/index.js.map +1 -0
- package/dist/features/releases/get-release/schema.d.ts +11 -0
- package/dist/features/releases/get-release/schema.js +13 -0
- package/dist/features/releases/get-release/schema.js.map +1 -0
- package/dist/features/releases/get-release-definition/feature.d.ts +3 -0
- package/dist/features/releases/get-release-definition/feature.js +34 -0
- package/dist/features/releases/get-release-definition/feature.js.map +1 -0
- package/dist/features/releases/get-release-definition/index.d.ts +2 -0
- package/dist/features/releases/get-release-definition/index.js +19 -0
- package/dist/features/releases/get-release-definition/index.js.map +1 -0
- package/dist/features/releases/get-release-definition/schema.d.ts +11 -0
- package/dist/features/releases/get-release-definition/schema.js +13 -0
- package/dist/features/releases/get-release-definition/schema.js.map +1 -0
- package/dist/features/releases/index.d.ts +11 -0
- package/dist/features/releases/index.js +121 -0
- package/dist/features/releases/index.js.map +1 -0
- package/dist/features/releases/list-release-definitions/feature.d.ts +3 -0
- package/dist/features/releases/list-release-definitions/feature.js +31 -0
- package/dist/features/releases/list-release-definitions/feature.js.map +1 -0
- package/dist/features/releases/list-release-definitions/index.d.ts +2 -0
- package/dist/features/releases/list-release-definitions/index.js +19 -0
- package/dist/features/releases/list-release-definitions/index.js.map +1 -0
- package/dist/features/releases/list-release-definitions/schema.d.ts +17 -0
- package/dist/features/releases/list-release-definitions/schema.js +24 -0
- package/dist/features/releases/list-release-definitions/schema.js.map +1 -0
- package/dist/features/releases/list-releases/feature.d.ts +3 -0
- package/dist/features/releases/list-releases/feature.js +31 -0
- package/dist/features/releases/list-releases/feature.js.map +1 -0
- package/dist/features/releases/list-releases/index.d.ts +2 -0
- package/dist/features/releases/list-releases/index.js +19 -0
- package/dist/features/releases/list-releases/index.js.map +1 -0
- package/dist/features/releases/list-releases/schema.d.ts +26 -0
- package/dist/features/releases/list-releases/schema.js +30 -0
- package/dist/features/releases/list-releases/schema.js.map +1 -0
- package/dist/features/releases/tool-definitions.d.ts +2 -0
- package/dist/features/releases/tool-definitions.js +49 -0
- package/dist/features/releases/tool-definitions.js.map +1 -0
- package/dist/features/releases/types.d.ts +32 -0
- package/dist/features/releases/types.js +3 -0
- package/dist/features/releases/types.js.map +1 -0
- package/dist/features/repositories/__test__/test-helpers.d.ts +13 -0
- package/dist/features/repositories/__test__/test-helpers.js +35 -0
- package/dist/features/repositories/__test__/test-helpers.js.map +1 -0
- package/dist/features/repositories/create-branch/feature.d.ts +6 -0
- package/dist/features/repositories/create-branch/feature.js +33 -0
- package/dist/features/repositories/create-branch/feature.js.map +1 -0
- package/dist/features/repositories/create-branch/feature.spec.unit.d.ts +1 -0
- package/dist/features/repositories/create-branch/feature.spec.unit.js +36 -0
- package/dist/features/repositories/create-branch/feature.spec.unit.js.map +1 -0
- package/dist/features/repositories/create-branch/index.d.ts +1 -0
- package/dist/features/repositories/create-branch/index.js +18 -0
- package/dist/features/repositories/create-branch/index.js.map +1 -0
- package/dist/features/repositories/create-commit/feature.d.ts +6 -0
- package/dist/features/repositories/create-commit/feature.js +122 -0
- package/dist/features/repositories/create-commit/feature.js.map +1 -0
- package/dist/features/repositories/create-commit/feature.spec.unit.d.ts +1 -0
- package/dist/features/repositories/create-commit/feature.spec.unit.js +157 -0
- package/dist/features/repositories/create-commit/feature.spec.unit.js.map +1 -0
- package/dist/features/repositories/create-commit/index.d.ts +1 -0
- package/dist/features/repositories/create-commit/index.js +18 -0
- package/dist/features/repositories/create-commit/index.js.map +1 -0
- package/dist/features/repositories/get-all-repositories-tree/feature.d.ts +22 -0
- package/dist/features/repositories/get-all-repositories-tree/feature.js +303 -0
- package/dist/features/repositories/get-all-repositories-tree/feature.js.map +1 -0
- package/dist/features/repositories/get-all-repositories-tree/feature.spec.int.d.ts +1 -0
- package/dist/features/repositories/get-all-repositories-tree/feature.spec.int.js +89 -0
- package/dist/features/repositories/get-all-repositories-tree/feature.spec.int.js.map +1 -0
- package/dist/features/repositories/get-all-repositories-tree/feature.spec.unit.d.ts +1 -0
- package/dist/features/repositories/get-all-repositories-tree/feature.spec.unit.js +391 -0
- package/dist/features/repositories/get-all-repositories-tree/feature.spec.unit.js.map +1 -0
- package/dist/features/repositories/get-all-repositories-tree/index.d.ts +2 -0
- package/dist/features/repositories/get-all-repositories-tree/index.js +19 -0
- package/dist/features/repositories/get-all-repositories-tree/index.js.map +1 -0
- package/dist/features/repositories/get-all-repositories-tree/schema.d.ts +2 -0
- package/dist/features/repositories/get-all-repositories-tree/schema.js +6 -0
- package/dist/features/repositories/get-all-repositories-tree/schema.js.map +1 -0
- package/dist/features/repositories/get-file-content/feature.d.ts +23 -0
- package/dist/features/repositories/get-file-content/feature.js +96 -0
- package/dist/features/repositories/get-file-content/feature.js.map +1 -0
- package/dist/features/repositories/get-file-content/feature.spec.int.d.ts +1 -0
- package/dist/features/repositories/get-file-content/feature.spec.int.js +86 -0
- package/dist/features/repositories/get-file-content/feature.spec.int.js.map +1 -0
- package/dist/features/repositories/get-file-content/feature.spec.unit.d.ts +1 -0
- package/dist/features/repositories/get-file-content/feature.spec.unit.js +128 -0
- package/dist/features/repositories/get-file-content/feature.spec.unit.js.map +1 -0
- package/dist/features/repositories/get-file-content/index.d.ts +2 -0
- package/dist/features/repositories/get-file-content/index.js +19 -0
- package/dist/features/repositories/get-file-content/index.js.map +1 -0
- package/dist/features/repositories/get-file-content/schema.d.ts +2 -0
- package/dist/features/repositories/get-file-content/schema.js +6 -0
- package/dist/features/repositories/get-file-content/schema.js.map +1 -0
- package/dist/features/repositories/get-repository/feature.d.ts +12 -0
- package/dist/features/repositories/get-repository/feature.js +30 -0
- package/dist/features/repositories/get-repository/feature.js.map +1 -0
- package/dist/features/repositories/get-repository/feature.spec.int.d.ts +1 -0
- package/dist/features/repositories/get-repository/feature.spec.int.js +44 -0
- package/dist/features/repositories/get-repository/feature.spec.int.js.map +1 -0
- package/dist/features/repositories/get-repository/feature.spec.unit.d.ts +1 -0
- package/dist/features/repositories/get-repository/feature.spec.unit.js +41 -0
- package/dist/features/repositories/get-repository/feature.spec.unit.js.map +1 -0
- package/dist/features/repositories/get-repository/index.d.ts +2 -0
- package/dist/features/repositories/get-repository/index.js +19 -0
- package/dist/features/repositories/get-repository/index.js.map +1 -0
- package/dist/features/repositories/get-repository/schema.d.ts +2 -0
- package/dist/features/repositories/get-repository/schema.js +6 -0
- package/dist/features/repositories/get-repository/schema.js.map +1 -0
- package/dist/features/repositories/get-repository-details/feature.d.ts +11 -0
- package/dist/features/repositories/get-repository-details/feature.js +67 -0
- package/dist/features/repositories/get-repository-details/feature.js.map +1 -0
- package/dist/features/repositories/get-repository-details/feature.spec.int.d.ts +1 -0
- package/dist/features/repositories/get-repository-details/feature.spec.int.js +119 -0
- package/dist/features/repositories/get-repository-details/feature.spec.int.js.map +1 -0
- package/dist/features/repositories/get-repository-details/feature.spec.unit.d.ts +1 -0
- package/dist/features/repositories/get-repository-details/feature.spec.unit.js +255 -0
- package/dist/features/repositories/get-repository-details/feature.spec.unit.js.map +1 -0
- package/dist/features/repositories/get-repository-details/index.d.ts +2 -0
- package/dist/features/repositories/get-repository-details/index.js +19 -0
- package/dist/features/repositories/get-repository-details/index.js.map +1 -0
- package/dist/features/repositories/get-repository-details/schema.d.ts +2 -0
- package/dist/features/repositories/get-repository-details/schema.js +6 -0
- package/dist/features/repositories/get-repository-details/schema.js.map +1 -0
- package/dist/features/repositories/get-repository-tree/feature.d.ts +6 -0
- package/dist/features/repositories/get-repository-tree/feature.js +65 -0
- package/dist/features/repositories/get-repository-tree/feature.js.map +1 -0
- package/dist/features/repositories/get-repository-tree/feature.spec.unit.d.ts +1 -0
- package/dist/features/repositories/get-repository-tree/feature.spec.unit.js +69 -0
- package/dist/features/repositories/get-repository-tree/feature.spec.unit.js.map +1 -0
- package/dist/features/repositories/get-repository-tree/index.d.ts +1 -0
- package/dist/features/repositories/get-repository-tree/index.js +18 -0
- package/dist/features/repositories/get-repository-tree/index.js.map +1 -0
- package/dist/features/repositories/index.d.ts +21 -0
- package/dist/features/repositories/index.js +179 -0
- package/dist/features/repositories/index.js.map +1 -0
- package/dist/features/repositories/index.spec.unit.d.ts +1 -0
- package/dist/features/repositories/index.spec.unit.js +291 -0
- package/dist/features/repositories/index.spec.unit.js.map +1 -0
- package/dist/features/repositories/list-commits/feature.d.ts +6 -0
- package/dist/features/repositories/list-commits/feature.js +75 -0
- package/dist/features/repositories/list-commits/feature.js.map +1 -0
- package/dist/features/repositories/list-commits/feature.spec.unit.d.ts +1 -0
- package/dist/features/repositories/list-commits/feature.spec.unit.js +58 -0
- package/dist/features/repositories/list-commits/feature.spec.unit.js.map +1 -0
- package/dist/features/repositories/list-commits/index.d.ts +1 -0
- package/dist/features/repositories/list-commits/index.js +18 -0
- package/dist/features/repositories/list-commits/index.js.map +1 -0
- package/dist/features/repositories/list-repositories/feature.d.ts +10 -0
- package/dist/features/repositories/list-repositories/feature.js +25 -0
- package/dist/features/repositories/list-repositories/feature.js.map +1 -0
- package/dist/features/repositories/list-repositories/feature.spec.int.d.ts +1 -0
- package/dist/features/repositories/list-repositories/feature.spec.int.js +56 -0
- package/dist/features/repositories/list-repositories/feature.spec.int.js.map +1 -0
- package/dist/features/repositories/list-repositories/feature.spec.unit.d.ts +1 -0
- package/dist/features/repositories/list-repositories/feature.spec.unit.js +59 -0
- package/dist/features/repositories/list-repositories/feature.spec.unit.js.map +1 -0
- package/dist/features/repositories/list-repositories/index.d.ts +2 -0
- package/dist/features/repositories/list-repositories/index.js +19 -0
- package/dist/features/repositories/list-repositories/index.js.map +1 -0
- package/dist/features/repositories/list-repositories/schema.d.ts +2 -0
- package/dist/features/repositories/list-repositories/schema.js +6 -0
- package/dist/features/repositories/list-repositories/schema.js.map +1 -0
- package/dist/features/repositories/schemas.d.ts +237 -0
- package/dist/features/repositories/schemas.js +306 -0
- package/dist/features/repositories/schemas.js.map +1 -0
- package/dist/features/repositories/tool-definitions.d.ts +5 -0
- package/dist/features/repositories/tool-definitions.js +94 -0
- package/dist/features/repositories/tool-definitions.js.map +1 -0
- package/dist/features/repositories/types.d.ts +167 -0
- package/dist/features/repositories/types.js +3 -0
- package/dist/features/repositories/types.js.map +1 -0
- package/dist/features/search/index.d.ts +15 -0
- package/dist/features/search/index.js +65 -0
- package/dist/features/search/index.js.map +1 -0
- package/dist/features/search/index.spec.unit.d.ts +1 -0
- package/dist/features/search/index.spec.unit.js +143 -0
- package/dist/features/search/index.spec.unit.js.map +1 -0
- package/dist/features/search/schemas.d.ts +171 -0
- package/dist/features/search/schemas.js +159 -0
- package/dist/features/search/schemas.js.map +1 -0
- package/dist/features/search/schemas.spec.unit.d.ts +1 -0
- package/dist/features/search/schemas.spec.unit.js +39 -0
- package/dist/features/search/schemas.spec.unit.js.map +1 -0
- package/dist/features/search/search-code/feature.d.ts +10 -0
- package/dist/features/search/search-code/feature.js +177 -0
- package/dist/features/search/search-code/feature.js.map +1 -0
- package/dist/features/search/search-code/feature.spec.int.d.ts +1 -0
- package/dist/features/search/search-code/feature.spec.int.js +192 -0
- package/dist/features/search/search-code/feature.spec.int.js.map +1 -0
- package/dist/features/search/search-code/feature.spec.unit.d.ts +1 -0
- package/dist/features/search/search-code/feature.spec.unit.js +968 -0
- package/dist/features/search/search-code/feature.spec.unit.js.map +1 -0
- package/dist/features/search/search-code/index.d.ts +2 -0
- package/dist/features/search/search-code/index.js +19 -0
- package/dist/features/search/search-code/index.js.map +1 -0
- package/dist/features/search/search-wiki/feature.d.ts +10 -0
- package/dist/features/search/search-wiki/feature.js +132 -0
- package/dist/features/search/search-wiki/feature.js.map +1 -0
- package/dist/features/search/search-wiki/feature.spec.int.d.ts +1 -0
- package/dist/features/search/search-wiki/feature.spec.int.js +67 -0
- package/dist/features/search/search-wiki/feature.spec.int.js.map +1 -0
- package/dist/features/search/search-wiki/feature.spec.unit.d.ts +1 -0
- package/dist/features/search/search-wiki/feature.spec.unit.js +176 -0
- package/dist/features/search/search-wiki/feature.spec.unit.js.map +1 -0
- package/dist/features/search/search-wiki/index.d.ts +1 -0
- package/dist/features/search/search-wiki/index.js +18 -0
- package/dist/features/search/search-wiki/index.js.map +1 -0
- package/dist/features/search/search-work-items/feature.d.ts +10 -0
- package/dist/features/search/search-work-items/feature.js +118 -0
- package/dist/features/search/search-work-items/feature.js.map +1 -0
- package/dist/features/search/search-work-items/feature.spec.int.d.ts +1 -0
- package/dist/features/search/search-work-items/feature.spec.int.js +150 -0
- package/dist/features/search/search-work-items/feature.spec.int.js.map +1 -0
- package/dist/features/search/search-work-items/feature.spec.unit.d.ts +1 -0
- package/dist/features/search/search-work-items/feature.spec.unit.js +342 -0
- package/dist/features/search/search-work-items/feature.spec.unit.js.map +1 -0
- package/dist/features/search/search-work-items/index.d.ts +1 -0
- package/dist/features/search/search-work-items/index.js +18 -0
- package/dist/features/search/search-work-items/index.js.map +1 -0
- package/dist/features/search/tool-definitions.d.ts +5 -0
- package/dist/features/search/tool-definitions.js +26 -0
- package/dist/features/search/tool-definitions.js.map +1 -0
- package/dist/features/search/types.d.ts +537 -0
- package/dist/features/search/types.js +3 -0
- package/dist/features/search/types.js.map +1 -0
- package/dist/features/users/get-me/feature.d.ts +12 -0
- package/dist/features/users/get-me/feature.js +96 -0
- package/dist/features/users/get-me/feature.js.map +1 -0
- package/dist/features/users/get-me/feature.spec.int.d.ts +1 -0
- package/dist/features/users/get-me/feature.spec.int.js +33 -0
- package/dist/features/users/get-me/feature.spec.int.js.map +1 -0
- package/dist/features/users/get-me/feature.spec.unit.d.ts +1 -0
- package/dist/features/users/get-me/feature.spec.unit.js +164 -0
- package/dist/features/users/get-me/feature.spec.unit.js.map +1 -0
- package/dist/features/users/get-me/index.d.ts +2 -0
- package/dist/features/users/get-me/index.js +19 -0
- package/dist/features/users/get-me/index.js.map +1 -0
- package/dist/features/users/get-me/schema.d.ts +2 -0
- package/dist/features/users/get-me/schema.js +6 -0
- package/dist/features/users/get-me/schema.js.map +1 -0
- package/dist/features/users/index.d.ts +17 -0
- package/dist/features/users/index.js +52 -0
- package/dist/features/users/index.js.map +1 -0
- package/dist/features/users/index.spec.unit.d.ts +1 -0
- package/dist/features/users/index.spec.unit.js +71 -0
- package/dist/features/users/index.spec.unit.js.map +1 -0
- package/dist/features/users/schemas.d.ts +5 -0
- package/dist/features/users/schemas.js +9 -0
- package/dist/features/users/schemas.js.map +1 -0
- package/dist/features/users/tool-definitions.d.ts +5 -0
- package/dist/features/users/tool-definitions.js +16 -0
- package/dist/features/users/tool-definitions.js.map +1 -0
- package/dist/features/users/types.d.ts +17 -0
- package/dist/features/users/types.js +3 -0
- package/dist/features/users/types.js.map +1 -0
- package/dist/features/wikis/create-wiki/feature.d.ts +49 -0
- package/dist/features/wikis/create-wiki/feature.js +56 -0
- package/dist/features/wikis/create-wiki/feature.js.map +1 -0
- package/dist/features/wikis/create-wiki/feature.spec.int.d.ts +1 -0
- package/dist/features/wikis/create-wiki/feature.spec.int.js +44 -0
- package/dist/features/wikis/create-wiki/feature.spec.int.js.map +1 -0
- package/dist/features/wikis/create-wiki/feature.spec.unit.d.ts +1 -0
- package/dist/features/wikis/create-wiki/feature.spec.unit.js +168 -0
- package/dist/features/wikis/create-wiki/feature.spec.unit.js.map +1 -0
- package/dist/features/wikis/create-wiki/index.d.ts +2 -0
- package/dist/features/wikis/create-wiki/index.js +9 -0
- package/dist/features/wikis/create-wiki/index.js.map +1 -0
- package/dist/features/wikis/create-wiki/schema.d.ts +53 -0
- package/dist/features/wikis/create-wiki/schema.js +60 -0
- package/dist/features/wikis/create-wiki/schema.js.map +1 -0
- package/dist/features/wikis/create-wiki-page/feature.d.ts +18 -0
- package/dist/features/wikis/create-wiki-page/feature.js +95 -0
- package/dist/features/wikis/create-wiki-page/feature.js.map +1 -0
- package/dist/features/wikis/create-wiki-page/feature.spec.int.d.ts +1 -0
- package/dist/features/wikis/create-wiki-page/feature.spec.int.js +274 -0
- package/dist/features/wikis/create-wiki-page/feature.spec.int.js.map +1 -0
- package/dist/features/wikis/create-wiki-page/feature.spec.unit.d.ts +1 -0
- package/dist/features/wikis/create-wiki-page/feature.spec.unit.js +141 -0
- package/dist/features/wikis/create-wiki-page/feature.spec.unit.js.map +1 -0
- package/dist/features/wikis/create-wiki-page/index.d.ts +2 -0
- package/dist/features/wikis/create-wiki-page/index.js +8 -0
- package/dist/features/wikis/create-wiki-page/index.js.map +1 -0
- package/dist/features/wikis/create-wiki-page/schema.d.ts +26 -0
- package/dist/features/wikis/create-wiki-page/schema.js +36 -0
- package/dist/features/wikis/create-wiki-page/schema.js.map +1 -0
- package/dist/features/wikis/get-wiki-page/feature.d.ts +33 -0
- package/dist/features/wikis/get-wiki-page/feature.js +68 -0
- package/dist/features/wikis/get-wiki-page/feature.js.map +1 -0
- package/dist/features/wikis/get-wiki-page/feature.spec.int.d.ts +1 -0
- package/dist/features/wikis/get-wiki-page/feature.spec.int.js +58 -0
- package/dist/features/wikis/get-wiki-page/feature.spec.int.js.map +1 -0
- package/dist/features/wikis/get-wiki-page/feature.spec.unit.d.ts +1 -0
- package/dist/features/wikis/get-wiki-page/feature.spec.unit.js +121 -0
- package/dist/features/wikis/get-wiki-page/feature.spec.unit.js.map +1 -0
- package/dist/features/wikis/get-wiki-page/index.d.ts +2 -0
- package/dist/features/wikis/get-wiki-page/index.js +8 -0
- package/dist/features/wikis/get-wiki-page/index.js.map +1 -0
- package/dist/features/wikis/get-wiki-page/schema.d.ts +20 -0
- package/dist/features/wikis/get-wiki-page/schema.js +23 -0
- package/dist/features/wikis/get-wiki-page/schema.js.map +1 -0
- package/dist/features/wikis/get-wikis/feature.d.ts +25 -0
- package/dist/features/wikis/get-wikis/feature.js +37 -0
- package/dist/features/wikis/get-wikis/feature.js.map +1 -0
- package/dist/features/wikis/get-wikis/feature.spec.int.d.ts +1 -0
- package/dist/features/wikis/get-wikis/feature.spec.int.js +34 -0
- package/dist/features/wikis/get-wikis/feature.spec.int.js.map +1 -0
- package/dist/features/wikis/get-wikis/feature.spec.unit.d.ts +1 -0
- package/dist/features/wikis/get-wikis/feature.spec.unit.js +83 -0
- package/dist/features/wikis/get-wikis/feature.spec.unit.js.map +1 -0
- package/dist/features/wikis/get-wikis/index.d.ts +2 -0
- package/dist/features/wikis/get-wikis/index.js +8 -0
- package/dist/features/wikis/get-wikis/index.js.map +1 -0
- package/dist/features/wikis/get-wikis/schema.d.ts +14 -0
- package/dist/features/wikis/get-wikis/schema.js +21 -0
- package/dist/features/wikis/get-wikis/schema.js.map +1 -0
- package/dist/features/wikis/index.d.ts +16 -0
- package/dist/features/wikis/index.js +141 -0
- package/dist/features/wikis/index.js.map +1 -0
- package/dist/features/wikis/index.spec.unit.d.ts +1 -0
- package/dist/features/wikis/index.spec.unit.js +214 -0
- package/dist/features/wikis/index.spec.unit.js.map +1 -0
- package/dist/features/wikis/list-wiki-pages/feature.d.ts +20 -0
- package/dist/features/wikis/list-wiki-pages/feature.js +79 -0
- package/dist/features/wikis/list-wiki-pages/feature.js.map +1 -0
- package/dist/features/wikis/list-wiki-pages/feature.spec.int.d.ts +1 -0
- package/dist/features/wikis/list-wiki-pages/feature.spec.int.js +230 -0
- package/dist/features/wikis/list-wiki-pages/feature.spec.int.js.map +1 -0
- package/dist/features/wikis/list-wiki-pages/feature.spec.unit.d.ts +1 -0
- package/dist/features/wikis/list-wiki-pages/feature.spec.unit.js +427 -0
- package/dist/features/wikis/list-wiki-pages/feature.spec.unit.js.map +1 -0
- package/dist/features/wikis/list-wiki-pages/index.d.ts +2 -0
- package/dist/features/wikis/list-wiki-pages/index.js +8 -0
- package/dist/features/wikis/list-wiki-pages/index.js.map +1 -0
- package/dist/features/wikis/list-wiki-pages/schema.d.ts +18 -0
- package/dist/features/wikis/list-wiki-pages/schema.js +22 -0
- package/dist/features/wikis/list-wiki-pages/schema.js.map +1 -0
- package/dist/features/wikis/tool-definitions.d.ts +5 -0
- package/dist/features/wikis/tool-definitions.js +46 -0
- package/dist/features/wikis/tool-definitions.js.map +1 -0
- package/dist/features/wikis/update-wiki-page/feature.d.ts +12 -0
- package/dist/features/wikis/update-wiki-page/feature.js +63 -0
- package/dist/features/wikis/update-wiki-page/feature.js.map +1 -0
- package/dist/features/wikis/update-wiki-page/feature.spec.int.d.ts +1 -0
- package/dist/features/wikis/update-wiki-page/feature.spec.int.js +39 -0
- package/dist/features/wikis/update-wiki-page/feature.spec.int.js.map +1 -0
- package/dist/features/wikis/update-wiki-page/index.d.ts +2 -0
- package/dist/features/wikis/update-wiki-page/index.js +8 -0
- package/dist/features/wikis/update-wiki-page/index.js.map +1 -0
- package/dist/features/wikis/update-wiki-page/schema.d.ts +26 -0
- package/dist/features/wikis/update-wiki-page/schema.js +32 -0
- package/dist/features/wikis/update-wiki-page/schema.js.map +1 -0
- package/dist/features/work-items/__test__/fixtures.d.ts +9 -0
- package/dist/features/work-items/__test__/fixtures.js +28 -0
- package/dist/features/work-items/__test__/fixtures.js.map +1 -0
- package/dist/features/work-items/__test__/test-helpers.d.ts +13 -0
- package/dist/features/work-items/__test__/test-helpers.js +35 -0
- package/dist/features/work-items/__test__/test-helpers.js.map +1 -0
- package/dist/features/work-items/__test__/test-utils.d.ts +17 -0
- package/dist/features/work-items/__test__/test-utils.js +39 -0
- package/dist/features/work-items/__test__/test-utils.js.map +1 -0
- package/dist/features/work-items/create-work-item/feature.d.ts +12 -0
- package/dist/features/work-items/create-work-item/feature.js +99 -0
- package/dist/features/work-items/create-work-item/feature.js.map +1 -0
- package/dist/features/work-items/create-work-item/feature.spec.int.d.ts +1 -0
- package/dist/features/work-items/create-work-item/feature.spec.int.js +105 -0
- package/dist/features/work-items/create-work-item/feature.spec.int.js.map +1 -0
- package/dist/features/work-items/create-work-item/feature.spec.unit.d.ts +1 -0
- package/dist/features/work-items/create-work-item/feature.spec.unit.js +46 -0
- package/dist/features/work-items/create-work-item/feature.spec.unit.js.map +1 -0
- package/dist/features/work-items/create-work-item/index.d.ts +2 -0
- package/dist/features/work-items/create-work-item/index.js +19 -0
- package/dist/features/work-items/create-work-item/index.js.map +1 -0
- package/dist/features/work-items/create-work-item/schema.d.ts +2 -0
- package/dist/features/work-items/create-work-item/schema.js +6 -0
- package/dist/features/work-items/create-work-item/schema.js.map +1 -0
- package/dist/features/work-items/get-work-item/feature.d.ts +12 -0
- package/dist/features/work-items/get-work-item/feature.js +69 -0
- package/dist/features/work-items/get-work-item/feature.js.map +1 -0
- package/dist/features/work-items/get-work-item/feature.spec.int.d.ts +1 -0
- package/dist/features/work-items/get-work-item/feature.spec.int.js +138 -0
- package/dist/features/work-items/get-work-item/feature.spec.int.js.map +1 -0
- package/dist/features/work-items/get-work-item/feature.spec.unit.d.ts +1 -0
- package/dist/features/work-items/get-work-item/feature.spec.unit.js +31 -0
- package/dist/features/work-items/get-work-item/feature.spec.unit.js.map +1 -0
- package/dist/features/work-items/get-work-item/index.d.ts +2 -0
- package/dist/features/work-items/get-work-item/index.js +19 -0
- package/dist/features/work-items/get-work-item/index.js.map +1 -0
- package/dist/features/work-items/get-work-item/schema.d.ts +2 -0
- package/dist/features/work-items/get-work-item/schema.js +6 -0
- package/dist/features/work-items/get-work-item/schema.js.map +1 -0
- package/dist/features/work-items/index.d.ts +17 -0
- package/dist/features/work-items/index.js +122 -0
- package/dist/features/work-items/index.js.map +1 -0
- package/dist/features/work-items/index.spec.unit.d.ts +1 -0
- package/dist/features/work-items/index.spec.unit.js +232 -0
- package/dist/features/work-items/index.spec.unit.js.map +1 -0
- package/dist/features/work-items/list-work-items/feature.d.ts +10 -0
- package/dist/features/work-items/list-work-items/feature.js +89 -0
- package/dist/features/work-items/list-work-items/feature.js.map +1 -0
- package/dist/features/work-items/list-work-items/feature.spec.int.d.ts +1 -0
- package/dist/features/work-items/list-work-items/feature.spec.int.js +103 -0
- package/dist/features/work-items/list-work-items/feature.spec.int.js.map +1 -0
- package/dist/features/work-items/list-work-items/feature.spec.unit.d.ts +1 -0
- package/dist/features/work-items/list-work-items/feature.spec.unit.js +95 -0
- package/dist/features/work-items/list-work-items/feature.spec.unit.js.map +1 -0
- package/dist/features/work-items/list-work-items/index.d.ts +2 -0
- package/dist/features/work-items/list-work-items/index.js +19 -0
- package/dist/features/work-items/list-work-items/index.js.map +1 -0
- package/dist/features/work-items/list-work-items/schema.d.ts +2 -0
- package/dist/features/work-items/list-work-items/schema.js +6 -0
- package/dist/features/work-items/list-work-items/schema.js.map +1 -0
- package/dist/features/work-items/manage-work-item-link/feature.d.ts +24 -0
- package/dist/features/work-items/manage-work-item-link/feature.js +76 -0
- package/dist/features/work-items/manage-work-item-link/feature.js.map +1 -0
- package/dist/features/work-items/manage-work-item-link/feature.spec.int.d.ts +1 -0
- package/dist/features/work-items/manage-work-item-link/feature.spec.int.js +75 -0
- package/dist/features/work-items/manage-work-item-link/feature.spec.int.js.map +1 -0
- package/dist/features/work-items/manage-work-item-link/feature.spec.unit.d.ts +1 -0
- package/dist/features/work-items/manage-work-item-link/feature.spec.unit.js +137 -0
- package/dist/features/work-items/manage-work-item-link/feature.spec.unit.js.map +1 -0
- package/dist/features/work-items/manage-work-item-link/index.d.ts +2 -0
- package/dist/features/work-items/manage-work-item-link/index.js +8 -0
- package/dist/features/work-items/manage-work-item-link/index.js.map +1 -0
- package/dist/features/work-items/manage-work-item-link/schema.d.ts +2 -0
- package/dist/features/work-items/manage-work-item-link/schema.js +6 -0
- package/dist/features/work-items/manage-work-item-link/schema.js.map +1 -0
- package/dist/features/work-items/schemas.d.ts +147 -0
- package/dist/features/work-items/schemas.js +134 -0
- package/dist/features/work-items/schemas.js.map +1 -0
- package/dist/features/work-items/tool-definitions.d.ts +5 -0
- package/dist/features/work-items/tool-definitions.js +36 -0
- package/dist/features/work-items/tool-definitions.js.map +1 -0
- package/dist/features/work-items/types.d.ts +39 -0
- package/dist/features/work-items/types.js +3 -0
- package/dist/features/work-items/types.js.map +1 -0
- package/dist/features/work-items/update-work-item/feature.d.ts +12 -0
- package/dist/features/work-items/update-work-item/feature.js +103 -0
- package/dist/features/work-items/update-work-item/feature.js.map +1 -0
- package/dist/features/work-items/update-work-item/feature.spec.int.d.ts +1 -0
- package/dist/features/work-items/update-work-item/feature.spec.int.js +84 -0
- package/dist/features/work-items/update-work-item/feature.spec.int.js.map +1 -0
- package/dist/features/work-items/update-work-item/feature.spec.unit.d.ts +1 -0
- package/dist/features/work-items/update-work-item/feature.spec.unit.js +38 -0
- package/dist/features/work-items/update-work-item/feature.spec.unit.js.map +1 -0
- package/dist/features/work-items/update-work-item/index.d.ts +2 -0
- package/dist/features/work-items/update-work-item/index.js +19 -0
- package/dist/features/work-items/update-work-item/index.js.map +1 -0
- package/dist/features/work-items/update-work-item/schema.d.ts +2 -0
- package/dist/features/work-items/update-work-item/schema.js +6 -0
- package/dist/features/work-items/update-work-item/schema.js.map +1 -0
- package/dist/index.d.ts +14 -0
- package/dist/index.js +99 -0
- package/dist/index.js.map +1 -0
- package/dist/index.spec.unit.d.ts +1 -0
- package/dist/index.spec.unit.js +83 -0
- package/dist/index.spec.unit.js.map +1 -0
- package/dist/server.d.ts +21 -0
- package/dist/server.js +382 -0
- package/dist/server.js.map +1 -0
- package/dist/server.spec.e2e.d.ts +1 -0
- package/dist/server.spec.e2e.js +229 -0
- package/dist/server.spec.e2e.js.map +1 -0
- package/dist/setup-env.spec.unit.d.ts +1 -0
- package/dist/setup-env.spec.unit.js +146 -0
- package/dist/setup-env.spec.unit.js.map +1 -0
- package/dist/shared/api/client.d.ts +91 -0
- package/dist/shared/api/client.js +242 -0
- package/dist/shared/api/client.js.map +1 -0
- package/dist/shared/api/index.d.ts +1 -0
- package/dist/shared/api/index.js +18 -0
- package/dist/shared/api/index.js.map +1 -0
- package/dist/shared/auth/auth-factory.d.ts +43 -0
- package/dist/shared/auth/auth-factory.js +140 -0
- package/dist/shared/auth/auth-factory.js.map +1 -0
- package/dist/shared/auth/auth-factory.spec.unit.d.ts +1 -0
- package/dist/shared/auth/auth-factory.spec.unit.js +38 -0
- package/dist/shared/auth/auth-factory.spec.unit.js.map +1 -0
- package/dist/shared/auth/client-factory.d.ts +109 -0
- package/dist/shared/auth/client-factory.js +272 -0
- package/dist/shared/auth/client-factory.js.map +1 -0
- package/dist/shared/auth/index.d.ts +11 -0
- package/dist/shared/auth/index.js +18 -0
- package/dist/shared/auth/index.js.map +1 -0
- package/dist/shared/azure-devops-url.d.ts +17 -0
- package/dist/shared/azure-devops-url.js +120 -0
- package/dist/shared/azure-devops-url.js.map +1 -0
- package/dist/shared/azure-devops-url.spec.unit.d.ts +1 -0
- package/dist/shared/azure-devops-url.spec.unit.js +103 -0
- package/dist/shared/azure-devops-url.spec.unit.js.map +1 -0
- package/dist/shared/config/index.d.ts +1 -0
- package/dist/shared/config/index.js +18 -0
- package/dist/shared/config/index.js.map +1 -0
- package/dist/shared/config/version.d.ts +4 -0
- package/dist/shared/config/version.js +8 -0
- package/dist/shared/config/version.js.map +1 -0
- package/dist/shared/enums/index.d.ts +40 -0
- package/dist/shared/enums/index.js +87 -0
- package/dist/shared/enums/index.js.map +1 -0
- package/dist/shared/enums/index.spec.unit.d.ts +1 -0
- package/dist/shared/enums/index.spec.unit.js +75 -0
- package/dist/shared/enums/index.spec.unit.js.map +1 -0
- package/dist/shared/errors/azure-devops-errors.d.ts +107 -0
- package/dist/shared/errors/azure-devops-errors.js +161 -0
- package/dist/shared/errors/azure-devops-errors.js.map +1 -0
- package/dist/shared/errors/handle-request-error.d.ts +31 -0
- package/dist/shared/errors/handle-request-error.js +98 -0
- package/dist/shared/errors/handle-request-error.js.map +1 -0
- package/dist/shared/errors/index.d.ts +1 -0
- package/dist/shared/errors/index.js +18 -0
- package/dist/shared/errors/index.js.map +1 -0
- package/dist/shared/test/test-helpers.d.ts +20 -0
- package/dist/shared/test/test-helpers.js +57 -0
- package/dist/shared/test/test-helpers.js.map +1 -0
- package/dist/shared/types/config.d.ts +27 -0
- package/dist/shared/types/config.js +3 -0
- package/dist/shared/types/config.js.map +1 -0
- package/dist/shared/types/index.d.ts +1 -0
- package/dist/shared/types/index.js +18 -0
- package/dist/shared/types/index.js.map +1 -0
- package/dist/shared/types/request-handler.d.ts +21 -0
- package/dist/shared/types/request-handler.js +3 -0
- package/dist/shared/types/request-handler.js.map +1 -0
- package/dist/shared/types/tool-definition.d.ts +10 -0
- package/dist/shared/types/tool-definition.js +3 -0
- package/dist/shared/types/tool-definition.js.map +1 -0
- package/dist/shared/utils/serialize.d.ts +5 -0
- package/dist/shared/utils/serialize.js +15 -0
- package/dist/shared/utils/serialize.js.map +1 -0
- package/dist/utils/environment.d.ts +15 -0
- package/dist/utils/environment.js +52 -0
- package/dist/utils/environment.js.map +1 -0
- package/dist/utils/environment.spec.unit.d.ts +1 -0
- package/dist/utils/environment.spec.unit.js +64 -0
- package/dist/utils/environment.spec.unit.js.map +1 -0
- package/docs/SOLUTION_SUMMARY.md +145 -0
- package/docs/authentication.md +267 -0
- package/docs/azure-identity-authentication.md +187 -0
- package/docs/ci-setup.md +61 -0
- package/docs/examples/README.md +33 -0
- package/docs/examples/azure-cli-authentication.env +25 -0
- package/docs/examples/azure-identity-authentication.env +33 -0
- package/docs/examples/pat-authentication.env +24 -0
- package/docs/important-knowledge/azure-devops-rest-api-research.md +88 -0
- package/docs/important-knowledge/llm-tldr-cli.md +37 -0
- package/docs/npm-trusted-publishers-migration.md +142 -0
- package/docs/release-troubleshooting.md +153 -0
- package/docs/testing/README.md +140 -0
- package/docs/testing/setup.md +72 -0
- package/docs/tools/README.md +73 -0
- package/docs/tools/core-navigation.md +114 -0
- package/docs/tools/organizations.md +73 -0
- package/docs/tools/pipelines.md +532 -0
- package/docs/tools/projects.md +114 -0
- package/docs/tools/pull-requests.md +1108 -0
- package/docs/tools/repositories.md +610 -0
- package/docs/tools/resources.md +133 -0
- package/docs/tools/search.md +165 -0
- package/docs/tools/user-tools.md +39 -0
- package/docs/tools/wiki.md +192 -0
- package/docs/tools/work-items.md +182 -0
- package/package.json +125 -0
|
@@ -0,0 +1,267 @@
|
|
|
1
|
+
# Authentication Guide for Azure DevOps MCP Server
|
|
2
|
+
|
|
3
|
+
This guide provides detailed information about the authentication methods supported by the Azure DevOps MCP Server, including setup instructions, configuration examples, and troubleshooting tips.
|
|
4
|
+
|
|
5
|
+
## Supported Authentication Methods
|
|
6
|
+
|
|
7
|
+
The Azure DevOps MCP Server supports three authentication methods:
|
|
8
|
+
|
|
9
|
+
1. **Personal Access Token (PAT)** - Simple token-based authentication
|
|
10
|
+
2. **Azure Identity (DefaultAzureCredential)** - Flexible authentication using the Azure Identity SDK
|
|
11
|
+
3. **Azure CLI** - Authentication using your Azure CLI login
|
|
12
|
+
|
|
13
|
+
Azure DevOps Server (on-prem) supports PAT authentication only. Azure Identity and Azure CLI are supported for Azure DevOps Services.
|
|
14
|
+
|
|
15
|
+
## Method 1: Personal Access Token (PAT) Authentication
|
|
16
|
+
|
|
17
|
+
PAT authentication is the simplest method and works well for personal use or testing.
|
|
18
|
+
|
|
19
|
+
### Setup Instructions
|
|
20
|
+
|
|
21
|
+
1. **Generate a PAT in Azure DevOps**:
|
|
22
|
+
|
|
23
|
+
- Go to https://dev.azure.com/{your-organization}/_usersSettings/tokens
|
|
24
|
+
- Or click on your profile picture > Personal access tokens
|
|
25
|
+
- Select "+ New Token"
|
|
26
|
+
- Name your token (e.g., "MCP Server Access")
|
|
27
|
+
- Set an expiration date
|
|
28
|
+
- Select the following scopes:
|
|
29
|
+
- **Code**: Read & Write
|
|
30
|
+
- **Work Items**: Read & Write
|
|
31
|
+
- **Build**: Read & Execute
|
|
32
|
+
- **Project and Team**: Read
|
|
33
|
+
- **Graph**: Read
|
|
34
|
+
- **Release**: Read & Execute
|
|
35
|
+
- Click "Create" and copy the generated token
|
|
36
|
+
|
|
37
|
+
2. **Configure your `.env` file**:
|
|
38
|
+
```
|
|
39
|
+
AZURE_DEVOPS_AUTH_METHOD=pat
|
|
40
|
+
AZURE_DEVOPS_ORG_URL=https://dev.azure.com/your-organization
|
|
41
|
+
AZURE_DEVOPS_PAT=your-personal-access-token
|
|
42
|
+
AZURE_DEVOPS_DEFAULT_PROJECT=your-default-project
|
|
43
|
+
```
|
|
44
|
+
|
|
45
|
+
### Security Considerations
|
|
46
|
+
|
|
47
|
+
- PATs have an expiration date and will need to be renewed
|
|
48
|
+
- Store your PAT securely and never commit it to source control
|
|
49
|
+
- Consider using environment variables or a secrets manager in production
|
|
50
|
+
- Scope your PAT to only the permissions needed for your use case
|
|
51
|
+
|
|
52
|
+
## Method 2: Azure Identity Authentication (DefaultAzureCredential)
|
|
53
|
+
|
|
54
|
+
Azure Identity authentication uses the `DefaultAzureCredential` class from the `@azure/identity` package, which provides a simplified authentication experience by trying multiple credential types in sequence.
|
|
55
|
+
|
|
56
|
+
> Note: Azure Identity authentication is supported for Azure DevOps Services only.
|
|
57
|
+
|
|
58
|
+
### How DefaultAzureCredential Works
|
|
59
|
+
|
|
60
|
+
`DefaultAzureCredential` tries the following credential types in order:
|
|
61
|
+
|
|
62
|
+
1. Environment variables (EnvironmentCredential)
|
|
63
|
+
2. Managed Identity (ManagedIdentityCredential)
|
|
64
|
+
3. Azure CLI (AzureCliCredential)
|
|
65
|
+
4. Visual Studio Code (VisualStudioCodeCredential)
|
|
66
|
+
5. Azure PowerShell (AzurePowerShellCredential)
|
|
67
|
+
6. Interactive Browser (InteractiveBrowserCredential) - optional, disabled by default
|
|
68
|
+
|
|
69
|
+
This makes it ideal for applications that need to work in different environments (local development, Azure-hosted) without code changes.
|
|
70
|
+
|
|
71
|
+
### Setup Instructions
|
|
72
|
+
|
|
73
|
+
1. **Install the Azure Identity SDK**:
|
|
74
|
+
The SDK is already included as a dependency in the Azure DevOps MCP Server.
|
|
75
|
+
|
|
76
|
+
2. **Configure your `.env` file**:
|
|
77
|
+
|
|
78
|
+
```
|
|
79
|
+
AZURE_DEVOPS_AUTH_METHOD=azure-identity
|
|
80
|
+
AZURE_DEVOPS_ORG_URL=https://dev.azure.com/your-organization
|
|
81
|
+
AZURE_DEVOPS_DEFAULT_PROJECT=your-default-project
|
|
82
|
+
```
|
|
83
|
+
|
|
84
|
+
3. **Set up credentials based on your environment**:
|
|
85
|
+
|
|
86
|
+
a. **For service principals (client credentials)**:
|
|
87
|
+
|
|
88
|
+
```
|
|
89
|
+
AZURE_TENANT_ID=your-tenant-id
|
|
90
|
+
AZURE_CLIENT_ID=your-client-id
|
|
91
|
+
AZURE_CLIENT_SECRET=your-client-secret
|
|
92
|
+
```
|
|
93
|
+
|
|
94
|
+
b. **For managed identities in Azure**:
|
|
95
|
+
No additional configuration needed if running in Azure with a managed identity.
|
|
96
|
+
|
|
97
|
+
c. **For local development**:
|
|
98
|
+
|
|
99
|
+
- Log in with Azure CLI: `az login`
|
|
100
|
+
- Or use Visual Studio Code Azure Account extension
|
|
101
|
+
|
|
102
|
+
### Security Considerations
|
|
103
|
+
|
|
104
|
+
- Use managed identities in Azure for improved security
|
|
105
|
+
- For service principals, rotate client secrets regularly
|
|
106
|
+
- Store credentials securely using Azure Key Vault or environment variables
|
|
107
|
+
- Apply the principle of least privilege when assigning roles
|
|
108
|
+
|
|
109
|
+
## Method 3: Azure CLI Authentication
|
|
110
|
+
|
|
111
|
+
Azure CLI authentication uses the `AzureCliCredential` class from the `@azure/identity` package, which authenticates using the Azure CLI's logged-in account.
|
|
112
|
+
|
|
113
|
+
> Note: Azure CLI authentication is supported for Azure DevOps Services only.
|
|
114
|
+
|
|
115
|
+
### Setup Instructions
|
|
116
|
+
|
|
117
|
+
1. **Install the Azure CLI**:
|
|
118
|
+
|
|
119
|
+
- Follow the instructions at https://docs.microsoft.com/cli/azure/install-azure-cli
|
|
120
|
+
|
|
121
|
+
2. **Log in to Azure**:
|
|
122
|
+
|
|
123
|
+
```bash
|
|
124
|
+
az login
|
|
125
|
+
```
|
|
126
|
+
|
|
127
|
+
3. **Configure your `.env` file**:
|
|
128
|
+
```
|
|
129
|
+
AZURE_DEVOPS_AUTH_METHOD=azure-cli
|
|
130
|
+
AZURE_DEVOPS_ORG_URL=https://dev.azure.com/your-organization
|
|
131
|
+
AZURE_DEVOPS_DEFAULT_PROJECT=your-default-project
|
|
132
|
+
```
|
|
133
|
+
|
|
134
|
+
### Security Considerations
|
|
135
|
+
|
|
136
|
+
- Azure CLI authentication is best for local development
|
|
137
|
+
- Ensure your Azure CLI session is kept secure
|
|
138
|
+
- Log out when not in use: `az logout`
|
|
139
|
+
|
|
140
|
+
## Configuration Reference
|
|
141
|
+
|
|
142
|
+
| Variable | Description | Required | Default |
|
|
143
|
+
| ------------------------------ | ---------------------------------------------------------------------------------- | ---------------------------- | ---------------- |
|
|
144
|
+
| `AZURE_DEVOPS_AUTH_METHOD` | Authentication method (`pat`, `azure-identity`, or `azure-cli`) - case-insensitive | No | `azure-identity` |
|
|
145
|
+
| `AZURE_DEVOPS_ORG_URL` | Full URL to your Azure DevOps organization | Yes | - |
|
|
146
|
+
| `AZURE_DEVOPS_PAT` | Personal Access Token (for PAT auth) | Only with PAT auth | - |
|
|
147
|
+
| `AZURE_DEVOPS_DEFAULT_PROJECT` | Default project if none specified | No | - |
|
|
148
|
+
| `AZURE_DEVOPS_API_VERSION` | API version to use | No | Latest |
|
|
149
|
+
| `AZURE_TENANT_ID` | Azure AD tenant ID (for service principals) | Only with service principals | - |
|
|
150
|
+
| `AZURE_CLIENT_ID` | Azure AD application ID (for service principals) | Only with service principals | - |
|
|
151
|
+
| `AZURE_CLIENT_SECRET` | Azure AD client secret (for service principals) | Only with service principals | - |
|
|
152
|
+
| `LOG_LEVEL` | Logging level (debug, info, warn, error) | No | info |
|
|
153
|
+
|
|
154
|
+
## Troubleshooting Authentication Issues
|
|
155
|
+
|
|
156
|
+
### PAT Authentication Issues
|
|
157
|
+
|
|
158
|
+
1. **Invalid PAT**: Ensure your PAT hasn't expired and has the required scopes
|
|
159
|
+
|
|
160
|
+
- Error: `TF400813: The user 'xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx' is not authorized to access this resource.`
|
|
161
|
+
- Solution: Generate a new PAT with the correct scopes
|
|
162
|
+
|
|
163
|
+
2. **Scope issues**: If receiving 403 errors, check if your PAT has the necessary permissions
|
|
164
|
+
|
|
165
|
+
- Error: `TF401027: You need the Git 'Read' permission to perform this action.`
|
|
166
|
+
- Solution: Update your PAT with the required scopes
|
|
167
|
+
|
|
168
|
+
3. **Organization access**: Verify your PAT has access to the organization specified in the URL
|
|
169
|
+
- Error: `TF400813: Resource not found for anonymous request.`
|
|
170
|
+
- Solution: Ensure your PAT has access to the specified organization
|
|
171
|
+
|
|
172
|
+
### Azure Identity Authentication Issues
|
|
173
|
+
|
|
174
|
+
1. **Missing credentials**: Ensure you have the necessary credentials configured
|
|
175
|
+
|
|
176
|
+
- Error: `CredentialUnavailableError: DefaultAzureCredential failed to retrieve a token`
|
|
177
|
+
- Solution: Check that you're logged in with Azure CLI or have environment variables set
|
|
178
|
+
|
|
179
|
+
2. **Permission issues**: Verify your identity has the necessary permissions
|
|
180
|
+
|
|
181
|
+
- Error: `AuthorizationFailed: The client does not have authorization to perform action`
|
|
182
|
+
- Solution: Assign the appropriate roles to your identity
|
|
183
|
+
|
|
184
|
+
3. **Token acquisition errors**: Check network connectivity and Azure AD endpoint availability
|
|
185
|
+
- Error: `ClientAuthError: Interaction required`
|
|
186
|
+
- Solution: Check network connectivity or use a different credential type
|
|
187
|
+
|
|
188
|
+
### Azure CLI Authentication Issues
|
|
189
|
+
|
|
190
|
+
1. **CLI not installed**: Ensure Azure CLI is installed and in your PATH
|
|
191
|
+
|
|
192
|
+
- Error: `AzureCliCredential authentication failed: Azure CLI not found`
|
|
193
|
+
- Solution: Install Azure CLI
|
|
194
|
+
|
|
195
|
+
2. **Not logged in**: Verify you're logged in to Azure CLI
|
|
196
|
+
|
|
197
|
+
- Error: `AzureCliCredential authentication failed: Please run 'az login'`
|
|
198
|
+
- Solution: Run `az login`
|
|
199
|
+
|
|
200
|
+
3. **Permission issues**: Check if your Azure CLI account has access to Azure DevOps
|
|
201
|
+
- Error: `TF400813: The user is not authorized to access this resource`
|
|
202
|
+
- Solution: Log in with an account that has access to Azure DevOps
|
|
203
|
+
|
|
204
|
+
## Best Practices
|
|
205
|
+
|
|
206
|
+
1. **Choose the right authentication method for your environment**:
|
|
207
|
+
|
|
208
|
+
- For local development: Azure CLI or PAT
|
|
209
|
+
- For CI/CD pipelines: PAT or service principal
|
|
210
|
+
- For Azure-hosted applications: Managed Identity
|
|
211
|
+
|
|
212
|
+
2. **Follow the principle of least privilege**:
|
|
213
|
+
|
|
214
|
+
- Only grant the permissions needed for your use case
|
|
215
|
+
- Regularly review and rotate credentials
|
|
216
|
+
|
|
217
|
+
3. **Secure your credentials**:
|
|
218
|
+
|
|
219
|
+
- Use environment variables or a secrets manager
|
|
220
|
+
- Never commit credentials to source control
|
|
221
|
+
- Set appropriate expiration dates for PATs
|
|
222
|
+
|
|
223
|
+
4. **Monitor and audit authentication**:
|
|
224
|
+
- Review Azure DevOps access logs
|
|
225
|
+
- Set up alerts for suspicious activity
|
|
226
|
+
|
|
227
|
+
## Examples
|
|
228
|
+
|
|
229
|
+
### Example 1: Local Development with PAT
|
|
230
|
+
|
|
231
|
+
```bash
|
|
232
|
+
# .env file
|
|
233
|
+
AZURE_DEVOPS_AUTH_METHOD=pat
|
|
234
|
+
AZURE_DEVOPS_ORG_URL=https://dev.azure.com/mycompany
|
|
235
|
+
AZURE_DEVOPS_PAT=abcdefghijklmnopqrstuvwxyz0123456789
|
|
236
|
+
AZURE_DEVOPS_DEFAULT_PROJECT=MyProject
|
|
237
|
+
```
|
|
238
|
+
|
|
239
|
+
### Example 2: Azure-hosted Application with Managed Identity
|
|
240
|
+
|
|
241
|
+
```bash
|
|
242
|
+
# .env file
|
|
243
|
+
AZURE_DEVOPS_AUTH_METHOD=azure-identity
|
|
244
|
+
AZURE_DEVOPS_ORG_URL=https://dev.azure.com/mycompany
|
|
245
|
+
AZURE_DEVOPS_DEFAULT_PROJECT=MyProject
|
|
246
|
+
```
|
|
247
|
+
|
|
248
|
+
### Example 3: CI/CD Pipeline with Service Principal
|
|
249
|
+
|
|
250
|
+
```bash
|
|
251
|
+
# .env file
|
|
252
|
+
AZURE_DEVOPS_AUTH_METHOD=azure-identity
|
|
253
|
+
AZURE_DEVOPS_ORG_URL=https://dev.azure.com/mycompany
|
|
254
|
+
AZURE_DEVOPS_DEFAULT_PROJECT=MyProject
|
|
255
|
+
AZURE_TENANT_ID=00000000-0000-0000-0000-000000000000
|
|
256
|
+
AZURE_CLIENT_ID=11111111-1111-1111-1111-111111111111
|
|
257
|
+
AZURE_CLIENT_SECRET=your-client-secret
|
|
258
|
+
```
|
|
259
|
+
|
|
260
|
+
### Example 4: Local Development with Azure CLI
|
|
261
|
+
|
|
262
|
+
```bash
|
|
263
|
+
# .env file
|
|
264
|
+
AZURE_DEVOPS_AUTH_METHOD=azure-cli
|
|
265
|
+
AZURE_DEVOPS_ORG_URL=https://dev.azure.com/mycompany
|
|
266
|
+
AZURE_DEVOPS_DEFAULT_PROJECT=MyProject
|
|
267
|
+
```
|
|
@@ -0,0 +1,187 @@
|
|
|
1
|
+
# Azure Identity Authentication for Azure DevOps MCP Server
|
|
2
|
+
|
|
3
|
+
This guide explains how to use Azure Identity authentication with the Azure DevOps MCP Server.
|
|
4
|
+
|
|
5
|
+
## Overview
|
|
6
|
+
|
|
7
|
+
Azure Identity authentication lets you use your existing Azure credentials to authenticate with Azure DevOps, instead of creating and managing Personal Access Tokens (PATs). This approach offers several benefits:
|
|
8
|
+
|
|
9
|
+
- **Unified authentication**: Use the same credentials for Azure and Azure DevOps
|
|
10
|
+
- **Enhanced security**: Support for managed identities and client certificates
|
|
11
|
+
- **Flexible credential types**: Multiple options for different environments
|
|
12
|
+
- **Automatic token management**: Handles token acquisition and renewal
|
|
13
|
+
|
|
14
|
+
## Credential Types
|
|
15
|
+
|
|
16
|
+
The Azure DevOps MCP Server supports multiple credential types through the Azure Identity SDK:
|
|
17
|
+
|
|
18
|
+
### DefaultAzureCredential
|
|
19
|
+
|
|
20
|
+
This credential type attempts multiple authentication methods in sequence until one succeeds:
|
|
21
|
+
|
|
22
|
+
1. Environment variables (EnvironmentCredential)
|
|
23
|
+
2. Managed Identity (ManagedIdentityCredential)
|
|
24
|
+
3. Azure CLI (AzureCliCredential)
|
|
25
|
+
4. Visual Studio Code (VisualStudioCodeCredential)
|
|
26
|
+
5. Azure PowerShell (AzurePowerShellCredential)
|
|
27
|
+
|
|
28
|
+
It's a great option for applications that need to work across different environments without code changes.
|
|
29
|
+
|
|
30
|
+
### AzureCliCredential
|
|
31
|
+
|
|
32
|
+
This credential type uses your Azure CLI login. It's perfect for local development when you're already using the Azure CLI.
|
|
33
|
+
|
|
34
|
+
## Configuration
|
|
35
|
+
|
|
36
|
+
### Environment Variables
|
|
37
|
+
|
|
38
|
+
To use Azure Identity authentication, set the following environment variables:
|
|
39
|
+
|
|
40
|
+
```bash
|
|
41
|
+
# Required
|
|
42
|
+
AZURE_DEVOPS_ORG_URL=https://dev.azure.com/your-organization
|
|
43
|
+
AZURE_DEVOPS_AUTH_METHOD=azure-identity
|
|
44
|
+
|
|
45
|
+
# Optional
|
|
46
|
+
AZURE_DEVOPS_DEFAULT_PROJECT=your-project-name
|
|
47
|
+
```
|
|
48
|
+
|
|
49
|
+
For service principal authentication, add these environment variables:
|
|
50
|
+
|
|
51
|
+
```bash
|
|
52
|
+
AZURE_TENANT_ID=your-tenant-id
|
|
53
|
+
AZURE_CLIENT_ID=your-client-id
|
|
54
|
+
AZURE_CLIENT_SECRET=your-client-secret
|
|
55
|
+
```
|
|
56
|
+
|
|
57
|
+
### Use with Claude Desktop/Cursor AI
|
|
58
|
+
|
|
59
|
+
Add the following to your configuration file:
|
|
60
|
+
|
|
61
|
+
```json
|
|
62
|
+
{
|
|
63
|
+
"mcpServers": {
|
|
64
|
+
"azureDevOps": {
|
|
65
|
+
"command": "npx",
|
|
66
|
+
"args": ["-y", "@tiberriver256/mcp-server-azure-devops"],
|
|
67
|
+
"env": {
|
|
68
|
+
"AZURE_DEVOPS_ORG_URL": "https://dev.azure.com/your-organization",
|
|
69
|
+
"AZURE_DEVOPS_AUTH_METHOD": "azure-identity",
|
|
70
|
+
"AZURE_DEVOPS_DEFAULT_PROJECT": "your-project-name"
|
|
71
|
+
}
|
|
72
|
+
}
|
|
73
|
+
}
|
|
74
|
+
}
|
|
75
|
+
```
|
|
76
|
+
|
|
77
|
+
## Authentication Methods
|
|
78
|
+
|
|
79
|
+
### Method 1: Using Azure CLI
|
|
80
|
+
|
|
81
|
+
1. Install the Azure CLI from [here](https://docs.microsoft.com/cli/azure/install-azure-cli)
|
|
82
|
+
2. Log in to Azure:
|
|
83
|
+
```bash
|
|
84
|
+
az login
|
|
85
|
+
```
|
|
86
|
+
3. Set up your environment variables:
|
|
87
|
+
```bash
|
|
88
|
+
AZURE_DEVOPS_ORG_URL=https://dev.azure.com/your-organization
|
|
89
|
+
AZURE_DEVOPS_AUTH_METHOD=azure-identity
|
|
90
|
+
```
|
|
91
|
+
|
|
92
|
+
### Method 2: Using Service Principal
|
|
93
|
+
|
|
94
|
+
1. Create a service principal in Azure AD:
|
|
95
|
+
```bash
|
|
96
|
+
az ad sp create-for-rbac --name "MyAzureDevOpsApp"
|
|
97
|
+
```
|
|
98
|
+
2. Grant the service principal access to your Azure DevOps organization
|
|
99
|
+
3. Set up your environment variables:
|
|
100
|
+
```bash
|
|
101
|
+
AZURE_DEVOPS_ORG_URL=https://dev.azure.com/your-organization
|
|
102
|
+
AZURE_DEVOPS_AUTH_METHOD=azure-identity
|
|
103
|
+
AZURE_TENANT_ID=your-tenant-id
|
|
104
|
+
AZURE_CLIENT_ID=your-client-id
|
|
105
|
+
AZURE_CLIENT_SECRET=your-client-secret
|
|
106
|
+
```
|
|
107
|
+
|
|
108
|
+
### Method 3: Using Managed Identity (for Azure-hosted applications)
|
|
109
|
+
|
|
110
|
+
1. Enable managed identity for your Azure resource (VM, App Service, etc.)
|
|
111
|
+
2. Grant the managed identity access to your Azure DevOps organization
|
|
112
|
+
3. Set up your environment variables:
|
|
113
|
+
```bash
|
|
114
|
+
AZURE_DEVOPS_ORG_URL=https://dev.azure.com/your-organization
|
|
115
|
+
AZURE_DEVOPS_AUTH_METHOD=azure-identity
|
|
116
|
+
```
|
|
117
|
+
|
|
118
|
+
## Troubleshooting
|
|
119
|
+
|
|
120
|
+
### Common Issues
|
|
121
|
+
|
|
122
|
+
#### Failed to acquire token
|
|
123
|
+
|
|
124
|
+
```
|
|
125
|
+
Error: Failed to authenticate with Azure Identity: CredentialUnavailableError: DefaultAzureCredential failed to retrieve a token
|
|
126
|
+
```
|
|
127
|
+
|
|
128
|
+
**Possible solutions:**
|
|
129
|
+
- Ensure you're logged in with `az login`
|
|
130
|
+
- Check if your managed identity is correctly configured
|
|
131
|
+
- Verify that service principal credentials are correct
|
|
132
|
+
|
|
133
|
+
#### Permission issues
|
|
134
|
+
|
|
135
|
+
```
|
|
136
|
+
Error: Failed to authenticate with Azure Identity: AuthorizationFailed: The client does not have authorization to perform action
|
|
137
|
+
```
|
|
138
|
+
|
|
139
|
+
**Possible solutions:**
|
|
140
|
+
- Ensure your identity has the necessary permissions in Azure DevOps
|
|
141
|
+
- Check if you need to add your identity to specific Azure DevOps project(s)
|
|
142
|
+
|
|
143
|
+
#### Network issues
|
|
144
|
+
|
|
145
|
+
```
|
|
146
|
+
Error: Failed to authenticate with Azure Identity: ClientAuthError: Interaction required
|
|
147
|
+
```
|
|
148
|
+
|
|
149
|
+
**Possible solutions:**
|
|
150
|
+
- Check your network connectivity
|
|
151
|
+
- Verify that your firewall allows connections to Azure services
|
|
152
|
+
|
|
153
|
+
## Best Practices
|
|
154
|
+
|
|
155
|
+
1. **Choose the right credential type for your environment**:
|
|
156
|
+
- For local development: Azure CLI credential
|
|
157
|
+
- For CI/CD pipelines: Service principal
|
|
158
|
+
- For Azure-hosted applications: Managed identity
|
|
159
|
+
|
|
160
|
+
2. **Follow the principle of least privilege**:
|
|
161
|
+
- Only grant the permissions needed for your use case
|
|
162
|
+
- Regularly audit and review permissions
|
|
163
|
+
|
|
164
|
+
3. **Rotate credentials regularly**:
|
|
165
|
+
- For service principals, rotate client secrets periodically
|
|
166
|
+
- Use certificate-based authentication when possible for enhanced security
|
|
167
|
+
|
|
168
|
+
## Examples
|
|
169
|
+
|
|
170
|
+
### Basic configuration with Azure CLI
|
|
171
|
+
|
|
172
|
+
```bash
|
|
173
|
+
AZURE_DEVOPS_ORG_URL=https://dev.azure.com/mycompany
|
|
174
|
+
AZURE_DEVOPS_AUTH_METHOD=azure-identity
|
|
175
|
+
AZURE_DEVOPS_DEFAULT_PROJECT=MyProject
|
|
176
|
+
```
|
|
177
|
+
|
|
178
|
+
### Service principal authentication
|
|
179
|
+
|
|
180
|
+
```bash
|
|
181
|
+
AZURE_DEVOPS_ORG_URL=https://dev.azure.com/mycompany
|
|
182
|
+
AZURE_DEVOPS_AUTH_METHOD=azure-identity
|
|
183
|
+
AZURE_DEVOPS_DEFAULT_PROJECT=MyProject
|
|
184
|
+
AZURE_TENANT_ID=00000000-0000-0000-0000-000000000000
|
|
185
|
+
AZURE_CLIENT_ID=11111111-1111-1111-1111-111111111111
|
|
186
|
+
AZURE_CLIENT_SECRET=your-client-secret
|
|
187
|
+
```
|
package/docs/ci-setup.md
ADDED
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
# CI Environment Setup for Integration Tests
|
|
2
|
+
|
|
3
|
+
This document explains how to set up the CI environment to run integration tests with Azure DevOps.
|
|
4
|
+
|
|
5
|
+
## GitHub Secrets Configuration
|
|
6
|
+
|
|
7
|
+
To run integration tests in the CI environment, you need to configure the following GitHub Secrets:
|
|
8
|
+
|
|
9
|
+
1. **AZURE_DEVOPS_ORG_URL**: The URL of your Azure DevOps organization (e.g., `https://dev.azure.com/your-organization`)
|
|
10
|
+
2. **AZURE_DEVOPS_PAT**: A Personal Access Token with appropriate permissions
|
|
11
|
+
3. **AZURE_DEVOPS_DEFAULT_PROJECT** (optional): The default project to use for tests
|
|
12
|
+
|
|
13
|
+
### Setting up GitHub Secrets
|
|
14
|
+
|
|
15
|
+
1. Go to your GitHub repository
|
|
16
|
+
2. Click on "Settings" > "Secrets and variables" > "Actions"
|
|
17
|
+
3. Click on "New repository secret"
|
|
18
|
+
4. Add each of the required secrets:
|
|
19
|
+
|
|
20
|
+
#### AZURE_DEVOPS_ORG_URL
|
|
21
|
+
|
|
22
|
+
- Name: `AZURE_DEVOPS_ORG_URL`
|
|
23
|
+
- Value: `https://dev.azure.com/your-organization`
|
|
24
|
+
|
|
25
|
+
#### AZURE_DEVOPS_PAT
|
|
26
|
+
|
|
27
|
+
- Name: `AZURE_DEVOPS_PAT`
|
|
28
|
+
- Value: Your Personal Access Token
|
|
29
|
+
|
|
30
|
+
#### AZURE_DEVOPS_DEFAULT_PROJECT (optional)
|
|
31
|
+
|
|
32
|
+
- Name: `AZURE_DEVOPS_DEFAULT_PROJECT`
|
|
33
|
+
- Value: Your project name
|
|
34
|
+
|
|
35
|
+
## Personal Access Token (PAT) Requirements
|
|
36
|
+
|
|
37
|
+
The PAT used for integration tests should have the following permissions:
|
|
38
|
+
|
|
39
|
+
- **Code**: Read & Write
|
|
40
|
+
- **Work Items**: Read & Write
|
|
41
|
+
- **Build**: Read & Execute
|
|
42
|
+
- **Project and Team**: Read
|
|
43
|
+
- **Graph**: Read
|
|
44
|
+
- **Release**: Read & Execute
|
|
45
|
+
|
|
46
|
+
## Security Considerations
|
|
47
|
+
|
|
48
|
+
- Use a dedicated Azure DevOps organization or project for testing
|
|
49
|
+
- Create a PAT with the minimum required permissions
|
|
50
|
+
- Consider setting an expiration date for the PAT
|
|
51
|
+
- Regularly rotate the PAT used in GitHub Secrets
|
|
52
|
+
|
|
53
|
+
## Troubleshooting
|
|
54
|
+
|
|
55
|
+
If integration tests fail in CI:
|
|
56
|
+
|
|
57
|
+
1. Check the GitHub Actions logs for detailed error messages
|
|
58
|
+
2. Verify that the PAT has not expired
|
|
59
|
+
3. Ensure the PAT has the required permissions
|
|
60
|
+
4. Confirm that the organization URL is correct
|
|
61
|
+
5. Check if the default project exists and is accessible with the provided PAT
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
# Authentication Examples
|
|
2
|
+
|
|
3
|
+
This directory contains example `.env` files for different authentication methods supported by the Azure DevOps MCP Server.
|
|
4
|
+
|
|
5
|
+
## Available Examples
|
|
6
|
+
|
|
7
|
+
1. **[pat-authentication.env](./pat-authentication.env)** - Example configuration for Personal Access Token (PAT) authentication
|
|
8
|
+
2. **[azure-identity-authentication.env](./azure-identity-authentication.env)** - Example configuration for Azure Identity (DefaultAzureCredential) authentication
|
|
9
|
+
3. **[azure-cli-authentication.env](./azure-cli-authentication.env)** - Example configuration for Azure CLI authentication
|
|
10
|
+
|
|
11
|
+
## How to Use These Examples
|
|
12
|
+
|
|
13
|
+
1. Choose the authentication method that best suits your needs
|
|
14
|
+
2. Copy the corresponding example file to the root of your project as `.env`
|
|
15
|
+
3. Replace the placeholder values with your actual values
|
|
16
|
+
4. Start the Azure DevOps MCP Server
|
|
17
|
+
|
|
18
|
+
For example:
|
|
19
|
+
|
|
20
|
+
```bash
|
|
21
|
+
# Copy the PAT authentication example
|
|
22
|
+
cp docs/examples/pat-authentication.env .env
|
|
23
|
+
|
|
24
|
+
# Edit the .env file with your values
|
|
25
|
+
nano .env
|
|
26
|
+
|
|
27
|
+
# Start the server
|
|
28
|
+
npm start
|
|
29
|
+
```
|
|
30
|
+
|
|
31
|
+
## Additional Resources
|
|
32
|
+
|
|
33
|
+
For more detailed information about authentication methods, setup instructions, and troubleshooting, refer to the [Authentication Guide](../authentication.md).
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
# Example .env file for Azure CLI authentication
|
|
2
|
+
# Replace the values with your own
|
|
3
|
+
|
|
4
|
+
# Authentication method (required)
|
|
5
|
+
AZURE_DEVOPS_AUTH_METHOD=azure-cli
|
|
6
|
+
|
|
7
|
+
# Azure DevOps organization URL (required)
|
|
8
|
+
AZURE_DEVOPS_ORG_URL=https://dev.azure.com/your-organization
|
|
9
|
+
|
|
10
|
+
# Default project to use when not specified (optional)
|
|
11
|
+
AZURE_DEVOPS_DEFAULT_PROJECT=your-default-project
|
|
12
|
+
|
|
13
|
+
# API Version to use (optional, defaults to latest)
|
|
14
|
+
# AZURE_DEVOPS_API_VERSION=6.0
|
|
15
|
+
|
|
16
|
+
# Logging Level (optional)
|
|
17
|
+
LOG_LEVEL=info
|
|
18
|
+
|
|
19
|
+
# Note: This server uses stdio for communication with the MCP client,
|
|
20
|
+
# not HTTP. It does not listen on a network port.
|
|
21
|
+
|
|
22
|
+
# Note: Before using Azure CLI authentication, make sure you have:
|
|
23
|
+
# 1. Installed the Azure CLI (https://docs.microsoft.com/cli/azure/install-azure-cli)
|
|
24
|
+
# 2. Logged in with 'az login'
|
|
25
|
+
# 3. Verified your account has access to the Azure DevOps organization
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
# Example .env file for Azure Identity (DefaultAzureCredential) authentication
|
|
2
|
+
# Replace the values with your own
|
|
3
|
+
|
|
4
|
+
# Authentication method (required)
|
|
5
|
+
AZURE_DEVOPS_AUTH_METHOD=azure-identity
|
|
6
|
+
|
|
7
|
+
# Azure DevOps organization URL (required)
|
|
8
|
+
AZURE_DEVOPS_ORG_URL=https://dev.azure.com/your-organization
|
|
9
|
+
|
|
10
|
+
# Default project to use when not specified (optional)
|
|
11
|
+
AZURE_DEVOPS_DEFAULT_PROJECT=your-default-project
|
|
12
|
+
|
|
13
|
+
# API Version to use (optional, defaults to latest)
|
|
14
|
+
# AZURE_DEVOPS_API_VERSION=6.0
|
|
15
|
+
|
|
16
|
+
# Azure AD tenant ID (required for service principal authentication)
|
|
17
|
+
# AZURE_TENANT_ID=your-tenant-id
|
|
18
|
+
|
|
19
|
+
# Azure AD client ID (required for service principal authentication)
|
|
20
|
+
# AZURE_CLIENT_ID=your-client-id
|
|
21
|
+
|
|
22
|
+
# Azure AD client secret (required for service principal authentication)
|
|
23
|
+
# AZURE_CLIENT_SECRET=your-client-secret
|
|
24
|
+
|
|
25
|
+
# Logging Level (optional)
|
|
26
|
+
LOG_LEVEL=info
|
|
27
|
+
|
|
28
|
+
# Note: This server uses stdio for communication with the MCP client,
|
|
29
|
+
# not HTTP. It does not listen on a network port.
|
|
30
|
+
|
|
31
|
+
# Note: When using DefaultAzureCredential, you don't need to set AZURE_TENANT_ID,
|
|
32
|
+
# AZURE_CLIENT_ID, and AZURE_CLIENT_SECRET if you're using other credential types
|
|
33
|
+
# like Managed Identity or Azure CLI.
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
# Example .env file for Personal Access Token (PAT) authentication
|
|
2
|
+
# Replace the values with your own
|
|
3
|
+
|
|
4
|
+
# Authentication method (required)
|
|
5
|
+
AZURE_DEVOPS_AUTH_METHOD=pat
|
|
6
|
+
|
|
7
|
+
# Azure DevOps organization URL (required)
|
|
8
|
+
AZURE_DEVOPS_ORG_URL=https://dev.azure.com/your-organization
|
|
9
|
+
|
|
10
|
+
# Personal Access Token (required for PAT authentication)
|
|
11
|
+
# Create one at: https://dev.azure.com/your-organization/_usersSettings/tokens
|
|
12
|
+
AZURE_DEVOPS_PAT=your-personal-access-token
|
|
13
|
+
|
|
14
|
+
# Default project to use when not specified (optional)
|
|
15
|
+
AZURE_DEVOPS_DEFAULT_PROJECT=your-default-project
|
|
16
|
+
|
|
17
|
+
# API Version to use (optional, defaults to latest)
|
|
18
|
+
# AZURE_DEVOPS_API_VERSION=6.0
|
|
19
|
+
|
|
20
|
+
# Logging Level (optional)
|
|
21
|
+
LOG_LEVEL=info
|
|
22
|
+
|
|
23
|
+
# Note: This server uses stdio for communication with the MCP client,
|
|
24
|
+
# not HTTP. It does not listen on a network port.
|