Datadog's org IP allowlist blocks its API, UI, and MCP Server by source IP. Route a proxy-capable agent through a QuotaGuard static IP to meet the source-IP requirement.
Datadog now names AI agents and MCP clients in its blocked list. Turn on the org-level IP allowlist and remote connections from an AI agent or MCP client have to come from an address you registered. Datadog's IP allowlist docs are blunt about it: "When the IP allowlist is enabled, only IP addresses or CIDR ranges in the allowlist can access the Datadog API and UI." If your agent runs on Heroku, Lambda, or a container without stable egress, its outbound IP can change and get blocked. This is the same problem behind the static outbound IP for AI agents pattern, and the fix is a fixed egress IP.
Datadog's IP Allowlist Gates the API, UI, and MCP Server
The allowlist is an org-level control. It's available on Pro+ and Enterprise plans; contact Datadog support to request access. It needs the Org Management permission to configure, and Datadog exposes it through the UI, a dedicated allowlist API, and Terraform or Pulumi. Once it's enabled, Datadog checks the source IP on covered connections. The policy applies across the organization, rather than to an individual key, user, or MCP tool.
What the allowlist enforces:
- The Datadog web UI.
- The Datadog public API, both documented and unpublished endpoints, subject to the exemptions below.
- The Datadog mobile apps.
- Third-party OAuth integrations.
- The Datadog MCP Server, including remote connections from AI agents and MCP clients.
That last line is the timely one. If your agent or MCP client talks to Datadog to read monitors, run a metric query, or manage dashboards, an enabled allowlist stands between it and the response.
In Organization Settings → Security → IP Allowlist, add both assigned QuotaGuard IPs with Add IP, then confirm each entry. Keep the administrator’s current IP and other required caller networks allowed before enabling the policy. Datadog recommends an allowed VPN network for mobile access.
Agent Telemetry Ingest Stays Exempt While Control-Plane Traffic Gets Checked
This is the part that keeps the post honest. The allowlist does not block everything that touches Datadog. Telemetry ingest is exempt, so the Datadog Agent keeps shipping metrics, traces, and logs on its API key. The validate-API-key endpoint, Agent flare submissions, and public dashboards are also exempt. Datadog also exempts its support actions and CDN-delivered product configuration, and documents API-key-only integration exemptions.
So the pitch here isn't "everything talking to Datadog needs a static IP." Those ingestion paths remain outside this allowlist. The traffic that gets checked is the control plane: an app, agent, or MCP client that queries or manages Datadog. Dashboards, monitors, metric queries, and the MCP Server. That's the traffic a static IP fixes. Confirm the current scope against Datadog's IP allowlist docs before you deploy, since Datadog owns that list.
A Static Egress IP Keeps Your Allowlist Entry Stable
An allowlist is only useful if the address in it stays put. Without a fixed-egress configuration, runtimes such as Heroku Common Runtime, AWS Lambda, or a container platform can use changing outbound addresses. You register today's IP, the box moves tomorrow, and Datadog starts refusing your agent even though the API key and app key are correct.
Allowlisting a cloud provider’s broad public ranges can admit other tenants; a published range is not an exclusive address for your app. Native options such as Heroku Private Spaces egress or Lambda through a NAT gateway with Elastic IPs can also provide stable egress. QuotaGuard is an alternative when you want a managed proxy for selected calls.
A static outbound IP keeps your agent’s entries stable. QuotaGuard gives you two fixed addresses to add alongside other required organization entries. Starter, Production, and Business use shared IP pairs; Enterprise includes dedicated IPs and proxy resources. This static-egress-plus-allowlist pattern also applies to Composio and OpenRouter agent traffic, subject to each vendor’s policy.
QuotaGuard Gives Your Datadog Calls a Static IP
QuotaGuard is a proxy. Your app or agent sends its Datadog traffic through QuotaGuard, and Datadog sees one of your two fixed IPs on each request routed through it. Setup uses an environment variable, a proxy config on your HTTP client, and the Datadog allowlist entries.
Add your assigned connection URL to the runtime environment; the hostname and credentials below are illustrative:
export QUOTAGUARDSTATIC_URL="http://username:password@us-east-static-01.quotaguard.com:9293"
Then route your Datadog REST API calls through it. These examples request the first page with page=0 and page_size=1; the application key needs monitors_read. Supply DD_API_KEY and DD_APP_KEY through your runtime’s secret settings. Set DD_API_BASE_URL to your site’s API origin if it differs from US1. See Datadog’s monitors API reference. In Node.js 20 or later, install axios and https-proxy-agent, then save this as a .mjs file:
import axios from "axios";
import { HttpsProxyAgent } from "https-proxy-agent";
async function main() {
for (const name of ["QUOTAGUARDSTATIC_URL", "DD_API_KEY", "DD_APP_KEY"]) {
if (!process.env[name]) throw new Error("Missing configuration");
}
const httpsAgent = new HttpsProxyAgent(process.env.QUOTAGUARDSTATIC_URL);
// Use the API origin for your Datadog site; US1 is the default.
const apiBase = process.env.DD_API_BASE_URL || "https://api.datadoghq.com";
const resp = await axios.get(`${apiBase}/api/v1/monitor`, {
headers: {
"DD-API-KEY": process.env.DD_API_KEY,
"DD-APPLICATION-KEY": process.env.DD_APP_KEY,
},
params: { page: 0, page_size: 1 },
httpsAgent,
proxy: false,
timeout: 15000,
maxRedirects: 0,
});
console.log("Datadog status:", resp.status);
}
main().catch((error) => {
// Avoid dumping request configuration, which includes credentials.
console.error("Datadog request failed:", error.response?.status || error.code || "configuration error");
process.exitCode = 1;
});
In Python, install requests. Pass the proxy mapping explicitly for this REST call:
import os, requests
proxies = {
"http": os.environ["QUOTAGUARDSTATIC_URL"],
"https": os.environ["QUOTAGUARDSTATIC_URL"],
}
# Use the API origin for your Datadog site; US1 is the default.
api_base = os.environ.get("DD_API_BASE_URL", "https://api.datadoghq.com")
resp = requests.get(
api_base.rstrip("/") + "/api/v1/monitor",
headers={
"DD-API-KEY": os.environ["DD_API_KEY"],
"DD-APPLICATION-KEY": os.environ["DD_APP_KEY"],
},
params={"page": 0, "page_size": 1},
proxies=proxies,
timeout=15,
allow_redirects=False,
)
resp.raise_for_status()
print("Datadog status:", resp.status_code)
Every subscription includes two load-balanced static IPs. Add both to your Datadog org IP allowlist so a request served by either one passes. QuotaGuard's architecture is why this works: your traffic leaves the proxy from a fixed pair of addresses regardless of how often your own dynos or functions recycle. Use the connection URL supplied for your subscription. You pick your region at sign-up; consider latency to both your runtime and Datadog site, plus residency requirements. To request a later region change, contact QuotaGuard support.
Proxy-Capable MCP Clients Route Through QuotaGuard With a Proxy Setting
A remote MCP connection uses an HTTP transport, but proxy support depends on the client and runtime. If you operate the client and its transport documents support for HTTPS_PROXY and HTTP_PROXY, export them before starting it:
export HTTPS_PROXY="$QUOTAGUARDSTATIC_URL"
export HTTP_PROXY="$QUOTAGUARDSTATIC_URL"
If the framework exposes an HTTP-client configuration, set the proxy on the transport that connects to Datadog. The Node and Python examples above demonstrate REST calls, not a complete MCP session. A hosted client must explicitly support your proxy or another suitable egress option; local environment variables cannot configure a vendor-operated connector. Proxying client-to-MCP traffic also does not change requests made by the hosted MCP server. If you run your own MCP server, configure its downstream Datadog API client separately.
Use the regional MCP endpoint and Streamable HTTP instructions in Datadog’s MCP setup guide. Datadog recommends OAuth; header-based alternatives include a Personal or Service Access Token as Authorization: Bearer …, or API/application keys with DD_API_KEY and DD_APPLICATION_KEY headers. Those MCP headers use underscores, unlike the hyphenated REST headers above. MCP Access must be enabled, and read tools require mcp_read plus underlying resource permissions.
That’s the loop: two QuotaGuard IPs on the Datadog org allowlist and the relevant client routed through them. A proxy setting on one app does not route your browser, mobile apps, OAuth integrations, or OAuth login flow. Those callers still need their own allowed routes and valid authorization. Verify the real REST or MCP connection in your runtime; a successful IP-check request alone does not prove it took the same route. Check authentication, permissions, and the returned error before attributing a 403 to the allowlist.
QuotaGuard Static Pricing Starts at $19/Month
Bandwidth is bundled. Static Starter includes 20,000 requests and 10 GB per month for $19 on direct billing. Size your plan for polling frequency and response volume. QuotaGuard uses soft usage limits and may contact you about an upgrade if usage materially exceeds your plan. Enterprise includes dedicated IPs and proxy resources. On lower tiers, your two assigned IPs are still static, but shared with other customers.
QuotaGuard Shield Pricing Starts at $29/Month
Shield starts at $29/month on direct billing. For outbound HTTPS to Datadog, both Static and Shield tunnel the destination TLS session without decrypting its payload. With Static’s HTTP proxy URL, CONNECT and proxy authentication use an unencrypted customer-to-proxy hop. Shield adds TLS to that hop; it terminates the outer TLS wrapper for routing and proxy authentication while leaving destination TLS intact. Use your assigned Shield HTTPS proxy URL and a client that supports HTTPS proxies. See QuotaGuard’s data-flow reference.
If your architecture is under SOC 2, PCI-DSS, or HIPAA review, discuss the intended Shield configuration with QuotaGuard support. A subscription alone does not establish compliance; BAA coverage requires an approved Shield configuration and signed documentation.
Starter, Production, and Business plans include a 3-day trial; Enterprise plans include a 7-day trial. Credit card required.
See the full pricing table at quotaguard.com/products/pricing. For the wider agent-egress picture, see QuotaGuard's static outbound IP for AI agents hub.
QuotaGuard Static IP Blog
Practical notes on routing cloud and AI traffic through Static IPs.







