foundry-mcp-aca

foundry-mcp-aca is a skill for Claude Code, Codex from aiappsgbb/awesome-gbb. It costs 191 tokens per session (13,657 once invoked), scanned A, original, MIT.

A deployment guide for hosting MCP servers—services that let AI agents use external tools—on Azure Container Apps or Azure Functions. It is for building and publishing the server, not for connecting an agent to an existing one.

In plain words
What is it for?
Use it to deploy Cosmos DB, Playwright, or custom MCP servers, configure Azure hosting, and secure access with built-in authentication, OAuth, or managed identity.
Why use it?
It explains the Azure setup, protocol requirements, authentication, and security choices needed to make an MCP server available to Foundry-hosted agents.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Needs its repository: it reads a path above its own folder, which exists only inside the repository. The line is **📦 This skill is for MCP server PRODUCERS (deploying servers to ACA).** If you want to CONSUME an existing MCP server from a Foundry hosted agent, see [foundr.

Good fit Use it to deploy Cosmos DB, Playwright, or custom MCP servers, configure Azure hosting, and secure access with built-in authentication, OAuth, or managed identity.

Compare 6 skills from other repositories ↓
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/aiappsgbb/awesome-gbb
agentmods
npx agentmods add skills/aiappsgbb/awesome-gbb/foundry-mcp-aca

Made for: Claude Code, Codex.

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 foundry-mcp-aca

README.md
[![agentmods](https://agentmods.dev/badge/skills/aiappsgbb/awesome-gbb/foundry-mcp-aca/github.svg)](https://agentmods.dev/skills/aiappsgbb/awesome-gbb/foundry-mcp-aca)
Your own site
<a href="https://agentmods.dev/skills/aiappsgbb/awesome-gbb/foundry-mcp-aca"><img src="https://agentmods.dev/badge/skills/aiappsgbb/awesome-gbb/foundry-mcp-aca/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 foundry-mcp-aca

Your own site · 80×15
<a href="https://agentmods.dev/skills/aiappsgbb/awesome-gbb/foundry-mcp-aca"><img src="https://agentmods.dev/badge/skills/aiappsgbb/awesome-gbb/foundry-mcp-aca.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 191 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 13,657 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 3 findings, up to medium

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • medium Data Exfiltration · line 26
    Data is being sent to an external URL. This could be legitimate telemetry or data exfiltration. Manual review is recommended.
    Fix: Verify the destination URL is trusted and necessary. Remove or replace with documented APIs. Ensure no secrets, tokens, or PII are transmitted.
  • medium Tool Misuse · line 122
    Tool defaults are unsafe or overly permissive (e.g. disabled TLS verification, no authentication, world-writable permissions). Unsafe defaults widen the attack surface.
    Fix: Override unsafe defaults with secure settings (verify=True, auth required, restrictive permissions). Review and harden all tool configurations.
  • medium Tool Misuse · line 1012
    Tool defaults are unsafe or overly permissive (e.g. disabled TLS verification, no authentication, world-writable permissions). Unsafe defaults widen the attack surface.
    Fix: Override unsafe defaults with secure settings (verify=True, auth required, restrictive permissions). Review and harden all tool configurations.
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.00191 $0.13657
Opus 5 $0.00096 $0.06828
Sonnet 5 $0.00038 $0.02731
Haiku 4.5 $0.00019 $0.01366

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

Security

Grade A, and why

foundry-mcp-aca scanned grade A with 1 finding 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 5d ago.

The scan reads SKILL.md. This mod also ships 3 executable files (references/postdeploy_cosmos_firewall_egress.py, references/python/secure_server.py, references/python/server.py), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

| Wrong mount path (404 on MCP calls) | FastMCP 3.x serves on `/mcp/` with trailing slash; consumer config or curl tests use `/` without slash | **DO NOT assume FastMCP mount path** — it changed between 2.x and 3.x; don'
skills/foundry-mcp-aca/SKILL.md · 1,049 lines

How it starts

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

📦 This skill is for MCP server PRODUCERS (deploying servers to ACA). If you want to CONSUME an existing MCP server from a Foundry hosted agent, see foundry-hosted-agents § MCP Tools or foundry-toolbox § Learn MCP. If the MCP server should hand work to an ACA Job, use foundry-mcp-aca-jobs instead.

Foundry MCP ACA Deployment

🎯 Scope: PRODUCER-side only. This skill is for hosting MCP servers on Azure Container Apps or Azure Functions, NOT for consuming a remote MCP from a Foundry hosted agent (e.g. calling https://learn.microsoft.com/api/mcp or https://api.github.com/mcp from your agent's container.py).

  • Producer (this skill): you're WRITING + DEPLOYING an MCP server. Cosmos MCP, Playwright MCP, custom MCP for an internal API, etc.
  • Consumer (different skill): you're WRITING a Foundry hosted agent that CALLS a remote MCP server. Use foundry-hosted-agents § MCP Tools via FoundryChatClient + § MCP Tools — recommended pattern.

Confusing the two costs hours. The consumer-side pattern is MCPStreamableHTTPTool wired into Agent(tools=[…]); the producer-side is everything below.

⚠️ Azure Tenant Isolation (mandatory). Before any azd or az operation, verify tenant isolation per azure-tenant-isolation: set config dirs, check token, assert subscription. See that skill's Agent preflight.

Deploy custom MCP servers as Azure Container Apps or Azure Functions for use with Foundry hosted agents. The hosted agent container connects to these MCP servers via HTTP at runtime using client.get_mcp_tool().

When to Use

  • Deploying a Cosmos DB MCP server for agent data access
  • Running Playwright/browser automation as a remote MCP server
  • Creating a custom MCP server for an API or data store not covered by Foundry built-ins
  • Deploying an MCP server as an Azure Function (consumption billing)

Read the full file on GitHub · 1,049 lines

Files

What ships with it

7 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 5d ago Changed · +3 lines · +24 tokens per session a6dfe86b7c75
  2. 10d ago First seen · 1,046 lines · 167 tokens per session scan A 994d8c01580f

Subscribe to this mod's changes

foundry-mcp-aca is a skill published in the GitHub repository aiappsgbb/awesome-gbb (5 stars, last pushed 3d ago), licensed MIT. It adds 191 tokens to every session and 13,657 once invoked, about $0.0010 per session on Opus 5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

azd-deployment

Deploy containerized frontend + backend applications to Azure Container Apps with remote builds, managed identity, and idempotent infrastructure.

sickn33/agentic-awesome-skills · 29 tokens

openshell-cli

Guide agents through using the OpenShell CLI (openshell) for sandbox management, gateway registration, provider configuration and refresh, policy iteration, settings, service exposure, BYOC workflows, and attached-provider inference. Covers basic through advanced multi-step workflows. Trigger keywords - openshell…

NVIDIA/OpenShell · 128 tokens

langbot-deploy

Deploy and configure a LangBot instance — Docker / Docker Compose, Kubernetes, the config.yaml model, the Box sandbox runtime, the plugin runtime, and the global API key. Use when installing, deploying, upgrading, or configuring LangBot in production or self-hosted environments. Triggers on "deploy langbot", "langbot…

langbot-app/LangBot · 104 tokens

compute-env-setup

Set up a compute environment on a remote provider so Claude Science jobs can run there. Covers direct SSH/conda hosts, Slurm clusters, container-via-bridge runners, and managed-API providers (Modal, GCP, RunPod). Use when standing up a new provider, porting an env to a different backend, adding a tool that needs its…

UnicomAI/wanwu · 134 tokens

azure-cloud-migrate

Assess and migrate cross-cloud workloads to Azure with reports and code conversion. Supports Lambda→Functions, Beanstalk/Heroku/App Engine→App Service, Fargate/Kubernetes/Cloud Run/Spring Boot→Container Apps. WHEN: migrate Lambda to Functions, AWS to Azure, migrate Beanstalk, migrate Heroku, migrate App Engine, Cloud…

microsoft/skills · 106 tokens

atmos-helmfile

Helmfile orchestration: sync/apply/destroy/diff, Kubernetes deployments, varfile generation, EKS integration, source management.

cloudposse/atmos · 33 tokens