Configure the Akamai MCP Server
Connect a Model Context Protocol (MCP) client to Akamai with a dedicated MCP token. You get API credentials for your products (Compute, or Delivery and Security), create a token, and save its token secret. Then you choose which products and tools the token can access, and connect your AI agent.
The Akamai MCP Server is in beta, and configuration may change before general availability.
Before you start
Make sure you have these items:
- Access to the MCP Token Manager through single sign-on (SSO) from Akamai Control Center (ACC). See Access MCP Servers in Akamai Control Center.
- The MCP client you want to configure. For example, the Akamai MCP client, Claude Code, Cursor, Visual Studio Code (VS Code), or ChatGPT.
- A password manager or another secure place to store your token secret. The MCP Token Manager shows the secret only once.
- Compute products. Akamai Cloud Manager access.
- Delivery and Security products. ACC access.
Credentials appear only once. Keep ACC or Cloud Manager open next to the MCP Token Manager so you can capture every value during setup.
Fetch your API credentials
Get the API credentials for the products you want to connect. Select the tab for your products:
- Log in to Akamai Cloud Manager.
- Follow the instructions to create an API token.
- Set the token's permissions to Read-Only. Compute tools support only read operations.
- Copy the personal access token.
Set up an account switch key
If your API client manages multiple Akamai accounts, use an account switch key to choose which account the token works with. Your AI client sends the switch key when it connects, and the Akamai MCP Server passes it with the API calls it makes on your behalf, so tool invocations apply to that account. If your API client manages only one account, skip this section.
- Find the switch key for the account you want to use. See List account switch keys.
- In the Choose access step, turn on Account switching before you configure products.
- In the Connect step, add the switch key to your AI client's connection settings as a URL parameter or an HTTP header.
For details on how account switch keys work, see EdgeGrid authentication.
Set Reporting API permissions
Akamai MCP Server operations that use the Reporting API require READ-WRITE access.
Report queries only read data, but the endpoint uses an HTTP POST request to send query parameters in the request body. Authorization is based on the HTTP method, not the action, so READ-ONLY access returns a 403 Forbidden error.
To update your API client's access:
- Log in to ACC.
- Go to Administration > Identity & access.
- Select Users and API clients, and then select your client.
- Under Authorize APIs, set Reporting API access to READ-WRITE.
- Click Save.
For more about creating and managing API client permissions, see Create an API client.
Create a token
The MCP Token Manager creates MCP tokens that give AI assistants secure, scoped access to Akamai products. Setup has three steps, shown at the top of each page: Create token, Choose access, and Connect. In the Create token step, you accept the Terms of Use, create the token, and save its token secret.
Access the MCP Token Manager and agree to the terms
Before you create tokens, log in and accept the Terms of Use.
- Log in to ACC, and then select Akamai MCP Servers in the Administration menu. The MCP Token Manager opens and signs you in with your ACC credentials. For details, see Access MCP Servers in Akamai Control Center.
- Click Create token. If you don't have any tokens yet, click Create your first token.
- When the Terms of Use dialog appears, review the conditions for data usage and AI tuning. This dialog appears the first time you create a token. The platform records your consent and the version you accepted, and it shows the dialog again only when a new version of the terms is released.
- Select the I agree checkbox to acknowledge the terms and disclaimers.
- Click I Accept. The Create your MCP token page opens.
Create an MCP token
The token connects your AI agent to the Akamai MCP Server and controls which products and tools the agent can use.
- In Token name, enter a name of up to 64 characters. Name the token for the client and scope it covers, for example,
Claude Code - CDN troubleshooting. A name that identifies both makes it easier to audit which clients access which products. - In Expires after, select how long the token lasts: 30 days, 90 days, 6 months, 12 months, or 24 months. The default is 12 months, and the page shows the resulting expiration date. Use the shortest period that fits your work.
- Click Create token. The Token created. Save your secret. page opens.
When a token expires, the system disables all associated integrations. To keep working, create a new token.
Save your token secret
The MCP Token Manager shows your token secret only once. Your AI client uses the secret to authenticate to the Akamai MCP Server, and you need it again each time you connect another client. Download the secret before you leave the page.
- Click Download token file to save the secret as a text file.
- Store the file in a password manager, secrets vault, or another secure location. Treat the secret like a password, because anyone who has it can use the token's product access.
- To paste the secret into your AI client right away, you can also click Copy secret. To see the secret first, click the eye icon next to Token secret.
- Select the I have saved the token secret somewhere secure checkbox.
- Click Continue to choose access. The Choose what your AI assistant can access page opens.
The token has no product access until you configure at least one product. If you click Back to token list instead, the token appears on the MCP Tokens page with a Setup incomplete status.
You can't view or download the token secret again after you leave this page. If you lose it, delete the token and create a new one.
Choose access
In the Choose access step, you decide what your AI assistant can reach through the token: whether it can switch accounts, which products it can access, the API credential each product uses, and the tools it can call.
Turn on account switching
Account switching lets you use the token with other accounts. Your AI client provides an account switch key when it connects. It's the first option on the Choose what your AI assistant can access page, so set it before you configure products. If your API client manages only one account, leave it off.
- Turn on Account switching.
- Review the product list. Products that support account switching show Configure. Products that don't support it show Not compatible, and you can't configure them for this token.
You can't turn on account switching while the token has a configured product that doesn't support it. To use those products, create a separate token for them.
These products don't support account switching: AnswerX, API Security, Guardicore, Linode, and Zone Protection. You configure the products that do support it the same way as without account switching, with EdgeGrid credentials from your .edgerc file.
Review associated products
The Akamai MCP Server supports products in three categories: Security, Delivery, and Compute. Available products can change as the platform matures. This table lists the products and capabilities currently available:
| Category | Product | Description |
|---|---|---|
| Compute | Linode | Provides 40 read-only API operations across five products: Account, Linode, Regions, Support, and Volume. |
| Delivery | Cloud Certificate Manager | Manages the Secure Sockets Layer/Transport Layer Security (SSL/TLS) certificate lifecycle. |
| Delivery Manager | Manages CDN and traffic delivery configurations. | |
| Edge Diagnostics | Runs real-time diagnostic tools from edge servers to resolve connectivity, performance, and configuration problems. | |
| Property Manager | Manages content delivery network (CDN) configurations and rules. | |
| Reporting | Provides traffic analytics and reporting data. Requires an API client with READ-WRITE access. See Set Reporting API permissions. | |
| Security | Account Protector | Detects and helps prevent account takeover, credential stuffing, and malicious bot activity that targets login endpoints. |
| AnswerX | Provides secure, recursive Domain Name System (DNS) resolution and policy enforcement for user traffic at the network level. | |
| API Security | Discovers, monitors, and protects the APIs in your environment. | |
| Application Security | Manages web application firewall (WAF) rules and protection against web-based attacks. | |
| Bot Manager | Identifies and mitigates automated threats and malicious bots. | |
| Edge DNS | Delegates authoritative DNS services to a globally distributed network to improve security, availability, and response times. | |
| Enterprise Application Access | Provides zero-trust access controls for internal resources. | |
| Global Traffic Manager | Balances user traffic across cloud and data center environments to improve application performance and availability. | |
| Guardicore | Provides micro-segmentation and visibility into lateral movement and communication flows. | |
| Identity and Access Management | Manages administrative security for your account, including creating API clients, managing users, assigning role-based permissions, and controlling group access. | |
| Network Cloud Firewall | Restricts unauthorized traffic and enforces access policies at the cloud edge before traffic reaches your infrastructure. | |
| Prolexic | Mitigates high-volume distributed denial-of-service (DDoS) attacks by scrubbing malicious traffic at the edge. | |
| Shield NS53 | Protects authoritative DNS infrastructure from targeted attacks by filtering illegitimate traffic at the edge. | |
| Zone Protection | Controls access and enforces security policies across network segments. |
The available tools change often. For the current list, check the MCP Token Manager.
Choose product access
On the Choose what your AI assistant can access page, configure each product separately. For each product, you connect an API credential and choose the tools your AI assistant can use.
- Find the product you want to configure. Products appear in alphabetical order under their categories: Compute, Delivery, or Security.
- Click Configure next to the product. The product's configuration panel opens.
- Under Connect an Akamai API credential, select one of these options:
- Use saved credential. Select a credential from Select a saved credential.
- Add new credential. Click Paste .edgerc, paste the contents of your
.edgercfile, and then click Parse & fill. To enter the values yourself instead, click Manual Entry, enter the Client Token, Client Secret, Access Token, and Host values values. The MCP Token Manager saves the new credential, so you can select it under Select a saved credential when you configure other tokens.
- Under Tool filters, click Enable. Until you enable tool filters, all of the product's tools are off. When you enable them, all tools turn on, each with an on/off switch.
- Turn off the tools your AI assistant doesn't need. To change every tool at once, click Allow all or Block all.
- Click Save [product] access, for example, Save Property Manager access. You need at least one allowed tool to save.
Most products use EdgeGrid credentials. These products use their own credentials in step 3, and the MCP Token Manager doesn't save them for reuse with other products:
- API Security. Enter the Base URL and API token.
- Guardicore. Enter the Base URL, and then select an API Token Generation Method: Refresh Token or Username/Password. Provide the matching refresh token or user credentials.
- Linode. Paste the personal access token from Cloud Manager. You don't need EdgeGrid credentials.
Finish choosing access
After you save a product, its status changes to Configured, and the Your setup panel lists it with its number of allowed tools. From this page, you can:
- Add more products. Click Configure next to another product and repeat the steps.
- Change a product. Click Edit next to the product, update its credential or tool filters, and save.
- Remove a product. Click the trashcan icon next to the product.
- Finish later. Click Finish setup later to save your progress and open the token's details. You can connect your AI client later from the token's Connection tab.
- Continue. Click Continue to Connect. This button is available after you configure at least one product.
Connect to your AI agent
In the Connect step, add the connection settings to your AI client. The Connect your AI client page shows the MCP Gateway URL, the Authorization header value, and, if you turned on account switching, how to send an account switch key.
Get your connection details
Your AI client needs the MCP Gateway URL and your saved token secret. The client sends the token secret in an Authorization header on every request. The page doesn't show the token secret, so use the copy you saved when you created the token.
- To connect with Code Mode, select the Code mode checkbox. The MCP Gateway URL adds the
codemode=trueparameter. See Code Mode for the Akamai MCP Server. - To send an account switch key in the URL, select the Account switching checkbox. The MCP Gateway URL adds the
accountSwitchKey=<ACCOUNT SWITCH KEY>parameter. To send the key in a header instead, see the next section. - Under MCP Gateway URL, click Copy URL. If the URL includes
<ACCOUNT SWITCH KEY>, replace it, including the angle brackets, with the switch key for the account you want to work with. Encode the colon as%3A, for example,1-ABCDE%3A1-2345. - Under Authorization header, click Copy header value. The value is
Bearer <YOUR_DOWNLOADED_JWT>. Replace<YOUR_DOWNLOADED_JWT>, including the angle brackets, with the JSON Web Token (JWT) from your downloaded token file. This JWT is your token secret. - Configure your AI client. Follow the steps for your client in Configure your AI client.
- Click Finish and view token. The token's details page opens.
The Setup summary panel shows the token name, expiration date, and number of configured products, and lists each product with its number of tools. To check the tools, click Review allowed tools. To change product access before you finish, click Choose access.
Add an account switch key to your client
If you turned on account switching, the Account switching section shows two ways to send the switch key. Use either one, and replace the example with the switch key for the account you want to work with. Add the key to your MCP connection settings, not to chat messages.
- Add it to the URL. Select the Account switching checkbox before you copy the URL, as described in the previous section. To add the parameter yourself, click Copy parameter, and then append it to the MCP Gateway URL. Use
?if the URL has no query parameters, or&if it already has one. URL-encode the colon in the switch key as%3A. For example,<YOUR_MCP_GATEWAY_URL>?accountSwitchKey=1-ABCDE%3A1-2345. - Send it as a header. Click Copy header name, and then add an HTTP header named
X-AKA-MCP-ACCOUNT-SWITCH-KEYwith the switch key as its value. For example,1-ABCDE:1-2345.
Configure your AI client
Each client's interface is different, but the process is similar. In each example, replace <YOUR_MCP_GATEWAY_URL> with the URL you copied and <YOUR_TOKEN_SECRET> with your saved token secret, including the angle brackets. If you use account switching, also add the accountSwitchKey parameter to the URL or add the X-AKA-MCP-ACCOUNT-SWITCH-KEY header. Select the tab for your client:
You can deploy the Akamai MCP client directly from Akamai Cloud Manager:
1. Go to Cloud Manager Quick Deploy Apps, log in if prompted, and select Akamai MCP.
2. Enter an administrator username and paste your token secret.
3. Select your region and plan.
4. Click Create Linode and wait for the software installation to complete.
5. Log in to your new instance and start working with the Akamai MCP Server. For example, ask: What Akamai tools do I have?
For a complete walkthrough and post-deployment steps, see Akamai MCP.
The Akamai MCP Server accepts the token secret only in the
Authorizationheader. Clients that accept only a server URL, with no way to set headers, can't connect.
To set up another client later, use the Connection tab on the token's details page. See Manage MCP tokens.
Manage integrations and account settings
After you finish the initial setup, see Manage MCP tokens to view token details, change product access and credentials, connect more AI clients, or delete tokens.
Updated 7 days ago
