A2D for Anypoint Studio
The A2D for Anypoint Studio plugin brings your A²D assets into Anypoint Studio. You can scaffold REST APIs, MCP servers and A2A agents as Mule 4 projects, run them as local mocks, edit their mock scenarios and use the A² Playground, all without leaving Studio.
It is one of the A2D IDE Extensions. You install the plugin from the A²D update site:
https://www.a2d-ai.com/studio/updates/Prerequisites
- Anypoint Studio 7.x (tested with Studio 7.24)
- Node.js 18 or later on the same machine. The plugin finds Node.js on its own; you can also set the path under Preferences › A2D
- An A²D API key. Create one in A²D under Platform → API Keys (see API Keys)
Installing the Plugin
- In Anypoint Studio, open Help → Install New Software…
- Click Add…, enter the name
A2Dand the locationhttps://www.a2d-ai.com/studio/updates/, then click Add - Expand the A2D category and select A2D for Anypoint Studio
- Click Next, review the items and accept the license
- Studio asks whether you trust the signer A2D (a2d-ai.com) Studio Plugin Signing. Check that its SHA-256 fingerprint matches the one below, select the certificate and click Trust Selected
- Restart Studio when it asks you to
The plugin is signed with A²D’s own (self-signed) certificate, so Studio asks you to trust it once. Fingerprint (SHA-256):
EB:2F:94:08:C9:61:73:82:48:20:4D:CB:4F:C5:EB:D7:7D:57:02:6B:10:4F:39:F7:55:AC:16:36:AD:38:A6:25Only trust the certificate if the fingerprint matches exactly. If it differs, cancel the installation.
The update site is public. It needs no sign-in, and Studio only downloads the plugin files from it.
Signing In
- Open Preferences → A2D (on macOS: Anypoint Studio → Settings… → A2D)
- Paste your A²D API key and click Apply and Close
Studio keeps the key in Eclipse secure storage.
Using the Plugin
The plugin adds an A2D menu to Studio:
| Menu item | What it does |
|---|---|
| A2D Perspective | Opens a layout with the portal view, the A² Playground, the A2D tree and the Console |
| A2D Assets (Portal View) | Browse your REST APIs, MCP servers and A2A agents in cards or a list, with search, filters and sorting |
| Assets & Local Mocks | The A2D tree: your assets grouped by type, and the mocks running on your machine |
| A² Playground | Test REST, MCP and A2A endpoints: A²D-hosted ones, local mocks and scaffolded projects |
For one asset, a multi-selection or a whole group you can:
- Scaffold Mule project(s): Studio creates the Mule 4 projects and imports them into your workspace. Run them with Run As → Mule Application. They answer with the asset’s mock scenarios until you add real logic
- Run locally: start a local mock that answers like the A²D-hosted mock. Each mock serves its own snapshot of the asset on its own port and makes no calls to A²D while it runs
- Edit mock scenarios: change, add or reorder scenarios. Then Save & Deploy restarts the mock with your changes, and Push to A2D writes them back to A²D
- Stop mock and Open in A2D
Updating the Plugin
Use Help → Check for Updates. The plugin is already set up to look for updates at https://www.a2d-ai.com/studio/updates/, and the site always offers the latest release.
Older releases stay on the update site. To install one, open Help → Install New Software…, pick the A2D site, clear Show only the latest versions of available software and choose the version you want.
Installing Without the Update Site
If Studio can’t reach www.a2d-ai.com (for example behind a strict proxy), get the update site archive a2d-studio-updatesite.zip from your A²D contact. Then use Help → Install New Software… → Add… → Archive…, select the zip and continue as above.
Uninstalling
Open Help → About Anypoint Studio → Installation Details, select A2D for Anypoint Studio on the Installed Software tab, click Uninstall… and restart Studio.
Local mocks keep running after Studio closes. Stop them from the Assets & Local Mocks view before uninstalling.
Troubleshooting
| Problem | What to do |
|---|---|
| No repository found at https://www.a2d-ai.com/studio/updates/ | Check the URL (including https://), then check that Studio can reach the internet. Proxy settings are under Preferences → General → Network Connections |
| The A2D category is empty | Clear Show only software applicable to target environment, or update Studio to a recent 7.x release |
| The plugin says Node.js was not found | Install Node.js 18 or later, or set its path under Preferences → A2D |
| Studio warns about unsigned content | You are installing version 0.2.0.v202611051203, the only unsigned release. Choose the latest version instead |
| Assets don’t load | Check the API key under Preferences → A2D. Create a new key if it was revoked |
Next Steps
- Local Mocks & Scenarios — how local mocks and the scenario editor work
- API Keys — create and manage the key the plugin signs in with
- MCP Mocking — design the mock scenarios your local mocks serve
- API Mocking — mock scenarios for REST APIs
- A2D Playground — everything the A² Playground can do
Your A²D assets are now ready to scaffold, mock and test right inside Anypoint Studio.