Use the Connection Management MCP server to let AI agents observe and control listener-based event connections in Application Integration. Event connections consume events from external sources and trigger processes. With this server, an agent can list the event connections in your organization with the status of each event route and start or stop an event source without deleting the connection. Use it to audit the health of your listeners and to recover a stalled listener. The server works with both Secure Agent-hosted connections and cloud-hosted connections.
Use cases
Use the Application Integration Connection Management MCP server for the following use cases:
•Fleet-wide listener health auditing: Audit all Secure Agent-hosted and cloud-hosted event connections across your organization to identify inactive routes and verify overall listener health without manually inspecting each connection.
•Stalled listener recovery: Recover a stalled listener by stopping its event source, confirming that the route reaches an inactive state, and starting it again so process triggers resume.
•Planned maintenance and traffic control: Temporarily stop an event source to halt event consumption for specific connections or route types such as during downstream maintenance without deleting the connection.
•Targeted troubleshooting and triage: Filter event connections by name or protocol type to inspect route statuses and events consumed when investigating delayed process execution.
Key capabilities
Perform the following tasks with the MCP server:
•List the event connections in your organization with the status of each event route.
•Filter event connections by connection name or by route type, such as rabbitmq.
•Start an event source so that the connection begins receiving events and triggering its process.
•Stop an event source to halt event consumption without deleting the connection.
•Restart a stalled listener by stopping the event source, waiting until it reports inactive, and then starting it again.
•Audit the listeners across your organization and report which routes are active and which are not.
Prerequisites
Verify the following prerequisites before you start:
1Your organization has access to Application Integration.
2A valid IDMC session for authentication is open.
3At least one listener-based event connection is available.
4For Secure Agent-hosted connections, a running Secure Agent or agent group is available.
5For cloud-hosted connections, the EIP service is enabled and healthy.
Server URL
Use the following server URL to access the Application Integration Connection Management MCP server:
Use the following sample prompts with the Application Integration Connection Management MCP server:
1List all event connections in my organization.
2Show me the event routes that are not active.
3Find the event connection named OrderListener and show its status.
4Start the event source for the OrderListener connection.
5Stop the event source for the OrderListener connection.
6Restart the stalled listener OrderListener and confirm that it returns to active.
7Audit all my listeners and group them by status.
Available tools
The Application Integration Connection Management MCP server provides the following tools:
list_event_connections
Lists listener-based event connections in your organization, with each connection's event routes, route type, status, and events consumed. Covers cloud-hosted and Secure Agent-hosted connections. There is no status filter. By default, the tool returns 10 entries. To return all entries, set maxReturn to 9999. listStart is an offset into event routes, not connections. If you page through results, the same connection can appear on more than one page.
Parameters:
- listStart. Integer. Zero-based offset into the route rows, for paging. Defaults to 0. Not a clean connection offset; see the tool description.
- maxReturn. Integer. Maximum number of entries in the page. Defaults to 10 when omitted; the maximum is 9999. Use 9999 to read everything in one call.
- connectionName. Filters by event connection name. Matches part of the name, ignoring case. Wildcards such as * are not supported.
- eventRouteType. String. Filters by route type, which is the protocol of the route endpoint (the part before the colon in its URL), such as rabbitmq. Ignores case. An unknown type returns an empty list, not an error.
- includeTargetRoutes. Boolean. Includes target routes of each connection in the results when true. Defaults to false.
start_event_connection
Starts an event source in a listener-based connection so it begins receiving events and triggering its process. Works for both Secure-Agent-hosted connections and cloud CamelOnCloud or EIP-hosted connections.
Parameters:
- agentName. String. Secure Agent or agent group hosting the event source. Required only for Secure-Agent-hosted connections.
- routeInfo. Array. Event routes to start.
stop_event_connection
Stops a running event source in a listener-based connection so it stops receiving events. Works for both Secure-Agent-hosted connections and cloud CamelOnCloud or EIP-hosted connections.
Parameters:
- agentName. String. Secure Agent or agent group hosting the event source. Required only for Secure-Agent-hosted connections.
•fleet_listener_audit: Reports the status of listener-based event connections grouped by route status, itemizes routes that are not active, and flags results that might be partial.
•restart_a_stalled_listener: Stops and restarts a stalled listener-based event connection, confirming the route status after each step before it proceeds.
Common issues and actions
If you encounter any of the following issues, consider the remedial actions provided:
A start or stop call returns ROUTE_STOP_FAILED or ROUTE_START_FAILED with a message that a node name did not resolve to an address.
The route is bound to an EIP instance that no longer exists, for example after the EIP service restarted. Treat it as an environment problem and do not retry in a loop.
A list result seems incomplete, repeats a connection, or returns an empty page while more routes exist.
Set maxReturn to 9999 to read everything in one call, or narrow the result with connectionName and eventRouteType. If you page, deduplicate routes by eventRoute.
A route on a Secure Agent shows a stale status, or start and stop steps fail or hang.
Verify that the Secure Agent or agent group is reachable and running. Do not retry indefinitely.