> ## Documentation Index
> Fetch the complete documentation index at: https://docs.alpic.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# IP Whitelisting

> Restrict access to your MCP server by IP address or MCP client

IP whitelisting lets you control which IP addresses can reach your MCP server. When enabled, only requests from approved IPs or MCP clients are allowed — all others receive a `403 Forbidden` response.

This is useful when you want to limit access to known clients, such as ChatGPT or Claude, or restrict usage to your corporate network.

> [!WARNING]
>
> IP whitelisting is configured **per environment**. Make sure you configure it for the right environment (e.g.,
> production, staging).

## Platform Selection

For common platforms, Alpic maintains up-to-date IP lists so you don't have to manage them manually. Simply select the platforms you want to allow.

![Trusted IPs platform selection](https://mintcdn.com/alpic/fn2OBydtuJS7sQ5v/images/trusted-ips-platforms.png?fit=max\&auto=format\&n=fn2OBydtuJS7sQ5v\&q=85\&s=84ad649bfe8ad8e4a54e13ab08fb3db8)

### AI platforms and providers

Select the platforms and providers whose requests you want to allow:

| Platform | IP Source |
| - | - |
| **ChatGPT** | Fetched automatically from [OpenAI's published IP list](https://openai.com/chatgpt-connectors.json), refreshed every 15 minutes |
| **Anthropic** | Based on [Anthropic's published IP addresses](https://platform.claude.com/docs/en/api/ip-addresses), updated with each Alpic release |
| **Meta** | Fetched from the third-party [Cloud IP Ranges list](https://cloud-ip-ranges.com/providers/meta), refreshed every 15 minutes |
| **Google Connected Apps** | Combined from Google's official [user-triggered fetcher](https://developers.google.com/static/crawling/ipranges/user-triggered-fetchers-google.json) and [user-triggered agent](https://developers.google.com/static/crawling/ipranges/user-triggered-agents.json) lists, refreshed every 15 minutes |

ChatGPT IPs are fetched dynamically and remain up to date automatically. Anthropic IPs are updated with Alpic releases, so changes to its published ranges may take a short while to appear.

The Meta option trusts the network ranges listed by Cloud IP Ranges, including the addresses observed for Muse MCP connections. This is a third-party list of Meta networks, not an official Meta or Muse-only MCP feed. Alpic keeps the last successfully fetched ranges if a refresh fails; if the first fetch fails, no Meta ranges are trusted until a fetch succeeds.

Google Connected Apps uses both official feeds recommended in [Google's connection prerequisites](https://developers.google.com/connected-apps/gpc/prerequisites). Alpic combines and deduplicates their IPv4 and IPv6 ranges. These shared networks serve user-triggered fetchers and agents beyond MCP connections.

If either Google feed fails to load or contains invalid ranges, Alpic keeps the last successfully fetched combined list. Until the first successful fetch, selecting Google trusts no Google ranges.

### WAF / CDN platforms

If your MCP server is fronted by a WAF or CDN, trust that provider's egress IP ranges so requests forwarded through it aren't blocked:

| Platform | IP Source |
| - | - |
| **Akamai** | Fetched from [Akamai's published edge CIDR lists](https://techdocs.akamai.com/origin-ip-acl/docs/update-your-origin-server) |
| **Cato** | Based on the PoP ranges in [Cato's Production PoP Guide](https://knowledge.catonetworks.com/docs/production-pop-guide), updated with each Alpic release |
| **Cloudflare** | Fetched from [Cloudflare's IP ranges API](https://api.cloudflare.com/client/v4/ips) |
| **Fastly** | Fetched from [Fastly's public IP list](https://api.fastly.com/public-ip-list) |

Cato publishes no machine-readable feed, so its PoP ranges — including the China PoPs — are updated with Alpic releases, meaning a newly published PoP range may take a short while to be reflected.

## Custom IPs

You can also add up to **50 custom IP addresses or CIDR ranges** per environment. Supported formats:

* IPv4 addresses (e.g., `203.0.113.10`)
* IPv6 addresses (e.g., `2001:db8::1`)
* IPv4 CIDR ranges (e.g., `203.0.113.0/24`)
* IPv6 CIDR ranges (e.g., `2001:db8::/32`)

Custom IPs and platform selections work together — a request is allowed if it matches **either** list.

## Setup

**1. Navigate to Distribution**

In your Alpic dashboard, open your project and go to the **Distribution** tab, then select the **Trusted IPs** section.

**2. Enable IP whitelisting**

Toggle the IP whitelist switch to enable the feature.

**3. Select platforms and/or add custom IPs**

Check the AI platforms and providers you want to allow (ChatGPT, Anthropic, Meta, Google Connected Apps), WAF/CDN
providers (Akamai, Cato, Cloudflare, Fastly), or both. You can also add custom IP addresses or CIDR ranges.

**4. Save**

Click **Save changes** to apply the changes. The restrictions take effect immediately for new requests.

> [!NOTE]
>
> IPv4-mapped IPv6 addresses (e.g., `::ffff:192.168.1.1`) are automatically normalized, so you only need to add the IPv4
> form.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.