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
.edgercsections - 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_keyfield
🛠 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
npm install alecs-mcp-server-akamai
Configuration
1. Set up your .edgerc file
Create a ~/.edgerc file with your Akamai credentials:
[default]
client_secret = your_client_secret
host = your_host.luna.akamaiapis.net
access_token = your_access_token
client_token = your_client_token
[production]
client_secret = prod_client_secret
host = prod_host.luna.akamaiapis.net
access_token = prod_access_token
client_token = prod_client_token
account_key = 1-ABCDEF
2. Configure Claude Desktop
Add to your Claude Desktop configuration:
{
"mcpServers": {
"alecs": {
"command": "npx",
"args": ["alecs-mcp-server-akamai"],
"env": {}
}
}
}
Usage Examples
List Properties
"List all my Akamai properties"
"Show properties in contract ctr_1-ABCDEF"
Search for Properties
"Find property example.com"
"Get details for property prp_12345"
Group Management
"List all Akamai groups"
"Search for groups containing 'production'"
"Find group ID for 'Web Properties'"
Multi-Customer Operations
"List properties using customer production"
"Switch to staging account and show properties"
DNS Zone Management
"List all DNS zones"
"Get details for zone example.com"
"Create a new DNS zone for mydomain.com"
DNS Record Management
"List all records in example.com"
"Add an A record for www.example.com pointing to 192.0.2.1"
"Update the CNAME for blog.example.com"
"Delete the old MX record"
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
# Clone the repository
git clone https://github.com/acedergren/alecs-mcp-server-akamai.git
cd alecs-mcp-server-akamai
# Install dependencies
npm install
# Build the project
npm run build
# Run tests
npm test
# Start development server
npm run dev
Testing
# Run all tests
npm test
# Run tests with coverage
npm run test:coverage
# Run tests in watch mode
npm run test:watch
Architecture
The server follows a modular architecture:
src/
├── index.ts # MCP server setup and request handling
├── akamai-client.ts # EdgeGrid authentication and API client
├── types.ts # TypeScript type definitions
├── services/
│ ├── FastPurgeService.ts # FastPurge v3 API integration
│ ├── PurgeQueueManager.ts # Intelligent queue management
│ └── PurgeStatusTracker.ts # Real-time operation tracking
├── monitoring/
│ └── FastPurgeMonitor.ts # Production monitoring and alerts
├── tools/
│ ├── property-tools.ts # Core property management
│ ├── property-manager-tools.ts # Property version & activation management
│ ├── property-manager-advanced-tools.ts # Advanced property operations
│ ├── property-manager-rules-tools.ts # Rule management utilities
│ ├── property-version-management.ts # Enhanced version control
│ ├── rule-tree-management.ts # Rule optimization and templates
│ ├── bulk-operations-manager.ts # Multi-property bulk operations
│ ├── property-operations-advanced.ts # Advanced search and health
│ ├── fastpurge-tools.ts # FastPurge MCP tools
│ ├── dns-tools.ts # Core DNS operations
│ ├── dns-advanced-tools.ts # Advanced DNS functions
│ ├── dns-migration-tools.ts # DNS migration utilities
│ ├── cpcode-tools.ts # CP code management
│ ├── product-tools.ts # Product catalog operations
│ ├── cps-tools.ts # Certificate management
│ └── secure-by-default-onboarding.ts # Secure property workflows
└── utils/
├── progress.ts # Progress indicators and formatting
├── errors.ts # Error handling and translation
├── resilience-manager.ts # Circuit breaker and retry logic
└── performance-monitor.ts # Performance tracking
Current Capabilities (v1.2.0)
✅ 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
🎯 New in 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
- Documentation
- Issues
- Discussions
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.
ALECS Akamai Server
Project Details
- acedergren/alecs-mcp-server-akamai
- MIT License
- Last Updated: 6/16/2025
Recomended MCP Servers
MCP server for retrieval augmented thinking and problem solving
Travel booking - India MCP
Legifrance MCP Server
MCP server for Helm Chart CLI
WIP: An MCP server to find related Github Issues
Get started using GitHub in less than an hour.
A Model Context Protocol server that integrates AI assistants with Metabase analytics platform
本项目是一个钉钉MCP(Message Connector Protocol)服务,提供了与钉钉企业应用交互的API接口。项目基于Go语言开发,支持员工信息查询和消息发送等功能。
MCP Server for Firefly III
MCP server to provide Jira Tickets information to AI coding agents like Cursor





