fabrikam for dev.azure.com/fabrikam). Things to know before you write:
- Hosts. Most routes live on
dev.azure.com/<organization>. Releases are onvsrm.dev.azure.com, artifact feeds onfeeds.andpkgs.dev.azure.com, users and groups onvssps.andvsaex.dev.azure.com, audit onauditservice., search onalmsearch., test results onvstmr.dev.azure.com. The plugin picks the host per operation. - API versions. Each operation sends the api-version Microsoft documents it at (7.1, or 7.1-preview.N for preview APIs).
- Work items are created and updated with a JSON Patch list in
body:[{ "op": "add", "path": "/fields/System.Title", "value": "..." }]. - Paging. List routes that page with a continuation token return
{ items, nextCursor }; passnextCursorback ascontinuationToken. Others take$topand$skip. - What costs money or acts. Queuing builds and running pipelines use pipeline minutes; adding users or raising access levels can add paid licences; completing a pull request merges it; service connections hold credentials. These and every delete are
destructive. - Optional segments. Where Microsoft’s route leaves a segment optional, so does the plugin: leave out
projectfor an organization-scoped feed or a Git route across projects,teamfor the project’s default team,pathfor the area or iteration root (passParent/Childfor a nested node),timelineIdfor a build’s main timeline. - New organizations. Creating an organization now asks for an Azure subscription (seen 2026-11-28), and an Azure free account needs a card and a phone number. A new organization has classic build and release pipelines turned off: classic definitions, task groups and deployment groups answer 400 “classic pipelines are disabled” until an admin turns them on. Creating test plans needs the Basic + Test Plans access level (403 without it).
- Records you can’t delete. Test settings answer “in use” to every delete, exploratory test sessions and permissions reports have no delete route, and a team’s last dashboard can’t be deleted (VS402433).
- Not-found as 500. Some areas (agent clouds, build controllers and templates, security role scopes, hooks, test attachments) answer a missing record with a 500 that says so; reads are retried twice first.
- 1058 typed API operations
Setup
1
Install
2
Add the plugin
corsair.ts
multiTenancy: true, scope calls with corsair.withTenant(id). See Quick start for KEK + Hub keys, and Multi-tenancy for account isolation.3
Choose authentication
- API Key (Recommended)
Store the Azure DevOps API key before the first call: More: API Key
pnpm corsair setup --plugin=azuredevops --tenant=acme api_key=<your-key> (leave out --tenant without multiTenancy), or pass it as key in the plugin options. With Hub, each tenant enters their own key on the connect page. See API key auth.4
Connect a tenant
Mint a connect link and send the tenant to it. Hub hosts the page and delivers the result to your app — see Connect / OAuth.
Example API calls
List projectsendpoints/operation-types.ts in the source repository.
What’s next
Connect / OAuth
createLink, Hub delivery, and tenant connect flows.
Use with agents
Expose this plugin’s operations as MCP tools.