
fastly/mcp
Developer toolsこのページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る
モデル コンテキストプロトコル (MCP) サーバ for AI 搭載 Fastly CDN 管理.
概要
Fastly MCP サーバーでは、MCP クライアントが Fastly API と連携できるようにします。 Claude デスクトップ、Claude コード、Gemini CLI、Opencode、Qwen コード、Cline、Swival などのアシスタントに接続し、 Fastly API トークンを付与し、アシスタントはサービスをチェックしたり、ドメインや TLS 設定を検査したり、トラフィックや使用状況をチェックしたり、辞書や ACLs、パージコンテンツを管理したり、設定を変更したりすることができます。 このプロジェクトは積極的に開発され、Tier 1 はオープンソースのサポートを迅速に行っています。 サポートポリシーは、Fastly のオープンソース文書に記載されています。 よくある質問とフィードバックは、Fastly開発者ツールコミュニティフォーラムで歓迎されています。 ほとんどのMCPサーバーは、各操作のための1つのツールを公開します。 Fastly の API は大きいので、このサーバーはアシスタントが正しく使用するのがより小さいワークフローを使用します。 検索ツールは、キーワード、メソッド名、APIクラス、HTTPパスで関連するAPIメソッドを見つけます.
概要(AI 翻訳)
Fastly MCP サーバーでは、MCP クライアントが Fastly API と連携できるようにします。
Claude Desktop、Claude Code、Gemini CLI、Opencode、Qwen Code、Cline、Swivalなどのアシスタントに接続し、 Fastly APIトークンを提供します。 アシスタントは、次のことができます。
- サービスを見て、ドメインとTLSの設定を調べます。
- トラフィックと使用状況を確認します。
- 辞書と ACL の管理
- コンテンツをパージし、それを尋ねるときに設定の変更を行います。
このプロジェクトは積極的に開発され、Tier 1 はオープンソースのサポートを迅速に行っています。 サポートポリシーは、Fastly のオープンソース文書に記載されています。
よくある質問とフィードバックは、Fastly開発者ツールコミュニティフォーラムで歓迎されています。
コンテンツ
- 使い方
- 条件
- インストール
- HTTP上で実行する
- 複数のユーザーのリモートサービスを実行
- サーバーをよく使う
- 秘密の暗号化
- トラブルシューティング
- ローカル開発
- セキュリティ
- ライセンス
使い方
ほとんどのMCPサーバーは、各操作のための1つのツールを公開します。 Fastly の API が大きいため、このサーバーはアシスタントが一緒に使用できるツールの小さなセットを使用します。
-
キーワード、メソッド名、API クラス、HTTP パスで API メソッドを見つけるために [
searchで開始します。
このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。
README
以下は原文 README の抜粋です。原文を見る。
Fastly MCP Server
The Fastly MCP server lets MCP clients work with the Fastly API.
Connect it to an assistant such as Claude Desktop, Claude Code, Gemini CLI, Opencode, Qwen Code, Cline, or Swival, and give it a Fastly API token. The assistant can then:
- Look up services and inspect domains and TLS settings.
- Check traffic and usage.
- Manage dictionaries and ACLs.
- Purge content and make configuration changes when you ask it to.
This project is actively developed and has Tier 1 Fastly open-source support. The support policy is described in Fastly’s open-source documentation.
Questions and feedback are welcome on the Fastly developer tools community forum.
Contents
- How it works
- Requirements
- Installation
- Running over HTTP
- Running a remote service for several users
- Using the server well
- Secret encryption
- Troubleshooting
- Local development
- Security
- License
How it works
Most MCP servers expose one tool for each operation. Because Fastly’s API is large, this server uses a smaller set of tools that an assistant can use together.
-
Start with
searchto find API methods by keyword, method name, API class, or HTTP path. -
Then use
inspectto get a method’s documentation, including its parameters, return type, and an example. -
Once you have the details, use
executeto run a short JavaScript snippet with theFastlyclient already set up with your API token.
This keeps the tool list small while still covering every method documented in the bundled Fastly client docs.
Requirements
Runtime
Install either Bun or Node.js 24.12.0 or newer; you do not need both to run the server. Node.js is recommended for remote mode.
The examples use bunx, which downloads and runs the package without a global install.
With Node.js, use npx instead.
Use the full package and command names to avoid picking up an unrelated mcp command on your PATH:
- With
bunx:bunx -p @fastly/mcp fastly-mcp - With
npx:npx -p @fastly/mcp fastly-mcp - Explicitly using Bun:
bunx --bun -p @fastly/mcp fastly-mcp
The --bun option runs the package with Bun rather than following its Node.js shebang.
Fastly API token
You also need a Fastly API token. For everyday use, create the narrowest token that fits the work you expect the assistant to do:
- Start with a read-only token for investigation and reporting.
- Use a token with write access only when you actually want the assistant to make changes.
インストール
This server does not publish a one-line install command.
Open the repository installation guide MCP 初心者?mcpskill.org のガイドから始めましょう →設定
{
"mcpServers": {
"fastly": {
"command": "bunx",
"args": ["-p", "@fastly/mcp", "fastly-mcp"],
"env": {
"FASTLY_API_TOKEN": "your-token-here"
}
}
}
}