ngrok for AI agents.
ngrok integration for AI agents with secure authentication and server-side credential injection. Open Connector runs the OAuth, seals the token in an encrypted vault, and serves ngrok tools to your agent over MCP or a typed API — credentials injected server-side, every call audited, nothing leaving your infrastructure. Open source (AGPL-3.0) and self-hostable.
# Add your Open Connector MCP server (per-user mcp_url)
$ claude mcp add --transport http \
open-connector <your mcp_url>
# Then ask: “open an issue for the launch checklist”// .cursor/mcp.json
{
"mcpServers": {
"open-connector": { "url": "<your mcp_url>" }
}
}const composio = new Composio({
apiKey: "oc_…",
baseURL: "https://connect.acme.com", // your host
});
await composio.tools.proxy({ … });{
"tool": "NGROK_ABUSE_REPORTS_CREATE",
"arguments": { … }
}Real ngrok actions, managed and audited.
Your user connects ngrok once; your agent can then create edges and routes, issue API keys and credentials, and save secrets — scoped to the OAuth permissions you grant and the tool allowlist you configure. Every action is least-privilege and written to a tamper-evident audit trail.
- 01Connect
Your user grants ngrok access once (OAuth) — the token lands in the vault.
- 02Call
Your agent calls a tool over MCP or the typed API; Open Connector injects the credential server-side.
- 03Audit
Every routed call appends a hash-chained audit record — nothing leaves your infra.
Supported ngrok tools.
Browse 251 tools in the ngrok catalog. Each action uses your configured authentication and tool allowlist.
Showing 251 tools.
- Create
- NGROK_ABUSE_REPORTS_CREATE
- Creates a new abuse report which will be reviewed by our system and abuse response team. This API is only available to authorized accounts. Contact abuse@ngrok.com to request access
- AbuseReports
- Create
- NGROK_AGENT_INGRESSES_CREATE
- Create a new Agent Ingress. The ngrok agent can be configured to connect to ngrok via the new set of addresses on the returned Agent Ingress.
- AgentIngresses
- Create
- NGROK_AI_GATEWAY_PROVIDER_KEYS_CREATE
- Create a new AI Gateway Provider Key
- AIGatewayProviderKeys
- Update
- NGROK_AI_GATEWAY_PROVIDER_KEYS_UPDATE
- Update an existing AI Gateway Provider Key by ID
- AIGatewayProviderKeys
- Create
- NGROK_API_KEYS_CREATE
- Create a new API key. The generated API key can be used to authenticate to the ngrok API.
- APIKeys
- List
- NGROK_APPLICATION_SESSIONS_LIST
- List all application sessions for this account.
- ApplicationSessions
- Create
- NGROK_CREDENTIALS_CREATE
- Create a new tunnel authtoken credential. This authtoken credential can be used to start a new tunnel session. The response to this API call is the only time the generated token is available. If you need it for future use, you must save it securely yourself.
- Credentials
- Update
- NGROK_EDGES_HTTPS_ROUTES_UPDATE
- Updates an HTTPS Edge Route by ID. If a module is not specified in the update, it will not be modified. However, each module configuration that is specified will completely replace the existing value. There is no way to delete an existing module via this API, instead use the delete module API.
- EdgesHTTPSRoutes
- Update
- NGROK_EDGES_HTTPS_UPDATE
- Updates an HTTPS Edge by ID. If a module is not specified in the update, it will not be modified. However, each module configuration that is specified will completely replace the existing value. There is no way to delete an existing module via this API, instead use the delete module API.
- EdgesHTTPS
- Update
- NGROK_EDGES_TCP_UPDATE
- Updates a TCP Edge by ID. If a module is not specified in the update, it will not be modified. However, each module configuration that is specified will completely replace the existing value. There is no way to delete an existing module via this API, instead use the delete module API.
- EdgesTCP
- Update
- NGROK_EDGES_TLS_UPDATE
- Updates a TLS Edge by ID. If a module is not specified in the update, it will not be modified. However, each module configuration that is specified will completely replace the existing value. There is no way to delete an existing module via this API, instead use the delete module API.
- EdgesTLS
- Replace
- NGROK_EDGE_ROUTE_WEBHOOK_VERIFICATION_MODULE_REPLACE
- Replace
- EdgeRouteWebhookVerificationModule
- Delete
- NGROK_EDGE_ROUTE_WEBSOCKET_TCP_CONVERTER_MODULE_DELETE
- Delete
- EdgeRouteWebsocketTCPConverterModule
- Replace
- NGROK_EDGE_ROUTE_WEBSOCKET_TCP_CONVERTER_MODULE_REPLACE
- Replace
- EdgeRouteWebsocketTCPConverterModule
- Create
- NGROK_ENDPOINTS_CREATE
- Create an endpoint, currently available only for cloud endpoints
- Endpoints
- Delete
- NGROK_ENDPOINTS_DELETE
- Delete an Endpoint by ID, currently available only for cloud endpoints
- Endpoints
- Update
- NGROK_ENDPOINTS_UPDATE
- Update an Endpoint by ID, currently available only for cloud endpoints
- Endpoints
- Create
- NGROK_EVENT_DESTINATIONS_CREATE
- Create a new Event Destination. It will not apply to anything until it is associated with an Event Subscription.
- EventDestinations
- Delete
- NGROK_EVENT_DESTINATIONS_DELETE
- Delete an Event Destination. If the Event Destination is still referenced by an Event Subscription.
- EventDestinations
- Get
- NGROK_EVENT_DESTINATIONS_GET
- Get detailed information about an Event Destination by ID.
- EventDestinations
- Create
- NGROK_EVENT_SOURCES_CREATE
- Add an additional type for which this event subscription will trigger
- EventSources
- Delete
- NGROK_EVENT_SOURCES_DELETE
- Remove a type for which this event subscription will trigger
- EventSources
- Get
- NGROK_EVENT_SOURCES_GET
- Get the details for a given type that triggers for the given event subscription
- EventSources
- List
- NGROK_EVENT_SOURCES_LIST
- List the types for which this event subscription will trigger
- EventSources
- Update
- NGROK_EVENT_SOURCES_UPDATE
- Update the type for which this event subscription will trigger
- EventSources
- Get
- NGROK_FAILOVER_BACKENDS_GET
- Get detailed information about a Failover backend by ID
- FailoverBackends
- Create
- NGROK_IP_POLICIES_CREATE
- Create a new IP policy. It will not apply to any traffic until you associate to a traffic source via an endpoint configuration or IP restriction.
- IPPolicies
- Delete
- NGROK_IP_POLICIES_DELETE
- Delete an IP policy. If the IP policy is referenced by another object for the purposes of traffic restriction it will be treated as if the IP policy remains but has zero rules.
- IPPolicies
- Create
- NGROK_IP_POLICY_RULES_CREATE
- Create a new IP policy rule attached to an IP Policy.
- IPPolicyRules
- DeleteCertificate
- NGROK_RESERVED_DOMAINS_DELETE_CERTIFICATE
- Detach the certificate attached to a reserved domain.
- ReservedDomains
- DeleteCertificateManagementPolicy
- NGROK_RESERVED_DOMAINS_DELETE_CERTIFICATE_MANAGEMENT_POLICY
- Detach the certificate management policy attached to a reserved domain.
- ReservedDomains
- Create
- NGROK_SSH_CREDENTIALS_CREATE
- Create a new ssh_credential from an uploaded public SSH key. This ssh credential can be used to start new tunnels via ngrok's SSH gateway.
- SSHCredentials
- Get
- NGROK_SSH_HOST_CERTIFICATES_GET
- Get detailed information about an SSH Host Certificate
- SSHHostCertificates
- List
- NGROK_SSH_HOST_CERTIFICATES_LIST
- List all SSH Host Certificates issued on this account
- SSHHostCertificates
- Get
- NGROK_SSH_USER_CERTIFICATES_GET
- Get detailed information about an SSH User Certificate
- SSHUserCertificates
- List
- NGROK_SSH_USER_CERTIFICATES_LIST
- List all SSH User Certificates issued on this account
- SSHUserCertificates
- Get
- NGROK_TUNNEL_GROUP_BACKENDS_GET
- Get detailed information about a TunnelGroup backend by ID
- TunnelGroupBackends
- List
- NGROK_TUNNEL_GROUP_BACKENDS_LIST
- List all TunnelGroup backends on this account
- TunnelGroupBackends
- List
- NGROK_TUNNEL_SESSIONS_LIST
- List all online tunnel sessions running on this account.
- TunnelSessions
- Restart
- NGROK_TUNNEL_SESSIONS_RESTART
- Issues a command instructing the ngrok agent to restart. The agent restarts itself by calling exec() on platforms that support it. This operation is notably not supported on Windows. When an agent restarts, it reconnects with a new tunnel session ID.
- TunnelSessions
- Stop
- NGROK_TUNNEL_SESSIONS_STOP
- Issues a command instructing the ngrok agent that started this tunnel session to exit.
- TunnelSessions
- Update
- NGROK_TUNNEL_SESSIONS_UPDATE
- Issues a command instructing the ngrok agent to update itself to the latest version. After this call completes successfully, the ngrok agent will be in the update process. A caller should wait some amount of time to allow the update to complete (at least 10 seconds) before making a call to the Restart endpoint to request that the agent restart itself to start using the new code. This call will never update an ngrok agent to a new major version which could cause breaking compatibility issues. If you wish to update to a new major version, that must be done manually. Still, please be aware that updating your ngrok agent could break your integration. This call will fail in any of the following circumstances: there is no update available the ngrok agent's configuration disabled update checks the agent is currently in process of updating the agent has already successfully updated but has not yet been restarted
- TunnelSessions
- Get
- NGROK_WEIGHTED_BACKENDS_GET
- Get detailed information about a Weighted backend by ID
- WeightedBackends
ngrok integration, answered
- How do AI agents use ngrok through Open Connector?
- Your user connects ngrok once with one of its cataloged authentication methods. Open Connector stores the credential in an encrypted vault and exposes ngrok tools to your agent over MCP or a typed API, with credentials injected server-side on each call.
- Is this a ngrok MCP server?
- Yes. Open Connector can serve ngrok as a named MCP server with a scoped allowlist and a per-user connection URL, so any MCP client can call ngrok actions with credentials injected server-side.
- Where do ngrok credentials live?
- In your own infrastructure. Open Connector keeps credentials in its own vault and injects them at call time, so they never leave your environment.
Give your agents ngrok — keep the keys.
Open source, self-hostable, with ngrok credentials that never leave your infrastructure. Run it from source today.