ALECS - MCP Server for Akamai

Manage Akamai's edge platform, including properties, DNS, certificates, security, and performance optimization, using AI assistants.

šŸš€ ALECS MCP Server for Akamai

A Launchgrid for Edge & Cloud Services

AI-powered Akamai CDN management through natural language

npm version GitHub release Build Status Add to Cursor

šŸ”§ 156 Tools • 🌐 15 Services • šŸ” Full EdgeRC Support • ⚔ Production Ready

šŸŽÆ What is ALECS?

ALECS bridges the gap between AI tools and Akamai's Connected Cloud Platform. Ask Claude, Cursor, or any MCP-compatible tool to manage your Akamai infrastructure using natural language and minimize context switching when creating Infrastructure-as-Code!

"List my Akamai properties"          →  Complete property inventory
"Create a DNS zone for example.com"  →  Zone created and configured
"Purge cache for /images/*"          →  Cache invalidated instantly
"Check SSL certificate status"       →  Validation progress shown

šŸŽ‰ One-Click Installation

macOS:

curl -sSL https://raw.githubusercontent.com/acedergren/alecs-mcp-server-akamai/main/scripts/install-claude-desktop.sh | bash

Windows:

# Download and run installation script
Invoke-WebRequest -Uri "https://raw.githubusercontent.com/acedergren/alecs-mcp-server-akamai/main/scripts/install-claude-desktop.sh" -OutFile "install-claude-desktop.sh"
bash install-claude-desktop.sh

Linux:

curl -sSL https://raw.githubusercontent.com/acedergren/alecs-mcp-server-akamai/main/scripts/install-claude-desktop.sh | bash

One-click button: Add to Cursor

Auto-install script:

curl -sSL https://raw.githubusercontent.com/acedergren/alecs-mcp-server-akamai/main/scripts/install-cursor.sh | bash

One-click button: Add to LM Studio

Auto-install script:

curl -sSL https://raw.githubusercontent.com/acedergren/alecs-mcp-server-akamai/main/scripts/install-lmstudio.sh | bash

Extension + Server:

curl -sSL https://raw.githubusercontent.com/acedergren/alecs-mcp-server-akamai/main/scripts/install-vscode.sh | bash

Manual Setup:

  1. Install MCP extension
  2. Cmd/Ctrl + Shift + P
  3. "MCP: Add Server"
  4. Command: alecs

Auto-configure:

curl -sSL https://raw.githubusercontent.com/acedergren/alecs-mcp-server-akamai/main/scripts/install-windsurf.sh | bash

Manual Setup:

  1. Open Windsurf Settings
  2. Navigate to MCP Servers
  3. Add server with command: alecs

Simple command:

claude mcp add alecs-akamai alecs

Verify:

claude mcp list

šŸ“¦ Quick Start

1. Install ALECS

Choose your preferred method:

Global install:

npm install -g alecs-mcp-server-akamai

Verify:

alecs --version

macOS/Linux:

curl -sSL https://raw.githubusercontent.com/acedergren/alecs-mcp-server-akamai/main/scripts/install-homebrew.sh | bash

Manual:

brew install node
npm install -g alecs-mcp-server-akamai

Quick start:

docker run -it --env-file .env ghcr.io/acedergren/alecs-mcp-server-akamai:latest

See full Docker section below for more options

2. Configure Akamai

Create ~/.edgerc with your credentials:

[default]
client_secret = your_client_secret
host = your_host.luna.akamaiapis.net
access_token = your_access_token
client_token = your_client_token

3. Choose Your AI Tool

Pick your favorite AI assistant and use the one-click installers above! šŸš€

🌟 Features

šŸ› ļø Service Coverage

ServiceToolsKey Features
šŸ¢ Property Manager25CDN configs, rules, activations
šŸ›”ļø Security47Network lists, WAF policies
🌐 Edge DNS12DNS zones, records, DNSSEC
šŸ“‹ Includes10Include configurations
šŸ”— Edge Hostnames10Hostname management
šŸ“Š Reporting9Analytics and metrics
šŸ” Certificates8SSL/TLS lifecycle management
⚔ Fast Purge8Cache invalidation
šŸ”§ Workflow7Orchestration and automation
🌐 Hostname Mgmt5Advanced hostname operations
šŸ“¦ Bulk Operations5Batch processing
🚨 SIEM4Security monitoring
šŸ—ļø Rule Tree4Rule processing
šŸ“Š CPCode2Traffic analysis codes

šŸŽØ Natural Language Examples

šŸ—£ļø What You Say

"List my properties"
"Create DNS zone for example.com"
"Purge cache for /images/*"
"Check my SSL certificates"
"Show traffic for last 7 days"
"Add IP 192.168.1.0/24 to blocklist"

