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 as a dual-protocol, stateless serverless edge service on Cloudflare Workers.
The server implements the Model Context Protocol (MCP) over Stateless Streamable HTTP (POST /mcp) supporting both MCP 2026-07-28 and MCP 2025-11-25 concurrently. It connects directly to Azure DevOps Services via a server-managed Personal Access Token (PAT) without being blocked by Microsoft Entra ID tenant policies.
⚡ Key Highlights & Architecture
Dual-Protocol Stateless Edge (
2026-07-28+2025-11-25):Single canonical
POST /mcpendpoint (GET /mcpandDELETE /mcpreturn405 Method Not Allowed; noMcp-Session-Id, no legacy/sse, no JSON-RPC batching).Era-isolated
McpServerinstances:2026-07-28servesserver/discover,_metaenvelopes,CacheableResult, andMcp-Param-*headers;2025-11-25servesinitialize,notifications/initialized,ping,tools/list, andtools/call.
Two-Worker OAuth 2.1 & OpenID Connect Discovery 1.0:
Authorization Server Worker (
azure-devops-mcp-auth): Serves RFC 8414 (/.well-known/oauth-authorization-server), dedicated OpenID Connect Discovery 1.0 (/.well-known/openid-configuration*including path-insertion/path-appending +/.well-known/jwks.json), Client ID Metadata Documents (CIMD) (SEP-991, RFC 7591/oauth/registerdisabled), PKCES256, CSRF/anti-framing/oauth/authorizeconsent UI, and Service BindingvalidateTokenRPC.MCP Resource Server Worker (
azure-devops-mcp-worker): Serves RFC 9728 (/.well-known/oauth-protected-resource/mcp), enforcesOrigin/Host/non-wildcard CORS guards, and performs step-up403 insufficient_scopeauthorization (mcp:readvsmcp:write).
Human-in-the-Loop (HITL) Approvals via Telegram & Cloudflare D1:
All mutating tools (
*_write) stage aHoldaction record (15-minute TTL) in Cloudflare D1 keyed byowner_user_idand an opaqueact_<16-hex>handle, notifying Telegram with interactive[✅ Approve]and[❌ Reject]buttons.Agents poll
action_get_statussafely without HTTP timeouts.
Dual-Tier Telegram Webhook & Output Security:
Constant-time verification of
X-Telegram-Bot-Api-Secret-Token(TELEGRAM_WEBHOOK_SECRET), authorized sender check (TELEGRAM_CHAT_ID), atomicHold -> Executing -> Approvedclaiming, and Spotlight delimiter wrapping on untrusted Azure DevOps payloads.
Dynamic Skills over MCP (
SEP-2640) & Google-Authenticated Admin Console:Serves dynamic skills from Cloudflare D1 via
io.modelcontextprotocol/skills(skills/list,skills/get),skill://Resources (resources/list,resources/read), and MCP Prompts (prompts/list,prompts/get) on both2026-07-28and2025-11-25lanes without hardcoding skill text in source code.Manage, upload
.mdfiles, or import JSON bundles live at/admin/skillsprotected by Cloudflare Zero Trust Access (Google Account Login) with cryptographic RS256 JWKS verification.
Related MCP server: Azure DevOps MCP Server
📚 Protocol Documentation (Separated by Version)
Documentation Hub: docs/README.md
MCP
2026-07-28: docs/2026-07-28/README.mdMCP
2025-11-25: docs/2025-11-25/README.md
📋 Environment Variables, Secrets & Bindings
Authorization Server Worker (wrangler.auth.jsonc)
Name | Type | Purpose |
| Plaintext ( | Canonical OAuth 2.1 issuer origin URL (e.g., |
| Plaintext ( | Canonical MCP Resource URL bound as token audience (e.g., |
| Secret 🔒 | Optional shared passphrase protecting the |
| KV Binding | Cloudflare KV namespace storing OAuth grants, consent transactions, tokens, and CIMD cache. |
MCP Resource Server Worker (wrangler.jsonc)
Name | Type | Purpose |
| Plaintext ( | Azure DevOps organization name (e.g., |
| Plaintext ( | Enabled toolsets: |
| Plaintext ( | Authorized Telegram user/chat ID permitted to approve or reject staged actions. |
| Plaintext ( | Authorization Server issuer URL advertised in RFC 9728 Protected Resource Metadata. |
| Plaintext ( | Canonical |
| Plaintext ( | Comma-separated allowed HTTP |
| Plaintext ( | Comma-separated allowed |
| Plaintext ( | Explicit non-wildcard CORS |
| Plaintext ( | Cloudflare Access team domain (e.g., |
| Plaintext ( | Cloudflare Access Application Audience (AUD) tag protecting |
| Plaintext ( | Optional comma-separated allowlist of authorized Google emails for |
| Plaintext ( | Optional local-only bypass email honored strictly on loopback when Access is unset. |
| Secret 🔒 | Azure DevOps PAT with read/write access to Repos, Boards, and Pipelines. |
| Secret 🔒 | Telegram Bot token from |
| Secret 🔒 | Secret token verified against |
| Service Binding | Private RPC binding to |
| D1 Binding | Cloudflare D1 database storing |
🛠️ MCP Tools Catalog
Domain | Tool Name | Scope | Description & Supported Actions |
Repos |
|
|
|
Repos |
|
| Read file contents directly from Azure DevOps Git repositories. |
Repos |
|
| Read review comments and discussion threads within a Pull Request. |
Repos |
|
| Manage PR review threads: |
Repos |
|
|
|
Boards |
|
| Retrieve User Stories, Tasks, Bugs, or Epics by ID or list of IDs. |
Boards |
|
|
|
Boards |
|
| Post discussion comments to Work Items (HITL Protected, 15-minute TTL). |
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 & Local Development
Provision Cloudflare KV & D1:
Create
OAUTH_KVand updatewrangler.auth.jsonc.Create
azure-devops-mcp-db(npx wrangler d1 create azure-devops-mcp-db), applymigrations/(or let runtime auto-provision), and updatewrangler.jsonc.
Set Secrets:
npx wrangler secret put OAUTH_ACCESS_SECRET --config wrangler.auth.jsonc npx wrangler secret put PERSONAL_ACCESS_TOKEN --config wrangler.jsonc npx wrangler secret put TELEGRAM_BOT_TOKEN --config wrangler.jsonc npx wrangler secret put TELEGRAM_WEBHOOK_SECRET --config wrangler.jsoncDeploy Both Workers:
npm run deployLocal Development:
npm run dev:auth npm run dev:mcpVerification:
npm run lint && npm run format:check && npm run typecheck && npm test
🧩 Dynamic Skills Admin Console (Google Login via Cloudflare Access)
Configure Cloudflare Zero Trust Access:
In Cloudflare Zero Trust Dashboard, add Google under Settings > Authentication > Login methods.
Create a Self-Hosted Access Application protecting
<your-worker-domain>/admin*and<your-worker-domain>/api/admin*with an Allow policy for your Google email(s).Set
CF_ACCESS_TEAM_DOMAIN,CF_ACCESS_AUD, and optionallyCF_ACCESS_ALLOWED_EMAILSinwrangler.jsonc.For local
wrangler devonhttp://localhost:8787, you can setADMIN_LOCAL_DEV_EMAIL=you@gmail.com(never active on non-loopback hosts).
Import the Remote PR Reviewer Skill:
Open
/admin/skills, sign in with Google, click Import JSON Bundle, selectexamples/skills/azure-devops-pr-reviewer.bundle.json, and click Save Skill to D1.Connected MCP clients immediately discover
azure-devops-pr-reviewerviaskills/list,resources/list(skill://azure-devops-pr-reviewer/SKILL.md), andprompts/list(review_pull_request) for 100% remote PR reviews.
📄 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…
This server cannot be deployed
Maintenance
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.
Project context, backlog tasks, and controlled workflows for coding agents. OAuth sign-in.
Task management for people and AI agents, with scoped OAuth access to issues, projects, and docs.
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.15130 npm1MIT