Azure DevOps MCP
Azure DevOps MCP
この VS Code 拡張機能は、Azure DevOps Git のプルリクエストをローカル MCP サーバーを介してエージェントに公開します。公式の MCP TypeScript SDK、azure-devops-node-api、および VS Code の Microsoft 認証プロバイダーを使用します。個人用アクセストークン、クライアント ID、クライアント シークレットは作成、コピー、または保持されません。
使用方法
Azure DevOps MCP: Sign In to Azure DevOpsを実行します。必要に応じて、VS Code は通常の Microsoft サインイン フローを開きます。エージェントとの会話を開始します。VS Code は
Azure DevOps pull requestsMCP サーバーを自動的に検出します。
サーバーは、list_pull_requests、get_pull_request、open_pull_request_file_diff、create_pull_request、submit_pull_request を提供します。create_pull_request はローカル ドラフトを準備します。submit_pull_request はリモートのプルリクエストを作成し、confirm: true を必要とします。どちらもソースおよびターゲットの ref を refs/heads/... 形式で使用し、呼び出し元の Azure DevOps 権限に依存します。
get_pull_request に includeChanges: true を渡すと、最新の変更ファイル(コミット ID と変更タイプを含む)が返されます。MCP Apps 対応のチャット ホストでは、create_pull_request は、変更ファイルのコンパクトで上限付きのリストを含む編集可能なドラフト カードを開きます。Markdown プレビューの切り替えを提供し、最終的な説明テキストを submit_pull_request を通じて送信します。その結果のプルリクエストは、現在のレビュアーの投票、PR を承認 ボタン、クリック可能なコメント数、および各変更ファイルの 差分を開く ボタンを備えたインタラクティブなレビュー カードになります。カードの読み込み中またはアクション実行中は、スピナーが表示されます。
VS Code は、サインイン済みの Microsoft セッションを管理します。そのアカウントの管理またはサインアウトは、VS Code のアカウント メニューから行います。トークンの有効期限が切れたら、新しいエージェントとの会話を開始して、新しい Azure DevOps トークンを取得してください。
Related MCP server: Azure DevOps MCP Server
開発
npm run compile を実行すると、拡張機能と MCP サーバーの両方に対して型チェック、リント、バンドルが行われます。npm test を実行すると、拡張機能ホストのテストが実行されます。macOS では、管理されたネットワークが追加の信頼済み CA を必要とする場合、テスト コマンドはシステム キーチェーン証明書を使用します。VS Code で F5 を押すと、拡張機能開発ホストが起動します。
This server cannot be deployed
Maintenance
Related MCP Connectors
The MCP server for Azure DevOps, bringing the power of Azure DevOps directly to your agents.
A MCP server built for developers enabling Git based project management with project and personal…
MCP Server for JFrog, providing tools for development and artifact management.
Related MCP Servers
- FlicenseAqualityDmaintenanceAn MCP server that provides seamless interaction with Azure DevOps Git repositories, enabling users to manage repositories, branches, pull requests, and pipelines through natural language.817 npm3-
- AlicenseNot gradedqualityCmaintenanceEnables interaction with Azure DevOps services including work items, repositories, pipelines, wikis, and test plans through a local MCP server that provides direct access to Azure DevOps REST APIs from your code editor.120,075 npmMIT
- AlicenseNot gradedqualityBmaintenanceMCP server that enables AI assistants to manage Azure DevOps resources including Work Items, Git repositories, pipelines, and user identities.22 npmMIT
- FlicenseNot gradedqualityDmaintenanceMCP server that provides tools to interact with Azure DevOps, including querying work items, repositories, pull requests, builds, commits, and creating work items via a standardized interface.-