Share via

GitHub MCP Allowlist - Azure DevOps Local MCP Server

Gentle Nest 5 Reputation points
2025-12-05T18:20:30.7333333+00:00

Using GitHub Copilot Enterprise, I want to set up an MCP Registry Allowlist.

The instructions include a way to use the Azure API Center.

We want to use Azure DevOps MCP server, but it is only available/supported as a local MCP server.

So how can I put a local MCP server into the Azure API Center?

Azure DevOps

1 answer

Sort by: Most helpful
  1. Siddhesh Desai 7,055 Reputation points Microsoft External Staff Moderator
    2025-12-24T12:44:05.0433333+00:00

    Hi @Gentle Nest

    Thank you for reaching out to Microsoft Q&A

    You cannot add Azure Devops MCP Server directly in Api Center, In order to add your local API server in API Center, you'll have to create an api-definition for local API Server and register it in API Center. Refer: https://learn.microsoft.com/en-us/azure/api-center/build-register-apis-vscode-extension and https://learn.microsoft.com/en-us/azure/api-center/design-api-github-copilot-azure

    Sample definition openapi.yaml:

    openapi: 3.0.1

    info:

    title: Azure DevOps Work Items API (Curated)

    version: 1.0.0

    description: Curated subset of ADO REST endpoints used by our apps

    servers:

    - url: https://dev.azure.com/{organization}

    variables:

    organization:

    default: my-org

    description: Azure DevOps organization

    paths:

    /{project}/_apis/wit/workitems:

    post:

    summary: Create work item

    parameters:

    - in: path

    name: project

    required: true

    schema: { type: string }

    requestBody:

    required: true

    content:

    application/json-patch+json:

    schema:

    type: array

    items: { type: object }

    responses:

    '200':

    description: Work item created

    security:

    - patAuth: []

    components:

    securitySchemes:

    patAuth:

    type: http

    scheme: bearer

    bearerFormat: PAT

    You can create api-definition like above for your local server and add it in the API center.

    Alternatively, You can directly use Azure Devops MCP Server with Github co-pilot by following the steps below:

    Select Add MCP Server in your VS code command palette:

    In the Add MCP Server > Select Azure Devops > install Azure Devops > Write your Organization name and repeat your organization name > Your Devops server will be running locally.

    User's image

    Was this answer helpful?

    0 comments No comments

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.