fastly-cdn-ip-ranges-mcp
README.md
# fastly-cdn-ip-ranges-mcp
Live Fastly CDN IPv4 and IPv6 edge CIDR lookup, bulk IP verification, and origin firewall allowlist generation over Model Context Protocol (MCP). Infrastructure engineers, security teams, and SREs can query Fastly's official `api.fastly.com/public-ip-list` feed with zero API keys and zero sign-up. It connects right away.
## Hosted endpoint
Point any Streamable HTTP MCP client at the free hosted Cloudflare Worker endpoint.
```text
https://fastly-cdn-ip-ranges-mcp.lipmichal.workers.dev/mcp
```
## Available tools
| Tool | Purpose |
| --- | --- |
| `lookup_fastly_ip` | Check whether an IPv4 or IPv6 address belongs to Fastly global edge CDN CIDR blocks |
| `list_fastly_ip_ranges` | List official Fastly CDN IPv4 and IPv6 CIDR ranges with IP version filtering and host totals |
| `get_fastly_ip_summary` | Summarize Fastly published IPv4 and IPv6 CIDR counts, IPv4 capacity, and subnet distribution |
| `export_fastly_firewall_allowlist` | Generate Nginx, Apache, HAProxy, plain text, or JSON origin-shielding rules from live Fastly CIDRs |
| `bulk_check_fastly_ips` | Verify a batch of 1 to 25 IPv4 or IPv6 addresses against Fastly official edge CDN ranges |
## Client configuration
Add the remote URL to Claude Desktop, Cursor, or VS Code MCP settings.
```json
{
"mcpServers": {
"fastly-cdn-ip-ranges": {
"url": "https://fastly-cdn-ip-ranges-mcp.lipmichal.workers.dev/mcp"
}
}
}
```
## Run locally over stdio
You can also run the server locally on Node 20 or newer over stdio.
```bash
npm install
npm run build
npm start
```
## Compliance and reliability
Every upstream request queries `api.fastly.com/public-ip-list` with a polite `User-Agent` header (`mcpstamp-fastly-cdn-ip-ranges/1.0 (hello@mcpstamp.com)`), a hard 12-second timeout, and automatic retry on transient 5xx or 429 errors. Cloudflare edge caching applies only to HTTP 2xx responses, so upstream faults don't linger in cache. All five tools declare read-only, non-destructive, idempotent, open-world annotations, and the Worker negotiates newer MCP protocol headers cleanly.
## More MCP servers and readiness check
This server belongs to the public MCP directory maintained by MCPStamp and Zovo.
- [Free live-data MCP directory](https://www.mcpstamp.com/free-servers/) with hosted keyless endpoints and client setup guides.
- [Free MCP readiness checker](https://www.mcpstamp.com/check/) to score any MCP server for Claude, ChatGPT, and registry submission.
- [MCP Readiness Audit ($490)](https://www.mcpstamp.com/services/#audit) for teams shipping a production server who want a hands-on security, schema, and store review.
- [Zovo Pro MCP Bundle ($39 one-time)](https://mcp.zovo.one/buy/bundle?src=gh.fastly-cdn-ip-ranges-mcp) with hosted commercial servers and priority endpoints.
This server cannot be deployed
Maintenance
ActivityMaintained
ResponsivenessNo recent community issues