🚀 Akamai Functions MCP Server
Unlock the power of Akamai Functions within your AI Assistant. This MCP (Model Context Protocol) server allows tools like Claude Desktop or Cursor to interact with your edge applications using natural language.
🛑 Prerequisites
Before adding the server to your AI client, ensure your local environment is ready:
-
Plugin Installed: You need the
akaplugin for Spin:spin plugins update spin plugins install aka --yes -
Login Required: You must be authenticated via the
akaplugin for `spin:spin aka login
📦 Installation
NOTE: If you're using an installation method other than Homebrew (
brew), please addakamai-functions-mcpto yourPATHvariable.
Install with Homebrew (recommended)
Install via Homebrew by adding the Akamai Developers tap and installing the formula:
brew tap akamai-developers/tap
brew install akamai-developers/tap/akamai-functions-mcp
Download a precompiled binary
If Homebrew is not available (for example on Windows), download a precompiled binary from the latest release.
Build from source
Build the binary locally using Go:
go build -o akamai-functions-mcp main.go
⚙️ Configuration
To let your AI Assistant use the server, add the spin command to your configuration. Optionally, enable debug logging by appending the --debug flag to the args array.
Claude Desktop
Update your claude_desktop_config.json (found in ~/Library/Application Support/Claude/ on macOS or %APPDATA%\Claude\ on Windows):
{
"mcpServers": {
"akamai-functions": {
"command": "akamai-functions-mcp",
"args": []
}
}
}
Cursor / VS Code
- Navigate to Settings > MCP
- Click + Add Server
- Name:
Akamai Functions MCP Server - Type:
command - Command:
akamai-functions-mcp - Args: ``
Zed
From the command palette select the agent: add context server action provide the following JSON configuration and save the configuration by pressing Add Server:
{
"Akamai Functions MCP Server": {
"command": "akamai-functions-mcp",
"args": [],
"env": {}
}
}
🤖 Example Interactions
Your AI now acts as a technical assistant for your edge infrastructure. Try asking:
- "Show me all applications in my 'staging' account."
- "What's the current status and URL for the 'edge-api' app?"
- "Check the logs for 'image-processor' look for any 404 errors."
- "List my available Akamai Functions accounts."
🛠 Available Tools
Available Resources 📄
- The
spin akacommand Reference - Returns the full command reference as markdown.