Akamai CDN MCP
MCP server for Akamai CDN, enabling cache purging by URL (invalidate/delete) and read-only inspection of property configs, rule trees, and activations. Credentials are managed server-side with EdgeGrid signing, so clients need no credentials.
README
Akamai CDN MCP
An MCP server, built on Zuplo, that exposes two Akamai CDN APIs as tools for MCP clients such as Claude Desktop: Fast Purge (CCU v3) for cache purging by URL, and Property Manager (PAPI v1) for read-only viewing of property configs, rule trees, and activation status.
Unlike a passthrough-token gateway, this project holds Akamai EdgeGrid credentials server-side and computes a fresh HMAC-SHA256 signature for every request. MCP clients supply no credentials of their own — anyone who can reach this gateway's /mcp endpoint can purge cache and read property configs on the configured account, so treat the deployed URL itself as sensitive.
Tools exposed
| Tool | Akamai API operation | Effect |
|---|---|---|
delete-by-url |
CCU v3 POST /delete/url/{network} |
Destructive/write. Immediately removes URLs from cache. |
invalidate-by-url |
CCU v3 POST /invalidate/url/{network} |
Destructive/write. Marks URLs stale (revalidated on next request). |
check-purge-rate-limit-status |
CCU v3 POST /rate-limit-status/{purge-type} |
Read-only. Account-wide rate-limit tokens remaining for a purge object type — not a lookup by purge ID (no such endpoint exists in CCU v3). |
get-contracts |
PAPI v1 GET /contracts |
Read-only. |
get-groups |
PAPI v1 GET /groups |
Read-only. |
get-properties |
PAPI v1 GET /properties |
Read-only. |
get-property |
PAPI v1 GET /properties/{propertyId} |
Read-only. |
get-property-versions |
PAPI v1 GET /properties/{propertyId}/versions |
Read-only. |
get-property-version-rules |
PAPI v1 GET /properties/{propertyId}/versions/{propertyVersion}/rules |
Read-only. |
get-property-activations |
PAPI v1 GET /properties/{propertyId}/activations |
Read-only. |
get-property-activation |
PAPI v1 GET /properties/{propertyId}/activations/{activationId} |
Read-only. |
No Property Manager write/activation endpoints are exposed by design.
Project structure
| Path | Role |
|---|---|
config/routes.oas.json |
Single source of truth for routing — an OpenAPI document where every path/operation is a route with an x-zuplo-route extension. Both the CCU/PAPI proxy routes and the /mcp MCP-server route are defined here. |
config/policies.json |
Named policy instances routes reference by name. Registers the EdgeGrid signing policy twice, once per upstream API (edgegrid-signing-ccu-inbound, edgegrid-signing-papi-inbound), since each needs a different apiPathPrefix. |
modules/edgegrid-signing-inbound.ts |
Computes the Akamai EdgeGrid EG1-HMAC-SHA256 signature for every request and injects it as the Authorization header, before urlForwardHandler forwards to Akamai. Uses the Web Crypto API (crypto.subtle), not the Node-crypto-based official akamai-edgegrid package, for edge-runtime compatibility. |
Deploy your own copy
This repo is meant to be forked and deployed to your own Zuplo account — your Akamai EdgeGrid credentials live in whichever Zuplo project runs this gateway, so it should be one you control.
- Fork this repository.
- In the Zuplo portal, create a new project and connect it to your fork.
- Under Settings > Environment Variables, set these as secrets, for whichever environment you're deploying (Working Copy / Preview / Production don't share values):
EDGERC_CLIENT_TOKENEDGERC_CLIENT_SECRETEDGERC_ACCESS_TOKENEDGERC_HOST(bare hostname, no scheme)
- Deploy the environment from the portal, and redeploy any time you change an env var — changes don't take effect until redeployed. Note the deployed URL; your MCP endpoint is
https://<your-project>.zuplo.app/mcp.
Connect from Claude Desktop
Since auth is server-side, no per-client header is needed:
{
"mcpServers": {
"akamai-cdn": {
"command": "npx",
"args": ["-y", "mcp-remote", "https://<your-project>.zuplo.app/mcp"]
}
}
}
Restart Claude Desktop after editing claude_desktop_config.json.
Local development
npm install
npm run dev
Starts the gateway at http://localhost:9000 (route designer at :9100). Requires Node.js >= 24 for the Zuplo CLI.
Before testing through /mcp, smoke-test signing directly against a CCU or PAPI route (e.g. curl -X POST localhost:9000/invalidate/url/staging -d '{"objects":["https://example.com/test"]}') with real credentials in a local .env, to isolate signing bugs from MCP-protocol issues. Then verify the full tools/call path via mcp-remote or Claude Desktop before trusting a deploy — a signing bug that passes direct-route tests can still surface only when called through the actual MCP client.
Always test network=staging and invalidate-by-url before ever exercising network=production or delete-by-url.
Extending
All routing lives in config/routes.oas.json. To expose another CCU or PAPI operation as an MCP tool:
- Add it as a new OpenAPI path/operation with a unique
operationId, anx-zuplo-route.handlerofurlForwardHandlerpointed at the matchingbaseUrl(https://${env.EDGERC_HOST}/ccu/v3or.../papi/v1— note the${env.VAR}syntax, not$env(VAR), is required specifically insidebaseUrl), the matchingedgegrid-signing-{ccu,papi}-inboundpolicy, andx-zuplo-route.mcp.type: "tool". - Add a matching
{ "file": "./config/routes.oas.json", "id": "<operationId>" }entry to the/mcproute'smcpServerHandleroperationsarray.
See Akamai's CCU v3 and PAPI v1 API references for other available operations.
Guardrails
/mcpis restricted by source IP. Theip-address-restriction-inboundpolicy (added via the Zuplo portal) allows onlyALLOWED_IP_1/ALLOWED_IP_2to reach/mcp— set these as env vars for the environment the same way as theEDGERC_*secrets. Requests from any other IP are rejected before reaching the EdgeGrid signing policy.- No confirm-before-purge policy. Tool descriptions ask the calling model to confirm destructive purges with the user, but nothing server-side enforces it. A sibling project's equivalent guardrail passed every direct/local test but broke unexplainably through Claude Desktop, so this is deferred until EdgeGrid signing itself has been verified stable end-to-end in production.
推荐服务器
Baidu Map
百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
Playwright MCP Server
一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。
Magic Component Platform (MCP)
一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。
Audiense Insights MCP Server
通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。
VeyraX
一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。
graphlit-mcp-server
模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。
Kagi MCP Server
一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。
e2b-mcp-server
使用 MCP 通过 e2b 运行代码。
Neon MCP Server
用于与 Neon 管理 API 和数据库交互的 MCP 服务器
Exa MCP Server
模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。