Install the Local Agentic Gateway
Connect an AI client to Apono from a user’s machine
The Local Agentic Gateway connects a supported AI client to Apono from the user's machine. It runs over STDIO, is launched with npx, and brokers agent requests and tool calls through Apono.
Configure the gateway once for each AI client or Apono account profile that you want to use. This guide covers the local installation shared by all supported platforms. For Apono account configuration, platform-specific prerequisites, and functional verification, follow the applicable Agentic Access setup guide.
To deploy the gateway centrally instead of installing it on each user's machine, see Deploy the Remote Agentic Gateway. The Remote Agentic Gateway is available in private beta.
How the Local Agentic Gateway works
When the AI client starts the gateway for the first time:
The gateway starts.
npxdownloads and launches the Local Agentic Gateway.The user signs in to Apono. A browser tab opens for authentication. The session is stored locally and reused until it expires.
Apono registers the agent. The agent is linked to the signed-in user and appears on the AI Agents tab.
The client can send tool calls. The gateway begins brokering requests between the AI client and Apono.
Prerequisites
Apono account setup completed
Enablement of MCP feature for the Apono account
Confirm that an Apono admin has set up Apono Agent Privilege Guard:
Enabled MCP features
Connected the applicable integration
Created an agentic access flow with Restrict to agentic access enabled
Enabled the corresponding Apono Managed MCP
Platform-specific setup
Apono Managed MCPs require additional local runtimes
Review the prerequisites in the applicable platform setup guide before connecting your AI client.
macOS
Supported operating system
The Local Agentic Gateway is currently supported on macOS.
Node.js 20+
Required runtime
The gateway is launched with npx, which runs @apono-io/apono-mcp@latest, downloads the gateway binary, and manages the Apono sign-in. No separate Apono CLI installation is required.
AI client
Supported AI client
Claude Code, Claude Desktop, or Cursor are currently supported.
Configure your AI client
If the Local Agentic Gateway is already configured for this client, return to the applicable platform setup guide to verify access.
Add the Local Agentic Gateway as an MCP server using the instructions for your AI client below.
Follow these steps:
Run the following command. If this is the first run, a separate browser tab opens.
(First run only) Log in to Apono in the open browser tab.
Follow these steps:
In Claude, from the main navigation, click Claude > Settings > Developer. The Settings page appears.
Click Edit Config. The claude_desktop_config.json file opens.
Add the following configuration.
Save the file.
Quit and restart Claude desktop.
(First run only) Log in to Apono in the browser tab that opens.
Follow these steps:
In Cursor, from the main navigation, click Tools & MCPs. The Tools page appears.
Under Home MCP Servers, click New MCP Server. The mcp.json file opens.
Add the following configuration.
Save the file.
Quit and restart Cursor.
(First run only) Log in to Apono in the browser tab that opens.
Gateway options
Add the applicable gateway options to your AI client’s MCP configuration. Restart the client to apply any changes.
--agent-type
(Required) Identifies the AI client running the gateway
The client-specific configurations above include the applicable value.
--profile
Connects the client to a specific Apono account profile
To connect multiple accounts, create a separate MCP server entry with a unique profile value for each account.
--debug
Enables verbose request and response logging while investigating a problem
Verify the gateway connection
After the first successful start, confirm that the agent appears and is linked to your user on the AI Agents tab.
If the agent does not appear, continue to Troubleshoot the Local Agentic Gateway.
After confirming the gateway connection, return to the applicable platform setup guide to verify platform access.
Troubleshoot the Local Agentic Gateway
No targets or integrations are listed.
Follow these steps:
Reauthenticate to Apono.
Fully restart the AI client so the updated credentials take effect.
If the target is still unavailable, confirm with an Apono admin that the platform setup is complete. This includes the integration, agentic access flow, MCP feature enablement, and applicable Apono Managed MCP.
Follow the troubleshooting instructions in the applicable platform setup guide.
The Apono sign-in does not open or must be refreshed.
Follow these steps:
Start a new Apono sign-in.
Fully restart the AI client so the updated credentials take effect.
Last updated
Was this helpful?