šŸ¤– What ALECS Does

āœ… property_list → Full inventory
āœ… dns_zone_create → Zone configured
āœ… fastpurge_url → Cache cleared
āœ… certificate_status → SSL validated
āœ… traffic_report → Analytics shown
āœ… network_list_add → IP blocked

šŸ—ļø Architecture

graph LR
    A[šŸ¤– AI Assistant] --> B[šŸš€ ALECS Server]
    B --> C[🌐 Akamai APIs]

    subgraph "šŸ”§ ALECS Components"
        B1[šŸ“” MCP Protocol]
        B2[šŸ” EdgeGrid Auth]
        B3[šŸ“‹ Tool Registry]
        B4[šŸŖ Service Modules]
    end

    subgraph "🌐 Akamai Services"
        C1[šŸ¢ Property Manager]
        C2[šŸŒ Edge DNS]
        C3[šŸ” Certificates]
        C4[šŸ›”ļø Security]
        C5[⚔ Fast Purge]
    end

    B --> B1
    B1 --> B2
    B2 --> B3
    B3 --> B4
    B4 --> C1
    B4 --> C2
    B4 --> C3
    B4 --> C4
    B4 --> C5

🐳 Docker & Deployment

Quick Start

# Standard I/O for Claude Desktop (default)
docker run -it --env-file .env ghcr.io/acedergren/alecs-mcp-server-akamai:latest

# Streamable HTTP for web/CDN deployment
docker run -it -p 8080:8080 -e MCP_TRANSPORT=streamable-http --env-file .env ghcr.io/acedergren/alecs-mcp-server-akamai:latest

Transport Options

# Available transports
MCP_TRANSPORT=stdio           # Default - Claude Desktop, Cursor, CLI tools
MCP_TRANSPORT=streamable-http # Web clients, CDN deployment (recommended)
MCP_TRANSPORT=websocket       # Real-time bidirectional communication
MCP_TRANSPORT=sse             # Legacy Server-Sent Events (deprecated)

# Transport-specific configuration
HTTP_PORT=8080                # Port for streamable HTTP (default: 8080)
HTTP_HOST=0.0.0.0            # Host for streamable HTTP
HTTP_PATH=/mcp               # Base path for HTTP endpoints
CORS_ENABLED=true            # Enable CORS for browser clients

Available Docker Images

docker pull ghcr.io/acedergren/alecs-mcp-server-akamai:latest    # Full server
docker pull ghcr.io/acedergren/alecs-mcp-server-akamai:modular   # Microservices
docker pull ghcr.io/acedergren/alecs-mcp-server-akamai:websocket # WebSocket
docker pull ghcr.io/acedergren/alecs-mcp-server-akamai:http      # Streamable HTTP

šŸ†• OpenAPI-Driven Development

ALECS now features automatic tool generation from OpenAPI specifications:

# Generate new domain from API spec
alecs generate-from-api --spec ./openapi.json --domain mydomain

# Update existing tools when APIs change
alecs generate-from-api --spec ./api-v2.json --domain property --update

# Migrate legacy tools to OpenAPI patterns
alecs generate-from-api --spec ./api.json --tool ./dns-tools.ts --migrate

Benefits:

  • šŸš€ 10x faster tool development
  • šŸ”§ Always up-to-date with latest API changes
  • šŸ“ Type-safe with automatic Zod schema generation
  • šŸ”„ Smart updates preserve custom logic
  • šŸŽÆ Zero manual work for standard CRUD operations

šŸ“š Documentation

šŸ“– GuidešŸ“ Description
Developer DocumentationComplete developer guide
Developer OnboardingNew team member onboarding
API ReferenceAll 156 tools documented
Getting StartedSetup tutorials
Architecture ExplainerComprehensive architecture guide
Architecture Quick ReferenceQuick architecture lookup
Visual ArchitectureArchitecture diagrams
Architecture Deep DiveTechnical system design
Development GuideCoding standards & patterns
Testing StrategyComprehensive testing approach
Deployment GuideProduction deployment
Operations RunbookProduction operations & troubleshooting
Tool CreationBuild custom tools & use OpenAPI

šŸ¤ Contributing

We welcome contributions! Check out our Contributing Guide to get started.

šŸ› Found a bug? Report it šŸ’” Have an idea? Suggest it ā“ Need help? Ask us

šŸ“„ License

GNU Affero General Public License v3.0 (AGPL-3.0) - see LICENSE


🌟 Star us on GitHub • šŸ“¦ Follow on NPM • 🐳 Use with Docker

Built with ā¤ļø for Akamai by Alexander Cedergren, alex@solutionsedge.io

Related Servers