Skip to main content
Use Azure DevOps through Corsair: one client, typed API calls. Create a personal access token in Azure DevOps (User settings > Personal access tokens) with the scopes you need, and connect it with the organization name (fabrikam for dev.azure.com/fabrikam). Things to know before you write:
  • Hosts. Most routes live on dev.azure.com/<organization>. Releases are on vsrm.dev.azure.com, artifact feeds on feeds. and pkgs.dev.azure.com, users and groups on vssps. and vsaex.dev.azure.com, audit on auditservice., search on almsearch., test results on vstmr.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 }; pass nextCursor back as continuationToken. Others take $top and $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 project for an organization-scoped feed or a Git route across projects, team for the project’s default team, path for the area or iteration root (pass Parent/Child for a nested node), timelineId for 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.
What you get:
  • 1058 typed API operations

Setup

1

Install

2

Add the plugin

corsair.ts
With multiTenancy: true, scope calls with corsair.withTenant(id). See Quick start for KEK + Hub keys, and Multi-tenancy for account isolation.
3

Choose authentication

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 projects
Create a work item
Every operation is listed in the package’s README; the input and output types are in endpoints/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.