Azure DevOps Remote MCP Server
Sends human-in-the-loop approval requests to Telegram with interactive Approve/Reject buttons and processes webhook callbacks to authorize Azure DevOps write operations.
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
[ English | Tiếng Việt ]
Azure DevOps Remote MCP Server on Cloudflare Workers
This project is ported and enhanced from Microsoft's official repository: microsoft/azure-devops-mcp, redesigned to run as a lightweight, serverless edge service on Cloudflare Workers.
The server implements the standard Model Context Protocol (MCP) specification (supporting both Streamable HTTP and Server-Sent Events - SSE). It is fully compatible with Gemini Web, Claude Desktop, Cursor, etc., connecting directly to Azure DevOps Services via a Personal Access Token (PAT) without being restricted by Microsoft Entra ID (Azure AD) tenant policies.
⚡ Key Highlights & Enhancements over the Original
Serverless Edge on Cloudflare Workers:
Free tier includes 100,000 requests/day (~3 million requests/month).
Zero Cold Start (0ms) with V8 Isolates; eliminates heavy Docker containers and cloud registry storage costs.
Human-in-the-Loop (HITL) Approvals via Telegram & Cloudflare D1:
Safe write operations: All mutating tools (
*_write) transition into aHoldstate, persisted into a Cloudflare D1 SQLite database, and instantly notify you on Telegram with interactive buttons:[✅ Approve]and[❌ Reject].Polling mechanism (
action_get_status) prevents AI agents from timing out while awaiting user authorization.
Dual-Tier Security for Telegram Webhook:
Header authentication via Telegram's
X-Telegram-Bot-Api-Secret-Token.Caller verification ensures only the authorized user (
TELEGRAM_CHAT_ID) can approve or reject actions.
Full Gemini Web & OAuth 2.1 Compatibility:
Built-in OAuth 2.1 and HTTP Basic Authentication endpoints guard the server against unauthorized public access.
Runtime Auto-Provisioning for Database Tables:
Cloudflare D1 tables and indexes are created automatically at runtime (
CREATE TABLE IF NOT EXISTS), eliminating manual SQL migrations.
Related MCP server: Azure DevOps MCP Server
📋 Environment Variables & Secrets Reference
The project combines non-sensitive configurations in wrangler.jsonc with encrypted Cloudflare Secrets:
Variable Name | Type | Purpose | Configuration Method |
| Plaintext ( | Your Azure DevOps organization name (e.g., | Set in |
| Plaintext ( | Enabled toolset domains (default: | Set in |
| Plaintext ( | Client identifier for Gemini Web OAuth (e.g., | Set in |
| Plaintext ( | Your private Telegram User ID for approval alerts. | Set in |
| Secret 🔒 | Azure DevOps PAT with read/write access to Repos, Boards, and Pipelines. |
|
| Secret 🔒 | Secret password for OAuth authentication between Gemini Web and Worker. |
|
| Secret 🔒 | Telegram Bot token received from |
|
| Secret 🔒 | Anti-forgery secret token for the Telegram Webhook callback. |
|
| D1 Binding | Binding to the Cloudflare D1 Database storing approval action records. | Configured under |
🛠️ MCP Tools Catalog
Domain | Tool Name | Description & Supported Actions |
Repos |
| Fetch Pull Request details (title, author, status, source/target branches, review votes). |
Repos |
| Read file contents directly from Azure DevOps Git repositories. |
Repos |
| Read all review comments and discussion threads within a Pull Request. |
Repos |
| Manage PR review threads: create ( |
Repos |
| Create ( |
Boards |
| Retrieve User Stories, Tasks, Bugs, or Epics by ID or list of IDs. |
Boards |
| Create ( |
Boards |
| Post discussion comments to Work Items (HITL Protected). |
Boards |
| Query work items using WIQL (Work Item Query Language). |
HITL |
| Poll approval status and execution outcome using an action's |
Core |
| List all projects within the Azure DevOps organization. |
Core |
| List teams belonging to a specific project. |
Pipelines |
| Check execution status and history of Build / CI Pipelines. |
Pipelines |
| Retrieve raw build step logs. |
🚀 Quick Deployment Guide
Step 1: Create the Cloudflare D1 Database
💡 Database tables are provisioned automatically on first request. You only need to create the database instance once:
Option A (Via Cloudflare Dashboard - Recommended): Navigate to Dashboard -> Workers & Pages -> select Worker
azure-devops-mcp-worker-> Settings -> Bindings -> Click Add -> D1 Database:Variable name:
DBD1 database: Click Create new database, name it
azure-devops-mcp-db-> Save & Deploy.
Option B (Via CLI):
npx wrangler d1 create azure-devops-mcp-dbPaste the returned
database_idUUID intowrangler.jsonc.
Step 2: Configure Telegram Bot & Store Secrets
In Telegram, chat with
@BotFatherand send/newbotto create your bot and obtainTELEGRAM_BOT_TOKEN.Chat with
@userinfobotto retrieve your personal numerical ID and set it asTELEGRAM_CHAT_IDinwrangler.jsonc.Store sensitive secrets on Cloudflare:
npx wrangler secret put PERSONAL_ACCESS_TOKEN # Paste your Azure DevOps Personal Access Token npx wrangler secret put CLIENT_SECRET # Enter your custom client secret for Gemini Web authentication npx wrangler secret put TELEGRAM_BOT_TOKEN # Paste your Telegram Bot token npx wrangler secret put TELEGRAM_WEBHOOK_SECRET # Enter a random secret token to secure webhook callbacksRegister the Webhook with Telegram:
curl -X POST "https://api.telegram.org/bot<TELEGRAM_BOT_TOKEN>/setWebhook" \ -H "Content-Type: application/json" \ -d '{ "url": "https://<your-worker-domain>/telegram/webhook", "secret_token": "<TELEGRAM_WEBHOOK_SECRET>" }'
Step 3: Deploy to Cloudflare Workers
npm run deploy🤖 Connecting to Gemini Web
In Gemini Web, open Settings -> Connected Apps -> Connect to an MCP Server:
MCP server URL:
https://<your-worker-domain>/mcpClient ID: Enter the
CLIENT_IDdefined inwrangler.jsonc(e.g.,my-client).Client secret: Enter the secret value you provided to
npx wrangler secret put CLIENT_SECRET.Click Next to complete the connection!
📄 License
This project is licensed under the open-source MIT License.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
Related MCP Connectors
Query your team's drift, vulnerability, and upgrade data from any AI assistant. OAuth 2.1, 51 tools.
OAuth 2.1 short-link tools for AI agents with scoped tokens, approvals, audit logs, and revocation.
Remote streamable-HTTP MCP server running on a single Cloudflare Worker. Your assistant gets live Airbnb, Amazon, Booking.com, Google Flights, Maps and Reddit data, social search on X, Instagram and TikTok, the Meta Ad Library, and image/video generation without any keys. Connect your own accounts to let it send WhatsApp or Telegram messages, work an IMAP inbox, manage Meta Ads campaigns and publish to X and LinkedIn. OAuth 2.1 with PKCE; stored credentials are AES-256-GCM encrypted.
Project context, backlog tasks, and controlled workflows for coding agents. OAuth sign-in.
Related MCP Servers
- FlicenseNot gradedqualityDmaintenanceEnables AI assistants to interact with Azure DevOps repositories and pull requests, including listing PRs, fetching diffs, adding comments, and performing automated code reviews.-
- AlicenseNot gradedqualityDmaintenanceEnables AI assistants to interact with Azure DevOps to manage work items, Git repositories, branches, commits, and projects through natural language commands.5MIT
- AlicenseNot gradedqualityDmaintenanceEnables AI assistants to interact with Azure DevOps for managing work items, repositories, wikis, and automating development workflows.MIT
- AlicenseAqualityBmaintenanceEnables AI assistants to query and manage Azure DevOps projects, boards, work items, repos, pull requests, and pipelines while enforcing governance boundaries such as access modes, project scoping, protected projects, delete gating, and typed confirmations.15311 npm1MIT