aks-mcp: Instructions file for GitHub Copilot

.github/copilot-instructions.md

aks-mcp copilot-instructions.md is an instructions file for GitHub Copilot from Azure/aks-mcp. It costs 889 tokens per session, scanned A, original, MIT.

Project guidance for GitHub Copilot when working on AKS-MCP, a server that lets AI assistants interact with Azure Kubernetes Service clusters. A cluster is a group of computers running containerised applications.

In plain words
What is it for?
Use it when modifying or reviewing the AKS-MCP server, especially its Go entry point, Azure resource handlers, configuration, security controls, or MCP tools.
Why use it?
It gives the coding assistant the project's structure, security levels, Azure integrations, and main components so its changes fit the existing codebase.

Instructions file for GitHub Copilot ✓ vendor

Written for GitHub Copilot: a Copilot instructions file.

This is Azure/aks-mcp's own configuration. It tells GitHub Copilot how to work on aks-mcp itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything aks-mcp configures →

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is go build -o aks-mcp ./cmd/aks-mcp.

About the project

Azure/aks-mcp is a Model Context Protocol server that lets compatible AI assistants send natural-language requests to Azure Kubernetes Service clusters and receive understandable results. It is for users who want an AI tool to inspect or manage AKS resources and Azure Fleet operations. Its catalogue instruction helps assistants work with AKS through this server.

Azure/aks-mcp · 145 stars · on GitHub

Reuse

Borrowing it

Nothing to install: this file belongs to Azure/aks-mcp. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/Azure/aks-mcp/main/.github/copilot-instructions.md
Clone the repo
git clone --depth 1 https://github.com/Azure/aks-mcp

Made for: GitHub Copilot.

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 aks-mcp copilot-instructions.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/azure/aks-mcp/copilot-instructions/github.svg)](https://agentmods.dev/instructions/azure/aks-mcp/copilot-instructions)
Your own site
<a href="https://agentmods.dev/instructions/azure/aks-mcp/copilot-instructions"><img src="https://agentmods.dev/badge/instructions/azure/aks-mcp/copilot-instructions/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 aks-mcp copilot-instructions.md

Your own site · 80×15
<a href="https://agentmods.dev/instructions/azure/aks-mcp/copilot-instructions"><img src="https://agentmods.dev/badge/instructions/azure/aks-mcp/copilot-instructions.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 889 This file is loaded in full into every session.
When invoked 889 The same file — it is already loaded in full.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
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.00889 $0.00889
Opus 5.5 $0.00356 $0.00356
Sonnet 5.5 $0.00178 $0.00178
Haiku 4.5 $0.00089 $0.00089

Measured 2mo ago against content hash 8b7d533c7d34, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

aks-mcp copilot-instructions.md 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 2mo 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/copilot-instructions.md · 106 lines

How it starts

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

Copilot Instructions

This file provides guidance to Github Copilot when working with code in this repository.

Project Overview

AKS-MCP is a Model Context Protocol (MCP) server that enables AI assistants to interact with Azure Kubernetes Service (AKS) clusters. It serves as a bridge between AI tools and AKS, translating natural language requests into AKS operations.

Architecture

High-Level Structure

  • Entry Point: cmd/aks-mcp/main.go - Main application entry point
  • Core Server: internal/server/server.go - MCP server implementation with tool registration
  • Configuration: internal/config/ - Command line parsing and configuration management
  • Azure Integration: internal/azure/ - Azure SDK clients with caching layer
  • Resource Handlers: internal/azure/resourcehandlers/ - Handlers for Azure resource operations (VNet, NSG, Route Tables, Subnets)
  • Security: internal/security/ - Access level validation and security controls
  • Tools: internal/tools/ - MCP tool adapters and interfaces

Key Components

  • Access Levels: Three security levels (readonly, readwrite, admin) control available operations
  • Resource Caching: Azure resources are cached internally for performance
  • Transport Support: Supports stdio transport
  • Tool Registration: Tools are dynamically registered based on access level

Development Commands

Build

go build -o aks-mcp ./cmd/aks-mcp

Test

go test -v ./...                           # Run all tests
go test -race -coverprofile=coverage.txt -covermode=atomic ./...  # Run tests with coverage
go test -v ./internal/azure/...         # Run specific package tests

Lint

golangci-lint run                       # Run linter
golangci-lint run --timeout=5m          # Run with extended timeout

Configuration

Command Line Arguments

  • --timeout: Command execution timeout in seconds (default: 600)
  • --access-level: Access level (readonly, readwrite, admin)

Read the full file on GitHub · 106 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. 2mo ago First seen · 106 lines · 889 tokens per session scan A 8b7d533c7d34

Subscribe to this mod's changes

aks-mcp copilot-instructions.md is an instructions file published in the GitHub repository Azure/aks-mcp (145 stars, last pushed 11d ago), licensed MIT. It adds 889 tokens to every session, about $0.0036 per session on Opus 5.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

aks-mcp copilot-instructions.md compared with instructions from other repositories

aks-mcp copilot-instructions.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
aks-mcp copilot-instructions.mdAzure/aks-mcpInstructions file14511d agoMITA889GitHub Copilot
vscode buildNext.instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA9,719GitHub Copilot
next.js AGENTS.mdvercel/next.jsInstructions file143ktodayMITA7,461Codex, OpenCode
langchain AGENTS.mdlangchain-ai/langchainInstructions file149kyesterdayMITA4,680Codex, OpenCode
vscode oss-third-party-notices.instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA5,516GitHub Copilot
vscode copilot-instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA3,093GitHub Copilot
deepseek-harness AGENTS.mddeepseek-ai/deepseek-harnessInstructions file274k2d agoMITA4,313Codex, OpenCode