Skip to main content
Glama

fastly_cli

Execute Fastly CLI commands with automatic authentication to manage CDN services, deploy Compute projects, and handle caching without exposing API keys.

Instructions

Execute Fastly CLI commands securely without exposing API keys.

This tool allows you to run Fastly CLI commands while the MCP server handles authentication automatically. The LLM never sees or needs to handle the API key directly.

USAGE EXAMPLES:

  1. Initialize a Compute project: fastly_cli('compute init --language javascript -d -y')

  2. Build a package: fastly_cli('compute build')

  3. Deploy a service: fastly_cli('compute deploy --service-id SERVICE_ID -d -y')

COMMON COMMANDS:

  • compute init: Initialize a new Compute project

  • compute build: Build a Compute package

  • compute deploy: Deploy a Compute package

  • compute publish: Build and deploy in one step

  • whoami: Check authentication status

SECURITY NOTE: Authentication is handled automatically. Never attempt to pass API keys in commands.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
commandYesThe Fastly CLI command to execute (without the 'fastly' prefix)
working_directoryNoOptional working directory for command execution

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/Arodoid/FastlyMCP'

If you have feedback or need assistance with the MCP directory API, please join our Discord server