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.