
FastlyMCP
Fastly MCP brings the power of Fastly's API directly to your AI assistants through the Model Context Protocol (MCP).
3 years
Works with Finder
3
Github Watches
1
Github Forks
3
Github Stars
FastlyMCP

Fastly MCP brings the power of Fastly's API directly to your AI assistants through the Model Context Protocol (MCP).
Fastly's API-First Approach
Fastly's API-first design philosophy means:
- Everything is an API - Every feature available in the Fastly UI is accessible via API
- Programmatic Control - Full control over services, configurations, and edge logic
- Automation Ready - Support for CI/CD workflows and infrastructure as code
- Real-time Changes - API changes propagate globally in seconds, not minutes or hours
What Can I Do With Fastly API?
Fastly's comprehensive API allows you to:
- Manage CDN Services - Create, configure, and deploy content delivery services
- Control Caching - Set up cache strategies and perform instant purges
- Configure Security - Manage WAF, DDoS protection, and TLS certificates
- Monitor Performance - Access real-time metrics and historical stats
- Implement Edge Logic - Deploy custom VCL or Compute@Edge applications
- Automate Workflows - Integrate with CI/CD pipelines and infrastructure tools
Your API Key Stays Safe!
The AI assistant never sees your Fastly API key. It talks to a local helper (FastlyMCP) which uses the key securely.
What You Can Ask Your AI
With Fastly MCP configured, you can ask your AI assistant questions like:
What You Want To Do | Example AI Request |
---|---|
List your services | "Show me all my Fastly services" |
Get domain details | "What domains are configured for my e-commerce service?" |
Purge cache | "Purge the cache for my product service" |
Check traffic | "What's the traffic pattern for my main site over the last week?" |
View configuration | "Show me the backend servers for my API service" |
Check performance | "What's my current cache hit ratio?" |
"What the traffic pattern my for services over the last week?"
"List all my Fastly services and their domains."
"Build an interactive preformance dashboard about my Fastly serivce."
Getting Started
Prerequisites
- A Fastly account and API key (Get started with Fastly)
- An AI assistant that supports MCP (e.g., Claude, GPT with plugins)
- The Fastly CLI installed (Installation Guide)
Connect Your AI Assistant
Configure your AI assistant with:
{
"mcpServers": {
"fastly": {
"command": "node",
"args": ["path/to/fastly-mcp.mjs"],
"env": {
"FASTLY_API_KEY": "your_fastly_api_key"
}
}
}
}
Advanced Operation Examples
Task Goal | Example AI Request |
---|---|
Optimize service based on traffic | "Analyze the configuration for [service_id/name] and suggest optimizations based on its traffic profile, prioritizing low latency." |
Configure for live video | "Configure [service_id/name] for optimal live video streaming following the best practices outlined in [link_to_guide_or_doc] ." |
Find config conflicts | "Identify potential configuration conflicts in [service_id/name] compared to standard e-commerce delivery patterns." |
Optimize video chunk caching | "Optimize caching for [service_id/name] to handle 10-second video chunks efficiently, minimizing origin load." |
Enhance WAF security | "Review the WAF rules for [service_id/name] and suggest stricter settings to mitigate potential SQL injection attacks." |
Set up origin mTLS | "Set up Mutual TLS (mTLS) authentication between Fastly and the origin servers for [service_id/name] ." |
Implement A/B testing (Edge) | "Deploy a Compute@Edge function to [service_id/name] that performs A/B testing by routing 10% of users to backend [backend_name] ." |
Add dynamic image rewriting (VCL) | "Write and deploy VCL for [service_id/name] to dynamically rewrite image URLs based on the requesting device's user agent." |
Troubleshoot 5xx errors | "Analyze logs for [service_id/name] from the past 24 hours to identify the root cause of the recent spike in 5xx errors." |
Learn More
License
This project is licensed under the MIT License - see the LICENSE file for details.
相关推荐
🔥 1Panel provides an intuitive web interface and MCP Server to manage websites, files, containers, databases, and LLMs on a Linux server.
🧑🚀 全世界最好的LLM资料总结(数据处理、模型训练、模型部署、o1 模型、MCP、小语言模型、视觉语言模型) | Summary of the world's best LLM resources.
PDF scientific paper translation with preserved formats - 基于 AI 完整保留排版的 PDF 文档全文双语翻译,支持 Google/DeepL/Ollama/OpenAI 等服务,提供 CLI/GUI/MCP/Docker/Zotero
Easily create LLM tools and agents using plain Bash/JavaScript/Python functions.
😎简单易用、🧩丰富生态 - 大模型原生即时通信机器人平台 | 适配 QQ / 微信(企业微信、个人微信)/ 飞书 / 钉钉 / Discord / Telegram / Slack 等平台 | 支持 ChatGPT、DeepSeek、Dify、Claude、Gemini、xAI、PPIO、Ollama、LM Studio、阿里云百炼、火山方舟、SiliconFlow、Qwen、Moonshot、ChatGLM、SillyTraven、MCP 等 LLM 的机器人 / Agent | LLM-based instant messaging bots platform, supports Discord, Telegram, WeChat, Lark, DingTalk, QQ, Slack
⛓️RuleGo is a lightweight, high-performance, embedded, next-generation component orchestration rule engine framework for Go.
Reviews

user_Vn0Pjj0l
FastlyMCP by Arodoid is an exceptional tool! Its efficient performance and user-friendly interface have significantly improved my workflow. The product's robust capabilities ensure seamless operation, and the support provided by Arodoid is top-notch. Highly recommended for anyone in need of a reliable MCP application.

user_lnkqi6QF
As a loyal MCP application user, I highly recommend FastlyMCP by Arodoid. This tool has greatly optimized my work efficiency with its seamless integration and user-friendly interface. The product offers comprehensive features that are easy to navigate, making it perfect for both beginners and advanced users. FastlyMCP is a must-have for anyone looking to enhance their productivity.

user_JdqC2Rvr
As a dedicated user of FastlyMCP, I can attest to its seamless integration and exceptional performance. Developed by Arodoid, this tool significantly enhances application efficiency and reliability. Its user-friendly interface and robust features make it an indispensable asset for any developer looking to optimize their workflow. I highly recommend FastlyMCP for anyone in need of a powerful and reliable solution.

user_um1nFn8e
As a dedicated user of FastlyMCP, I can confidently say that it has tremendously improved my workflow efficiency. Created by Arodoid, this tool offers seamless integration and a user-friendly interface, making complex tasks much more manageable. Highly recommended for anyone looking to enhance their application performance.

user_1NEpJETk
As a loyal user of FastlyMCP, I must say this product is a game changer! Authored by Arodoid, it excels in performance and reliability. FastlyMCP has significantly improved my workflow with its user-friendly interface and efficiency. Highly recommended for those seeking top-tier MCP applications!

user_gjgalti6
FastlyMCP by Arodoid is an outstanding tool that has significantly improved my workflow. It's user-friendly and efficient, making complex tasks much simpler. The interface is intuitive, and its performance is top-notch. Highly recommend it to anyone looking to streamline their processes!