Integration

Fastly integration

Fastly is an edge cloud platform providing high-performance CDN, edge compute, security, and streaming services. Offers instant purge, real-time analytics, Web Application Firewall (WAF), DDoS protection, image optimization, and serverless compute at the edge. Built for enterprises requiring low latency, high availability, and programmable edge logic.

Ask it in chat

Say what should happen.
The workflow builds itself.

When this happens, do that in Fastly.Built from the 24 Fastly tools below, on the connection you add once.

Common Fastly use cases

  • auditing CDN settings
  • pre-modification review
  • renaming a service
  • setting up new CDN
  • adding custom domain
  • adding origin server
  • removing old domains
  • pre-activation checks
  • updating single asset
  • taking service offline

What you can do with Fastly

Each of these is one operation on one endpoint, available both as a workflow step and as a tool an AI agent can call on its own. Nothing bundles several operations into one action, so what a run did stays readable afterwards.

Most endpoints run on the free plan. A few, mainly the ones that publish on your behalf, need a paid plan.

Service, 7 operations

  • create_serviceCreate servicePOSTCreates a new Fastly service as a container for CDN configuration. Services support traditional VCL-based configuration or WebAssembly edge compute.
  • delete_serviceDelete serviceDELETEDeletes a Fastly service permanently. The service must be deactivated first.
  • get_serviceGet serviceGETRetrieves basic information for a specific Fastly service.
  • get_service_detailGet service detailGETRetrieves detailed configuration for a specific Fastly service including versions, domains, backends, and all settings.
  • list_servicesList servicesGETLists all Fastly services in your account. Returns service IDs, names, versions, and configuration status for each CDN distribution.
  • search_serviceSearch serviceGETSearches for a Fastly service by its exact name. Returns the matching service details.
  • update_serviceUpdate servicePUTUpdates a Fastly service name or comment.

Version, 6 operations

  • activate_versionActivate versionPUTActivates a Fastly service version, deploying it instantly to all edge locations worldwide. Changes take effect in seconds.
  • clone_versionClone versionPUTClones a Fastly service version to create a new editable copy with all configuration.
  • create_versionCreate versionPOSTCreates a new empty version for a Fastly service.
  • deactivate_versionDeactivate versionPUTDeactivates a Fastly service version. The version becomes locked after deactivation.
  • list_versionsList versionsGETLists all versions of a Fastly service with their activation status and lock state.
  • validate_versionValidate versionGETValidates a Fastly service version before activation. Checks for missing required configuration.

Cache, 4 operations

  • bulk_purge_tagBulk purge tagPOSTPurges multiple surrogate key tags in one batch request. Supports up to 256 keys per request.
  • purge_allPurge allPOSTInstantly purges all cached content for a Fastly service across all edge locations worldwide. Known as Instant Purge with sub-second propagation.
  • purge_by_keyPurge by keyPOSTPurges all cached objects tagged with a specific surrogate key. Enables invalidation of related content groups without knowing individual URLs.
  • purge_single_urlPurge single urlPOSTInstantly purges a specific URL from Fastly cache across all edge locations. Supports soft purge for stale-while-revalidate patterns.

Domain, 4 operations

  • check_domainsCheck domainsGETValidates DNS configuration for all domains on a Fastly service version.
  • create_domainCreate domainPOSTAdds a domain to a Fastly service version. Configure DNS CNAME to point the domain to Fastly's network for traffic routing.
  • delete_domainDelete domainDELETERemoves a domain from a Fastly service version.
  • list_domainsList domainsGETLists all domains configured for a Fastly service version. Returns hostname, comment, and SSL certificate status for each domain.

Backend, 2 operations

  • create_backendCreate backendPOSTAdds an origin backend to a Fastly service version. Configure the origin server address, SSL settings, timeouts, and load balancing weight.
  • list_backendsList backendsGETLists all origin backends configured for a Fastly service version. Returns backend hostnames, ports, health check status, and connection settings.

Statistics, 1 operation

  • get_statsGet statsGETRetrieves historical statistics for a Fastly service including requests, bandwidth, cache performance, and error rates.

Use Fastly from Claude Code, Cursor or Codex

Connect Fastly in LiveContext, create an API key in Settings, then add the LiveContext MCP server to your client. Its Fastly operations become tools the client can call, next to every other integration you connected.

Claude Code
claude mcp add --transport http livecontext https://livecontext.ai/mcp --header "X-API-Key: YOUR_API_KEY"
Codex (~/.codex/config.toml)
[mcp_servers.livecontext]
url = "https://livecontext.ai/mcp"

[mcp_servers.livecontext.http_headers]
"X-API-Key" = "YOUR_API_KEY"
Cursor, Claude Desktop and other JSON configs
{
  "mcpServers": {
    "livecontext": {
      "type": "http",
      "url": "https://livecontext.ai/mcp",
      "headers": {
        "X-API-Key": "YOUR_API_KEY"
      }
    }
  }
}

Set up the MCP server step by step

How to connect Fastly

  1. Create your workspace

    Sign up free. Nothing to install.

  2. Connect Fastly once

    Add your Fastly connection in Settings. Every tool from this integration reuses it, and secrets are encrypted at rest and visible only to you.

  3. Describe the job in chat

    The workflow builds itself in front of you and picks the endpoints it needs. Drag the steps yourself on the canvas whenever you would rather be explicit.

Fastly integration FAQ

What can you do with the Fastly integration?

LiveContext exposes 24 operations on Fastly, covering service, version, cache and domain. Common uses include auditing CDN settings, pre-modification review and renaming a service.

Popular integrations

Browse the whole catalog