readonly-mcp-akamai
A read-only Model Context Protocol (MCP) server that lets AI agents explore an Akamai account: CDN properties and their rule trees, EdgeWorker code, Edge DNS zones, network lists, CP codes, and error references. 16 tools, all of them reads.
Quick start
With uv installed, there is nothing else to install:
claude mcp add akamai \
-e AKAMAI_HOST=akab-xxxx.luna.akamaiapis.net \
-e AKAMAI_CLIENT_TOKEN=akab-xxxx \
-e AKAMAI_CLIENT_SECRET=xxxx \
-e AKAMAI_ACCESS_TOKEN=akab-xxxx \
-- uvx readonly-mcp-akamai
uvx downloads the package into a cached, isolated environment and runs it.
Python 3.13 or newer.
Read-only by design. Every call this server makes reads. It uses
GET, plus onePOSTto Akamai's error translator, which takes an error reference and returns what it means without changing anything. It cannot create, modify, delete, activate, deactivate, or purge anything. Give the API client read-only access as a second line of defense: see Credentials. Read why I build read-only MCP servers.
Credentials
Create an API client in Akamai Control Center under Identity & Access Management → API clients. Grant read-only access, where the API offers it, to the APIs the tools use:
| API | Used by |
|---|---|
| Property Manager (PAPI) | properties, groups, CP codes |
| Edge DNS | DNS tools |
| EdgeWorkers | EdgeWorker tools |
| Network Lists | network list tools |
| Edge Diagnostics | translate_error_code |
The client's host, client_token, client_secret and access_token map to
the four AKAMAI_* variables below.
Tools
Properties (CDN configurations)
| Tool | Description |
|---|---|
search_properties |
Fuzzy search CDN properties by name. Uses a preloaded in-memory index refreshed every 5 minutes. |
get_property_details |
Get property versions, hostnames, and activation status. |
get_property_rules |
Get the rule tree for a property version — the full CDN configuration. |
get_property_activations |
List deployment history for a property. |
DNS
| Tool | Description |
|---|---|
list_dns_zones |
List all DNS zones, optionally filtered by name or type. |
search_dns_records |
Search DNS records within a zone by name or record type. |
EdgeWorkers (serverless functions)
| Tool | Description |
|---|---|
list_edgeworkers |
List all EdgeWorker IDs with names and descriptions. |
list_edgeworker_versions |
List versions for an EdgeWorker. |
get_edgeworker_files |
Download a version's code bundle and list all files. Cached in memory. |
get_edgeworker_file |
Read a specific file from a cached bundle with line-range support. |
search_edgeworker_code |
Regex search across all files in a cached bundle. |
Network Lists
| Tool | Description |
|---|---|
search_network_lists |
Search network lists (IP allowlists, blocklists, geo lists) by name. |
get_network_list |
Get the full contents of a network list. |
Utility
| Tool | Description |
|---|---|
list_groups |
List account groups in the Akamai hierarchy. |
list_cp_codes |
List CP codes (billing/reporting identifiers) for a contract and group. |
translate_error_code |
Translate Akamai reference error codes to human-readable descriptions. |
Install
uv tool install readonly-mcp-akamai # or: pip install readonly-mcp-akamai
Not needed for the Quick start, which runs it with uvx.
Docker
docker run -i --rm \
-e AKAMAI_HOST=akab-xxxx.luna.akamaiapis.net \
-e AKAMAI_CLIENT_TOKEN=akab-xxxx \
-e AKAMAI_CLIENT_SECRET=xxxx \
-e AKAMAI_ACCESS_TOKEN=akab-xxxx \
ghcr.io/desty2k/readonly-mcp-akamai:latest
-i keeps stdin open for the default stdio transport.
Configuration
All settings are environment variables with the AKAMAI_ prefix.
| Variable | Required | Default | Description |
|---|---|---|---|
AKAMAI_HOST |
Yes | — | Akamai API hostname (e.g., akab-xxxx.luna.akamaiapis.net) |
AKAMAI_CLIENT_TOKEN |
Yes | — | EdgeGrid client token |
AKAMAI_CLIENT_SECRET |
Yes | — | EdgeGrid client secret |
AKAMAI_ACCESS_TOKEN |
Yes | — | EdgeGrid access token |
AKAMAI_TRANSPORT |
No | stdio |
Transport: stdio, http, or sse |
AKAMAI_HTTP_PORT |
No | 8080 |
Port for HTTP/SSE transport |
AKAMAI_LOG_FORMAT |
No | json |
Log format: json or text |
AKAMAI_LOG_LEVEL |
No | INFO |
Log level: DEBUG, INFO, WARNING, ERROR |
AKAMAI_INDEX_REFRESH_INTERVAL |
No | 300 |
Property index refresh interval in seconds |
The http and sse transports listen on all interfaces and have no
authentication. Run them only where the port is not reachable from outside,
for example published on loopback: docker run -p 127.0.0.1:8080:8080 ....
MCP client configuration
Claude Desktop
Add to claude_desktop_config.json (~/Library/Application Support/Claude/ on
macOS, %APPDATA%\Claude\ on Windows):
{
"mcpServers": {
"akamai": {
"command": "uvx",
"args": ["readonly-mcp-akamai"],
"env": {
"AKAMAI_HOST": "akab-xxxx.luna.akamaiapis.net",
"AKAMAI_CLIENT_TOKEN": "akab-xxxx",
"AKAMAI_CLIENT_SECRET": "xxxx",
"AKAMAI_ACCESS_TOKEN": "akab-xxxx"
}
}
}
}
Claude Code
See Quick start.
How it compares
As of November 2026. Akamai's own MCP servers under akamai-developers cover other products: Akamai Cloud (Linode, also read-only), Akamai Functions, and the documentation. None of them reads Property Manager, EdgeWorkers, Edge DNS, or Network Lists. Check the projects themselves before relying on this.
Example questions
An agent with this server can answer:
- "Find the CDN property for api.example.com and show me its caching rules"
- "What version is currently deployed to production for the main website?"
- "Show me all DNS records for example.com"
- "What EdgeWorkers are configured? Show me the code for the request router"
- "Search for all uses of
setResponseHeaderin EdgeWorker 42" - "What IPs are in the blocklist network list?"
- "Translate this Akamai error: 9.6f64d440.1318965461.2f2b078"
- "List all CP codes for the main contract"
Development
git clone https://github.com/desty2k/readonly-mcp-akamai
cd readonly-mcp-akamai
uv sync --extra dev
uv run pytest --cov
uv run ruff check .
uv run ruff format --check .
License
MIT — see LICENSE.
Metadata
Release files for readonly-mcp-akamai 0.1.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| readonly_mcp_akamai-0.1.2.tar.gz | 93.4 kB | With provenance | Details for readonly_mcp_akamai-0.1.2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| readonly_mcp_akamai-0.1.2-py3-none-any.whl | Python 3 | none | any | Details for readonly_mcp_akamai-0.1.2-py3-none-any.whl |
Total release size: 117.4 kB
Release files / readonly_mcp_akamai-0.1.2.tar.gz
| Download URL | readonly_mcp_akamai-0.1.2.tar.gz |
|---|---|
| Size | 93.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
ddcab80111be66d06bdaa2e89bdf83ea0ccdf83ac1c973c4ce7778ac47e237c7
|
|
BLAKE2b-256 checksum How to use checksums |
d8517b778d2624180781917d71345eff89692287da629e4ec763abd690f89bd8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 2, 2026.
Transparency logRelease files / readonly_mcp_akamai-0.1.2-py3-none-any.whl
| Download URL | readonly_mcp_akamai-0.1.2-py3-none-any.whl |
|---|---|
| Size | 24.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
28dd882c4c24e2e8293c40ba8d5c39afec64350ccd6f7feec1f158fc89598dd5
|
|
BLAKE2b-256 checksum How to use checksums |
5ed8289027d9b5b923d34b2e11f283bad2db1a770273b81de60ce1b3c604aed7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 2, 2026.
Transparency logSecurity for readonly-mcp-akamai 0.1.2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for readonly_mcp_akamai-0.1.2.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 2, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.