On this page · 9 sections
- What AWS shipped on 23 November 2026
- How API Portal finds shadow MCP servers and LLM endpoints
- How AI Security blocks malformed MCP calls and prompt injection
- Which resources and Regions are covered
- What it costs: WAF fee, API Portal and the Bedrock line
- A rollout plan for the next 30 days
- India-specific considerations
- How eCorpIT can help
- References
Summary. On 23 November 2026 AWS made two linked features generally available: API Portal in Amazon API Gateway, which finds APIs and AI endpoints (LLM inference, MCP servers and A2A agents) behind CloudFront, Application Load Balancers and API Gateway across one account or a whole AWS Organization, and the AWS WAF AI Security managed rule group, which protects them. AI Security blocks malformed MCP and A2A messages inside AWS WAF and, if you supply an IAM role, sends message text to Amazon Bedrock Guardrails to score prompt attacks, harmful content and sensitive data. API Portal runs in 32 Regions, including Mumbai and Hyderabad; AI Security runs in only 7 Regions plus CloudFront, and Mumbai is not one of them. The bill has three parts. API Portal discovery starts at $40 a month per Region in AWS's US East example, AI Security adds $5 per million inspected requests on top of the base AWS WAF request fee, and Bedrock charges separately, from $0.07 per 1,000 text units per check. AWS WAF moves to new resource and request pricing on 1 February 2027. Our verdict: turn on discovery across the organisation now, add AI Security in Count mode scoped to your AI paths, and size the Bedrock line before you enforce anything.
About this article. This is for platform, security and FinOps leads who run LLM, MCP or A2A endpoints on AWS, or suspect their teams do. On 26 November 2026 we checked every date, Region, limit and price here against the AWS What's New post, the AWS Security Blog launch post, the AWS WAF and API Gateway developer guides, the AWS WAF document history, and the AWS WAF, API Gateway and Amazon Bedrock pricing pages. This is technical guidance, not legal advice; AWS can change prices and rule behaviour, and no vendor paid for inclusion. Researched with AI assistance and checked against the primary sources listed in the references.
What AWS shipped on 23 November 2026
AWS launched three things on the same day and called all of them generally available: API Portal, a new API Security managed rule group and the AI Security managed rule group. The AWS WAF document history dates both rule groups, AWSManagedRulesAPISecurityRuleSet and AWSManagedRulesAISecurityRuleSet, to 23 November 2026, and AI Security is at Version_1.0, its only version. This article covers discovery and AI Security; API Security, which targets broken object-level authorisation, tampered tokens and credential stuffing, and probing for undocumented routes, matters to the same teams but is a separate topic.
The split of responsibilities is simple:
- API Portal lives in the API Gateway console and discovers endpoints. It reads traffic logs and configuration records, so there is no agent to install and no log to forward.
- AI Security lives in the AWS WAF console and protects endpoints that already sit behind a protection pack (web ACL).
- Amazon Bedrock Guardrails does the content scoring when you switch it on, through the
InvokeGuardrailChecksAPI, and bills your account for it.
The two halves connect. API Portal shows which discovered endpoints AWS WAF protects, and AWS WAF detections appear on each managed API's detail page.
How API Portal finds shadow MCP servers and LLM endpoints
API Portal treats an API as one HTTP method plus one path on a front-door resource, for example GET /v1/payments, so a single REST API usually shows up as several inventory rows. Every discovered endpoint starts as a shadow API. You promote the ones you govern to managed APIs, and API Portal then flags managed APIs that turn into zombies (no traffic and no configuration change for a set period) or orphans (the owning account was closed or left the organisation).
AI endpoint identification is an optional setting called AI discovery. When it is on, API Portal tags each API with a workload of MCP, A2A or LLM based on what it sees in traffic:
- MCP: the
MCP-Protocol-Versionrequest header, which clients send from protocol version 2025-06-18 onwards.
- A2A: the
A2A-Versionheader or query parameter (A2A 1.0), or a request to/.well-known/agent-card.json.
- LLM: a well-known inference path such as
/v1/chat/completions, or an ambiguous path combined with a known LLM gateway or server header.
API Portal reads headers (plus that one A2A query parameter). It does not inspect or store request or response bodies, so it never sees tool lists, agent cards, prompts or completions. So the inventory tells you where an MCP server is, not what its tools can do.
Turning it on across an AWS Organization
Organisation-wide discovery needs trusted access for API Portal, which only the management account can enable. After that, the management account or a delegated administrator can run discovery for every account, with include or exclude filters for organisational units and accounts (one or the other, not both). Accounts are enabled one at a time, so AWS says to allow a few hours for an organisation with thousands of accounts, and up to 24 hours after you first enable discovery for the inventory to fill.
aws apiportal put-discovery-configuration \
--discovery-sources API_GATEWAY ELB CLOUDFRONT \
--features AI_DISCOVERY \
--region us-east-1
That is AWS's own example for one account with AI discovery on; the organisation-scope equivalent, run from the management account, is put-organization-discovery-configuration, and AI discovery set on it applies to every account. Two details decide whether your inventory is complete:
- Discovery is Regional. You enable it in each Region where you have APIs, and CloudFront-fronted APIs are discovered only in
us-east-1.
- AWS Config recorder. Discovery creates a service-linked AWS Config recorder in each account and Region, with no AWS Config charge, and you remove it only by deleting the discovery configuration.
What API Portal will miss
From the API Portal guide:
- HTTP and WebSocket APIs. API Gateway HTTP APIs and WebSocket APIs are not discovered at all; only REST APIs are.
- Quiet endpoints. Load balancer and CloudFront endpoints are found from traffic only, and AI workload labels need observed protocol traffic. An MCP server nobody has called for a while does not appear.
- Older MCP clients. Servers that negotiate an MCP version earlier than 2025-06-18 do not produce the header and are not tagged as MCP.
- Other front doors. Anything outside API Gateway, Application Load Balancers and CloudFront, such as an endpoint exposed straight from a Network Load Balancer or a public instance IP, is outside the three sources discovery reads.
- Slow removal. Deleted APIs stay in the inventory for about 30 days.
So API Portal is a strong first sweep, not proof that no shadow MCP server exists. Pair it with a search of your infrastructure code for MCP and agent frameworks, and with the agent controls in our AI agent security guide.
How AI Security blocks malformed MCP calls and prompt injection
The rule group works in two layers.
Layer 1: protocol recognition and compliance. This runs entirely inside AWS WAF with no Bedrock call. It labels each request as LLM, MCP, A2A or not recognised, then checks MCP and A2A messages against their protocol at two levels. Baseline catches malformed messages and blocks by default; Strict adds unusual but permitted constructs and counts by default. AWS's own example is an MCP request whose header claims tools/list while the body calls a file-reading tool: a gateway that trusts the header would let it through, and the Baseline check blocks it because header and body disagree.
Recognition has hard edges:
- MCP is recognised only at protocol versions 2025-06-18, 2025-11-25 and 2026-07-28.
- A2A is recognised only at version 1.0; A2A 0.3 is not.
- LLM traffic is recognised for OpenAI, Anthropic, Google Gemini and Ollama operations. Bedrock's own runtime APIs, such as
ConverseandInvokeModel, are not recognised.
Layer 2: content assessment with Bedrock Guardrails. You do not create a guardrail. You supply an IAM role in the same account as the web ACL, and AWS WAF calls InvokeGuardrailChecks with a fixed set of checks that you cannot change or reweight. Only some messages are sent: MCP tools/call, A2A SendMessage and SendStreamingMessage, and most recognised LLM operations. The checks depend on direction, as the AWS WAF guide sets out:
| Traffic | Request checks | Response checks |
|---|---|---|
| LLM | Prompt attack, content filter | Sensitive information |
| MCP tools/call | Prompt attack | Prompt attack, sensitive information |
| A2A SendMessage | Prompt attack, content filter | Prompt attack, sensitive information |
Prompt attack on MCP tool results and A2A replies is the part that addresses indirect prompt injection, where a tool returns text that tells your model what to do. Bedrock scores are bucketed into fixed tiers: high at 0.8 and above, medium from 0.6, low above 0. Only high-severity prompt attacks block by default; the other content findings count and label.
Five defaults that can hurt you
- Fail open by default. If the Bedrock call fails because of your role, your quota or throttling, the request passes unassessed with a
guardrails:call_failedlabel. OverridingGuardrails_CallFailedto Block makes it fail closed, including during throttling.
- Response errors you cannot override. With response inspection on, an internal failure in the response path returns an error to your client instead of your application's response, and no rule override changes that.
- Response labels stay out of logs. Response-phase labels appear only in CloudWatch metrics, not in WAF logs, and your own rules cannot match them.
- Body size limits. Only the part of a body within the inspection limit is assessed: 8 KB by default on an Application Load Balancer and 16 KB on CloudFront or a REST API, with requests raisable to 64 KB. Long chat histories can push the newest message past the limit.
- No Firewall Manager. The rule group cannot be deployed through AWS Firewall Manager or AWS Network Security Manager today.
Discovery is organisation-wide; protection is per web ACL, so you roll it out with your own infrastructure code in each account.
Which resources and Regions are covered
AI Security works only on web ACLs that protect CloudFront distributions, Application Load Balancers and API Gateway REST APIs. AWS WAF refuses to associate it with anything else, including Amazon Bedrock AgentCore Gateways, AppSync, Cognito, App Runner, Verified Access and Amplify. AWS's own advice for agent endpoints on AgentCore Gateway, EKS or outside AWS is to put CloudFront in front and attach the web ACL there. The table summarises the Region picture from the AWS WAF and API Portal guides.
| Capability | Where it runs | Mumbai or Hyderabad |
|---|---|---|
| API Portal discovery | 32 Regions | Yes, both |
| CloudFront API discovery | us-east-1 only | Covered via us-east-1 |
| AI Security on ALB or REST API | 7 Regions | No |
| AI Security on CloudFront | Global, content sent to nearest of the 7 | Yes, via CloudFront |
| Bedrock content checks | Same 7 Regions | No |
The seven AI Security Regions are N. Virginia, Ohio, Oregon, London, Stockholm, Tokyo and Sydney, which are the Regions where Bedrock offers InvokeGuardrailChecks; GovCloud and China are excluded. API Portal's 32 Regions include Mumbai and Hyderabad. Adding the rule group in an unsupported Region fails with WAFNonexistentItemException.
What it costs: WAF fee, API Portal and the Bedrock line
AWS WAF now and from 1 February 2027
The AI Security fee applies today. Under the pricing for usage through 31 January 2027, API Security and AI Security share one fee of $5 per million requests they inspect, on top of the $0.60 per million base request fee, with no subscription charge; the usual $5 a month per web ACL and $1 a month per rule or rule group still apply.
AWS WAF moves to resource and request pricing on 1 February 2027, 67 days from today. You pay $0.01 an hour per protected resource (about $7.30 a month) and $0.60 per million requests, and web ACL, rule and rule group charges go away. AI Security, API Security, Bot Control targeted protection and Fraud Control become premium rule groups: $5 per million requests they inspect, on top of the base fee, charged once per request however many premium groups inspect it. In both models, requests that a scope-down statement excludes, or that an earlier rule ends, are not charged the $5 fee.
The rule group uses 400 WCUs. Under the current model, WCUs above 1,500 per web ACL add $0.20 per million requests for each 500; from February, up to 2,500 WCUs are included.
API Portal
Discovery has a monthly minimum per Region that covers 400 discovered APIs, then a fee per additional API; a documentation portal waives the minimum and covers at least 400 APIs. AWS's US East examples use $40 for the minimum, $0.10 per extra discovered API and $125 per documentation portal. An organisation discovering in three Regions with under 400 APIs each would pay about $120 a month at those rates, if the other Regions price the same. We could see only the US East rates.
Amazon Bedrock Guardrails
Bedrock bills InvokeGuardrailChecks per check per 1,000 text units, where a text unit is up to 1,000 characters: $0.07 for content filters, $0.08 for prompt attack and $0.10 for sensitive information. AWS WAF can request up to three checks for one message, so one message can be billed more than once.
A worked example
One Application Load Balancer in N. Virginia receives 30 million requests a month. AI Security is scoped to the AI paths, which get 4 million of them: 3 million LLM chat requests averaging 3,000 characters with 2,000-character replies, and 1 million MCP tools/call requests averaging 1,000 characters with 2,000-character results. The character counts are our assumptions, chosen to fit within the 8 KB ALB inspection limit; Bedrock bills on the text AWS WAF extracts. The table uses February 2027 AWS WAF pricing and current Bedrock prices, checked 26 November 2026; ALB charges are extra.
| Line | Protocol checks only | Requests assessed | Requests and responses |
|---|---|---|---|
| Protected resource | $7.30 | $7.30 | $7.30 |
| Base requests, 30 million | $18.00 | $18.00 | $18.00 |
| Premium requests, 4 million | $20.00 | $20.00 | $20.00 |
| LLM prompt attack, 9 million units | $0 | $720.00 | $720.00 |
| LLM content filter, 9 million units | $0 | $630.00 | $630.00 |
| MCP prompt attack on requests, 1 million units | $0 | $80.00 | $80.00 |
| LLM sensitive information, 6 million units | $0 | $0 | $600.00 |
| MCP result prompt attack, 2 million units | $0 | $0 | $160.00 |
| MCP result sensitive information, 2 million units | $0 | $0 | $200.00 |
| Monthly total | $45.30 | $1,475.30 | $2,435.30 |
The arithmetic: 3 million requests at 3 units is 9 million units, and 9,000 thousands at $0.08 is $720; the WAF lines are $0.60 times 30 and $5 times 4. Under today's pricing the first three lines become $5 for the web ACL, $1 for the rule group, $18 and $20, so $44 if the web ACL holds nothing else. In rupees the three totals are about ₹4,178.47, ₹1,36,081.67 and ₹2,24,632.07, at ₹92.24 per US dollar, crossed from the ECB reference rates of 25 November 2026 and rounded to two decimals. Without the scope-down, the premium line alone rises from $20 to $150.
The AWS WAF fee is small; Bedrock is the bill. Content checks scale with characters, not requests, so long prompts and long tool results cost the most.
A rollout plan for the next 30 days
- Week 1: discovery. Enable organisation-wide discovery with AI discovery on, in
us-east-1plus every Region with REST APIs or load balancers. Review rows tagged MCP, A2A or LLM and promote the ones you own.
- Week 1: front doors. For each AI endpoint outside CloudFront, an ALB or a REST API, decide whether to put CloudFront in front, as AWS recommends.
- Week 2: protocol checks only. Add AI Security with Bedrock disabled and every blocking rule overridden to Count. Confirm the traffic labels appear;
traffic:not_recognizedon a real MCP endpoint often means an old protocol version.
- Week 2: scope it down. Limit the rule group to your MCP, A2A and LLM paths so other traffic pays neither the $5 fee nor Bedrock.
- Week 3: content checks. Supply the IAM role, start with request-only, set a CloudWatch alarm on
guardrails:call_failed, and size the Bedrock quota for peak traffic.
- Week 4: enforce one rule at a time. Start with Baseline MCP compliance, then high-severity prompt attack, watching each rule's match rate and your error rate.
AWS re:Invent runs from 30 November to 4 December, so expect follow-up announcements; our re:Invent 2026 watch list covers the schedule. If your agents also call AWS APIs, pair this with scoped credentials for AI agents.
India-specific considerations
- No Mumbai or Hyderabad for AI Security. A web ACL on an ALB or REST API in either Indian Region cannot use the rule group. The supported route is CloudFront in front of the Indian origin.
- Where text goes. With CloudFront, each edge location sends message text to the closest of the seven Regions, and you cannot choose which, so prompts from Indian users are assessed outside India. Record that transfer in your DPDP Act records and check any sector rule that requires data to stay in India; our DPDP Rules checklist lists the obligations and dates.
- Discovery is local. API Portal runs in Mumbai and Hyderabad, so you can inventory Indian workloads without that issue.
- Rupee budgeting. At ₹92.24 per dollar, the AI Security fee is about ₹461.20 per million inspected requests, and prompt attack checks about ₹7.38 per 1,000 text units.
How eCorpIT can help
eCorpIT is a Gurugram-based technology organisation, founded in 2021, assessed at CMMI Level 5 and MSME certified, with senior-led engineering teams working across AWS, Microsoft and Google platforms. Our cybersecurity services team can run API Portal discovery across your AWS Organization, put CloudFront and AI Security in front of the MCP and LLM endpoints it finds, and model the Bedrock cost before you enforce. Talk to us at /contact-us/.
Last updated: 26 November 2026.