add-azure-mcp-tools

add-azure-mcp-tools is a skill for Claude Code from microsoft/mcp. It costs 59 tokens per session (19,713 once invoked), scanned A, original, MIT.

A step-by-step guide for adding a command to an Azure MCP toolset, from initial setup through tests and pull-request preparation. MCP is a standard way for an AI assistant to call external tools.

In plain words
What is it for?
Use it when creating a new Azure service tool, extending an existing toolset, or adding a non-Azure command that follows the repository's MCP structure.
Why use it?
It provides checks for implementation, security, Azure resources, tests, and documentation so important contribution steps are not missed.

Skill for Claude Code ✓ vendor

Written for Claude Code: argument-hint in frontmatter.

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is ./eng/scripts/Deploy-TestResources.ps1 -Paths {Toolset}.

Good fit Use it when creating a new Azure service tool, extending an existing toolset, or adding a non-Azure command that follows the repository's MCP structure.

Compare 6 skills from other repositories ↓
About the project

microsoft/mcp is a repository of Microsoft’s Model Context Protocol server implementations, which let AI applications connect to data sources and tools through a shared client-server interface. It supports Microsoft MCP server contributors and the catalogue entries are add-ons for working with these servers.

microsoft/mcp · 3,650 stars · on GitHub

Install

Getting it into your agent

It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.

Clone the repo
git clone --depth 1 https://github.com/microsoft/mcp
agentmods
npx agentmods add skills/microsoft/mcp/add-azure-mcp-tools

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for add-azure-mcp-tools

README.md
[![agentmods](https://agentmods.dev/badge/skills/microsoft/mcp/add-azure-mcp-tools/github.svg)](https://agentmods.dev/skills/microsoft/mcp/add-azure-mcp-tools)
Your own site
<a href="https://agentmods.dev/skills/microsoft/mcp/add-azure-mcp-tools"><img src="https://agentmods.dev/badge/skills/microsoft/mcp/add-azure-mcp-tools/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for add-azure-mcp-tools

Your own site · 80×15
<a href="https://agentmods.dev/skills/microsoft/mcp/add-azure-mcp-tools"><img src="https://agentmods.dev/badge/skills/microsoft/mcp/add-azure-mcp-tools.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 59 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 19,713 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00059 $0.19713
Opus 5 $0.00030 $0.09857
Sonnet 5 $0.00012 $0.03943
Haiku 4.5 $0.00006 $0.01971

Measured 6d ago against content hash e1475615ad5b, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, from the pricing page.

Security

Grade A, and why

add-azure-mcp-tools scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 6d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.github/skills/add-azure-mcp-tools/SKILL.md · 2,110 lines

How it starts

The opening of the file, as written. The whole thing — 2,110 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Add a New Tool to Azure MCP

Purpose

Step-by-step workflow for adding a new command to any Azure MCP toolset. Each phase has an explicit gate — do not proceed until the gate passes.

Decision: New Toolset or Existing?

Before starting, determine:

  • Adding to existing toolset? → Skip to Phase 1.
  • Creating a new toolset? → Complete Phase 0 first.

⚠️ CRITICAL: Does your command interact with Azure resources?

Azure Service Commands Non-Azure Commands
Examples ACR Registry List, SQL Database List, Storage Account Get CLI wrappers, Best Practices, Documentation tools
test-resources.bicep ✅ Required ❌ Skip
test-resources-post.ps1 ✅ Required (even if basic) ❌ Skip
RBAC role assignments ✅ Required ❌ Skip
Live tests ✅ Required (recorded) ❌ Skip
Unit tests ✅ Required ✅ Required

Security Requirements

Terminology note: In this repo, tool refers to the MCP-exposed capability and command refers to the underlying C# command class implementation. Both terms appear in the codebase and docs.

All tool inputs are untrusted. These requirements apply at every phase and are not optional.

Input Validation

  • Validate inputs against the specific naming rules of the Azure resource being targeted (length, allowed characters, casing). Do not apply a generic blocklist — Azure resource naming rules vary significantly by service.
    • Example: Storage account names are 3–24 lowercase alphanumeric characters only.
    • Example: Resource group names allow letters, digits, underscores, hyphens, and periods up to 90 characters.
    • Reference: Azure naming rules and restrictions
  • Use ValidateOptions for semantic constraints beyond nullability (name length, format, mutual exclusivity, and allowed value sets). Only reject characters that are provably invalid for the specific resource type. This applies to both the new two-generic SubscriptionCommand pattern and the legacy one-generic pattern — see the ValidateOptions override guidance in Phase 1d.
  • Prefer SDK/runtime validators and deterministic checks first (Length, explicit allowed-value sets, character/category checks).

Read the full file on GitHub · 2,110 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 6d ago Changed · +13 lines e1475615ad5b
  2. 9d ago First seen · 2,097 lines · 59 tokens per session scan A ed0b004d6637

Subscribe to this mod's changes

add-azure-mcp-tools is a skill published in the GitHub repository microsoft/mcp (3,650 stars, last pushed today), licensed MIT. It adds 59 tokens to every session and 19,713 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

systematic-debugging

Use when encountering any bug, test failure, or unexpected behavior, before proposing fixes.

obra/superpowers · 21 tokens

local-ai-agents

Build local-first AI agents that run entirely on a developer workstation with Microsoft Foundry Local and Qwen function-calling models. Covers Small Language Models (SLMs), the OpenAI-compatible local endpoint, sandboxed local tools, local RAG with Chroma, local MCP servers, hybrid cloud/local routing, and the…

microsoft/ai-agents-for-beginners · 200 tokens

next-cache-components-adoption

Turn on Cache Components in a Next.js app and resolve the blocking routes it surfaces. Use when the user wants to enable, adopt, or migrate to Cache Components, flip the cacheComponents flag, work through a flood of blocking-prerender / instant validation errors, run the cache-components-instant-false codemod, or…

vercel/next.js · 95 tokens

next-cache-components-optimizer

Drive a Next.js route to instant navigation by setting up an agentic loop, under Cache Components / PPR, on initial load (hard navigation) and client-side navigation (soft navigation). Encode the goal as a failing @next/playwright instant() e2e and work it to green, one verified route at a time; the shipped test then…

vercel/next.js · 170 tokens

next-partial-prefetching-adoption

Turn on Partial Prefetching in a Next.js app and work through the insights it surfaces. Use when the user wants to enable or adopt Partial Prefetching, flip the partialPrefetching flag, opt routes in with export const prefetch = 'partial', audit Link prefetch={true} behavior, preserve existing prefetched UI with…

vercel/next.js · 103 tokens

chronicle

Analyze Copilot session history for standup reports, usage tips, session search, and session reindexing. Use when the user asks for a standup, daily summary, usage tips, workflow recommendations, wants to search or find past sessions by keyword/file/PR, wants to reindex their session store, or asks about deleting…

microsoft/vscode · 72 tokens