Enables interaction with Akamai's CDN and edge services, including property management, Edge DNS management, SSL/TLS certificate handling, content invalidation (FastPurge), CP code management, and multi-customer account support.
Offers production-ready containers with compose configurations for simplified deployment and operation.
Built on Node.js 18+ with a modular architecture allowing deployment of focused servers for specific use cases or a monolithic server with all features.
Plans to add future capability to generate Terraform configurations from existing Akamai properties.
The codebase is fully migrated to TypeScript with strict mode enabled, providing enhanced type safety and developer experience.
ALECS - MCP Server for Akamai
ALECS - A LaunchGrid for Edge & Cloud Services
An MCP (Model Context Protocol) server that enables AI assistants to interact with Akamai's CDN and edge services APIs. ALECS provides comprehensive tools for managing Akamai properties, configurations, and services through natural language interactions.
Features
🚀 Multi-Customer Support
- Seamless switching between multiple Akamai accounts for Akamai personel and partners.
- Account-specific configurations via
.edgerc
sections - Automatic account key detection and application
🔍 Intelligent Search
- Property lookup by name or ID
- Group search with filtering capabilities
- Automatic contract selection when not specified
📊 Comprehensive Property Management
- List and search properties across contracts
- Detailed property information including versions and activation status
- Property configuration and rule management
🔐 SSL/TLS Certificate Management (CPS)
- Default DV Certificates: Automated domain validation certificates
- Enhanced TLS Network: Modern TLS 1.3 support
- ACME DNS Automation: Automatic DNS validation record creation
- Certificate Lifecycle: Creation, renewal, and deployment tracking
🌍 DNS Management (Edge DNS)
- Zone Management: Create and manage PRIMARY, SECONDARY, and ALIAS zones
- Record Operations: Full CRUD for A, AAAA, CNAME, MX, TXT, and more
- Bulk Operations: Import/export via zone files
- Hidden Changelist Workflow: Transparent change management
- Advanced DNS Functions: DNSSEC status, zone transfers, versioning
🔄 DNS Migration Tools
- Zone Transfer (AXFR): Import from any DNS provider supporting zone transfers
- Zone File Import: Parse and import standard BIND zone files
- Bulk Record Import: Efficient migration of large zones
- Nameserver Migration Guide: Step-by-step migration instructions
🔐 Secure Authentication
- EdgeGrid authentication protocol support
- Secure credential management via
.edgerc
- Account switching via
account_key
field
🛠 Developer Experience
- Docker Support: Production-ready containers with compose configurations
- Makefile Automation: Comprehensive build, test, and deployment commands
- Template Engine: Extensible property template system
- Progress Tracking: Real-time feedback for long-running operations
- LLM Optimized: Designed for AI assistant interactions
Installation
Quick Start (Interactive Mode) 🚀
The interactive mode will guide you through:
- Selecting which services to run (Property, DNS, Certificates, Security, Reporting)
- Configuring your
.edgerc
path - Choosing the appropriate server configuration
NPM Package Installation
Configuration
1. Set up your .edgerc
file
Create a ~/.edgerc
file with your Akamai credentials:
2. Configure Claude Desktop
ALECS has been completely refactored with a modular architecture for optimal performance and flexibility. The project now features:
- TypeScript Migration: 100% TypeScript with full strict mode for enhanced type safety
- Modular Architecture: Services split into focused, independent modules
- Interactive Start: User-friendly CLI for selecting services
- Improved Performance: Up to 80% reduction in memory usage
- Better Error Handling: Comprehensive error handling with unknown catch variables
ALECS offers multiple deployment modes:
Option A: Modular Servers (Recommended) 🚀
Deploy focused servers for specific use cases. This approach reduces memory usage by up to 80% and improves stability:
Modular Server Benefits:
- alecs-property (32 tools): Property management, activations, and basic certificate support
- alecs-dns (24 tools): DNS zones, records, and migrations
- alecs-certs (22 tools): Full certificate lifecycle management
- alecs-reporting (25 tools): Analytics, metrics, and performance reports
- alecs-security (95 tools): WAF, network lists, bot management, and DDoS protection
Option B: Monolithic Server (All Features)
For users who need all features in one server:
Option C: Essential Server (Core Features Only)
A lightweight option with just the most commonly used features:
Choosing the Right Configuration
Configuration | Use Case | Memory Usage | Tool Count |
---|---|---|---|
Modular | Deploy only what you need | ~80MB per module | 22-95 per module |
Monolithic | Need all features at once | ~512MB | 198 total |
Essential | Basic property & DNS management | ~200MB | ~60 tools |
Recommendation: Start with modular servers and add modules as needed. This provides the best performance and stability.
Usage Examples
List Properties
Search for Properties
Group Management
Multi-Customer Operations
DNS Zone Management
DNS Record Management
Available Tools
FastPurge - Content Invalidation
fastpurge.url.invalidate
- Invalidate content by URL(s)fastpurge.cpcode.invalidate
- Invalidate all content for CP code(s)fastpurge.tag.invalidate
- Invalidate content by cache tag(s)fastpurge.status.check
- Check purge operation statusfastpurge.queue.status
- View queue status and pending operationsfastpurge.estimate
- Estimate purge completion time
Property Management - Core Functions
list_properties
- List CDN properties with filtering optionsget_property
- Get detailed property information by name or IDlist_groups
- List account groups with search capabilitylist_contracts
- List available contractscreate_property
- Create new CDN propertiesclone_property
- Clone an existing propertyremove_property
- Delete a property
Property Management - Version & Rule Management
create_property_version
- Create a new property versionlist_property_versions
- List all versions of a propertyget_property_version
- Get specific version detailsget_latest_property_version
- Get the latest version detailscompare_property_versions
- Compare two property versionsget_version_timeline
- Get comprehensive version historyrollback_property_version
- Rollback to a previous versionupdate_version_metadata
- Update version notes and tagsmerge_property_versions
- Merge changes between versionsbatch_create_versions
- Create versions across multiple propertiesget_property_rules
- Get property configuration rulesupdate_property_rules
- Update property configurationpatch_property_rules
- Apply JSON patch to rulesvalidate_rule_tree
- Comprehensive rule validationcreate_rule_tree_from_template
- Use predefined rule templatesanalyze_rule_tree_performance
- Analyze rule performancedetect_rule_conflicts
- Find rule conflictsoptimize_rule_tree
- Optimize rule configuration
Property Management - Hostname & Activation
create_edge_hostname
- Create edge hostname for content deliverylist_edge_hostnames
- List available edge hostnamesget_edge_hostname
- Get edge hostname detailsadd_property_hostname
- Add hostname to propertyremove_property_hostname
- Remove hostname from propertylist_property_version_hostnames
- List hostnames for a versionactivate_property
- Activate property to staging/productionget_activation_status
- Check activation progresslist_property_activations
- List activation historycancel_property_activation
- Cancel pending activation
Property Management - Search & Analysis
search_properties
- Search properties by various criteriasearch_properties_advanced
- Multi-criteria advanced searchcompare_properties
- Compare two properties in detailcheck_property_health
- Comprehensive property health checkdetect_configuration_drift
- Detect drift from baselinelist_all_hostnames
- List all hostnames across propertiesbulk_search_properties
- Initiate bulk property searchget_bulk_search_results
- Get bulk search resultsget_property_audit_history
- Get property change history
Property Management - Bulk Operations
bulk_clone_properties
- Clone property to multiple targetsbulk_activate_properties
- Activate multiple propertiesbulk_update_property_rules
- Update rules across propertiesbulk_manage_hostnames
- Add/remove hostnames in bulkbulk_update_properties
- Apply common changes to multiple propertiesget_bulk_operation_status
- Track bulk operation progress
Property Management - Products & CP Codes
list_products
- List available Akamai productsget_product
- Get product detailslist_use_cases
- List product use caseslist_cpcodes
- List CP codes for reportingget_cpcode
- Get CP code detailscreate_cpcode
- Create new CP codesearch_cpcodes
- Search CP codes
Certificate Management
create_dv_enrollment
- Create Default DV certificateget_dv_validation_challenges
- Get domain validation challengescheck_dv_enrollment_status
- Check certificate statuslist_certificate_enrollments
- List all certificateslink_certificate_to_property
- Link certificate to propertyupdate_property_with_default_dv
- Add secure edge hostname with DV certupdate_property_with_cps_certificate
- Add edge hostname with CPS cert
Secure Property Onboarding
onboard_secure_property
- Complete secure property workflowquick_secure_property_setup
- Quick setup with defaultscheck_secure_property_status
- Check onboarding statusdebug_secure_property_onboarding
- Debug onboarding issues
DNS Management - Core Functions
list_zones
- List all DNS zones with filteringget_zone
- Get detailed zone informationcreate_zone
- Create new DNS zones (PRIMARY, SECONDARY, or ALIAS)list_records
- List DNS records in a zoneupsert_record
- Create or update DNS recordsdelete_record
- Delete DNS records
DNS Management - Advanced Functions
get_zones_dnssec_status
- Check DNSSEC status for multiple zonesget_secondary_zone_transfer_status
- Get transfer status for secondary zonesget_zone_contract
- Get contract information for zonesget_record_set
- Get a specific DNS record setupdate_tsig_key_for_zones
- Update TSIG authentication keyssubmit_bulk_zone_create_request
- Create multiple zones in bulkget_zone_version
- Get specific zone version detailsget_version_record_sets
- Get records from a specific zone versionreactivate_zone_version
- Reactivate a previous zone versionget_version_master_zone_file
- Export zone version as master filecreate_multiple_record_sets
- Create multiple DNS records in bulk
DNS Migration Tools
import_zone_via_axfr
- Import DNS zones via AXFR transferparse_zone_file
- Parse and validate zone file contentbulk_import_records
- Bulk import DNS records from parsed dataconvert_zone_to_primary
- Convert secondary zones to primarygenerate_migration_instructions
- Generate provider-specific migration guides
Development
Prerequisites
- Node.js 18+
- TypeScript 5+
- Akamai account with API credentials
Setup
TypeScript Configuration
The project now uses full TypeScript strict mode:
Testing
Architecture
Recent Refactoring (v1.3.0)
The server has undergone a complete architectural refactoring:
Key Changes:
- Service Separation: Monolithic server split into 5 focused modules
- TypeScript Migration: All JavaScript files converted to TypeScript
- Strict Mode: Full TypeScript strict mode enabled
- Interactive CLI: New user-friendly startup experience
- Performance Optimization: Reduced memory footprint and improved startup times
Modular Structure:
Current Capabilities (v1.3.0)
🎯 New in v1.3.0
- Complete TypeScript Migration: 100% TypeScript codebase with full strict mode
- Modular Architecture: Services split into focused, independent modules
- Interactive CLI: User-friendly startup with service selection
- Enhanced Type Safety: Comprehensive interfaces and type definitions
- Improved Error Handling: Proper handling of unknown errors in catch blocks
- Performance Optimization: Reduced memory usage and faster startup times
- Better Developer Experience: Full IntelliSense support and type checking
✅ Implemented Features
- Property Manager: Full CRUD operations, version management, activation workflow
- Edge DNS: Zone management, record operations, bulk imports, DNSSEC support
- Certificate Management: Default DV certificates with automatic DNS validation
- Multi-Account Support: Seamless account switching (Akamai intenral and channel partners only)
- Product Mapping: Intelligent product selection and recommendations
- CP Code Management: Create and manage CP codes for reporting
- Secure Property Onboarding: Automated HTTPS property setup workflow
- DNS Migration: AXFR transfers, zone file imports, provider-specific guides
- Advanced Search: Property search by name, hostname, edge hostname
- Progress Tracking: Real-time feedback for long-running operations
- FastPurge v3: Intelligent content invalidation with rate limiting and queue management
- Version Control: Comprehensive version comparison, timeline, and rollback
- Rule Tree Management: Validation, optimization, templates, and merging
- Bulk Operations: Multi-property cloning, activation, and rule updates
Previous Features (v1.2.0)
- FastPurge Service: Enterprise-grade content invalidation with intelligent rate limiting and batching
- Advanced Version Management: Version comparison, timeline tracking, rollback capabilities
- Rule Tree Optimization: Comprehensive validation, templates, and performance analysis
- Bulk Operations: Multi-property management with progress tracking
- Enhanced Search: Multi-criteria property search and health checks
🚧 Upcoming Features
Short term
- Network Lists: IP and geographic access control list management
- Image & Video Manager: Policy creation and management
- Simple Edgeworkers: Edge logic deployment (redirects, forwards, etc.)
Medium term
- Application Security: WAF rule management and security policies
- Bot Manager: Bot detection and mitigation configuration
- Reporting API: Traffic analytics and performance metrics
- Securiy Metrics: Security trends and metrcis
Long term Roadmap
- API Definitions and Discovery: API definition and policy management
- Advanced EdgeWorkers: JavaScript code deployment at the edge
- Identity & Access Management: User and API client management
- Media Worflows: Specific feature for Media delivery properties
- mPulse: Pull data RUM (Real User Monitoring) API integration
- Property activation diffing: Compare versions before activation
- Terraform Export: Generate Terraform configurations from existing properties
Contributing
- Fork the repository
- Create your feature branch (
git checkout -b feature/amazing-feature
) - Commit your changes (
git commit -m 'Add amazing feature'
) - Push to the branch (
git push origin feature/amazing-feature
) - Open a Pull Request
License
MIT License - see LICENSE file for details
Support
Acknowledgments
This project uses the Akamai OPEN APIs and follows their guidelines for third-party integrations. Special thanks to the MCP team at Anthropic for creating the Model Context Protocol.
This server cannot be installed
MCP server for Akamai APIs. 198 tools covering Property Manager, Edge DNS, CPS, WAF, and reporting. Built with TypeScript, featuring modular architecture, comprehensive testing, and multi-account support. Make Akamai accessible to AI assistants.
- Features
- Installation
- Configuration
- Usage Examples
- Available Tools
- FastPurge - Content Invalidation
- Property Management - Core Functions
- Property Management - Version & Rule Management
- Property Management - Hostname & Activation
- Property Management - Search & Analysis
- Property Management - Bulk Operations
- Property Management - Products & CP Codes
- Certificate Management
- Secure Property Onboarding
- DNS Management - Core Functions
- DNS Management - Advanced Functions
- DNS Migration Tools
- Development
- Architecture
- Current Capabilities (v1.3.0)
- Contributing
- License
- Support
- Acknowledgments
Related MCP Servers
- -securityFlicense-qualityMCP server that enables AI assistants to perform SEO automation tasks including keyword research, SERP analysis, and competitor analysis through Google Ads API integration.Last updated -
- -securityAlicense-qualityMCP server providing access to ACI.dev managed functions (tools) either directly from specific apps or through meta functions that dynamically discover and execute any available function based on user intent.Last updated -203PythonMIT License
- AsecurityAlicenseAqualityEnables AI assistants to discover, retrieve details about, and manage MCP (Model Context Protocol) servers that provide additional tools and capabilities on demand.Last updated -47241JavaScriptAGPL 3.0
- -securityAlicense-qualityA collection of custom MCP servers providing various AI-powered capabilities including web search, YouTube video analysis, GitHub repository analysis, reasoning, code generation/execution, and web crawling.Last updated -2PythonMIT License