Compatible with every major AI agent and IDE
What is the ngrok MCP Server?
Connect your ngrok account to any AI agent and take full control of your ingress infrastructure through natural conversation.
What you can do
- Endpoints & Edges — List all active public URLs (ephemeral, edge, or cloud) and inspect HTTPS edges for advanced routing configurations
- Security & Access — Audit IP policies and restrictions applied to your dashboard, API, or agents to ensure secure access
- Domain Management — Retrieve all custom domains reserved for your applications directly from the ngrok cloud
- Credential Management — List API keys used for authentication and manage secure vaults for sensitive values
- Infrastructure Visibility — Get a bird's-eye view of your entire tunneling setup without leaving your terminal or chat interface
How it works
- Subscribe to this server
- Enter your ngrok API Key
- Start managing your tunnels and security from Claude, Cursor, or any MCP-compatible client
Who is this for?
- DevOps Engineers — quickly audit active endpoints and security policies across the organization
- Backend Developers — check reserved domains and HTTPS edge configurations during local development
- Security Teams — monitor IP restrictions and vault usage to maintain compliance and secure access
Built-in capabilities (7)
List ngrok API keys
List ngrok endpoints
List ngrok HTTPS edges
List ngrok IP policies
List ngrok IP restrictions
List ngrok reserved domains
List ngrok vaults
Why Mastra AI?
Mastra's agent abstraction provides a clean separation between LLM logic and ngrok tool infrastructure. Connect 7 tools through Vinkius and use Mastra's built-in workflow engine to chain tool calls with conditional logic, retries, and parallel execution. deployable to any Node.js host in one command.
- —
Mastra's agent abstraction provides a clean separation between LLM logic and tool infrastructure. add ngrok without touching business code
- —
Built-in workflow engine chains MCP tool calls with conditional logic, retries, and parallel execution for complex automation
- —
TypeScript-native: full type inference for every ngrok tool response with IDE autocomplete and compile-time checks
- —
One-command deployment to any Node.js host. Vercel, Railway, Fly.io, or your own infrastructure
ngrok in Mastra AI
ngrok and 4,000+ other MCP servers. One platform. One governance layer.
Teams that connect ngrok to Mastra AI through Vinkius don't need to source, host, or maintain individual MCP servers. Every tool call runs inside a hardened runtime with credential isolation, DLP, and a signed audit chain.
Raw MCP | Vinkius | |
|---|---|---|
| Server catalog | Find and host yourself | 4,000+ managed |
| Infrastructure | Self-hosted | Sandboxed V8 isolates |
| Credential handling | Plaintext in config | Vault + runtime injection |
| Data loss prevention | None | Configurable DLP policies |
| Kill switch | None | Global instant shutdown |
| Financial circuit breakers | None | Per-server limits + alerts |
| Audit trail | None | Ed25519 signed logs |
| SIEM log streaming | None | Splunk, Datadog, Webhook |
| Honeytokens | None | Canary alerts on leak |
| Custom domains | Not applicable | DNS challenge verified |
| GDPR compliance | Manual effort | Automated purge + export |
Why teams choose Vinkius for ngrok in Mastra AI
The ngrok MCP Server runs on Vinkius-managed infrastructure inside AWS — a purpose-built runtime with per-request V8 isolates, Ed25519 signed audit chains, and sub-40ms cold starts. All 7 tools execute in hardened sandboxes optimized for native MCP execution.
Your AI agents in Mastra AI only access the data you authorize, with DLP that blocks sensitive information from ever reaching the model, kill switch for instant shutdown, and up to 60% token savings. Enterprise-grade infrastructure, zero maintenance.

* Every MCP server runs on Vinkius-managed infrastructure inside AWS - a purpose-built runtime with per-request V8 isolates, Ed25519 signed audit chains, and sub-40ms cold starts optimized for native MCP execution. See our infrastructure
How Vinkius secures
ngrok for Mastra AI
Every tool call from Mastra AI to the ngrok MCP Server is protected by DLP redaction, cryptographic audit chains, V8 sandbox isolation, kill switch, and financial circuit breakers.
Frequently asked questions
Can I see all my active public URLs currently served by ngrok?
Yes! Use the list_endpoints tool to retrieve all public URLs, whether they are ephemeral, edge-based, or cloud endpoints.
How do I check which custom domains I have reserved?
Simply ask the agent to run the list_reserved_domains action. It will return a list of all custom domains configured in your ngrok account.
Is it possible to audit my IP security policies?
Yes. You can use list_ip_policies and list_ip_restrictions to review the access control rules applied to your infrastructure.
How does Mastra AI connect to MCP servers?
Create an MCPClient with the server URL and pass it to your agent. Mastra discovers all tools and makes them available with full TypeScript types.
Can Mastra agents use tools from multiple servers?
Yes. Pass multiple MCP clients to the agent constructor. Mastra merges all tool schemas and the agent can call any tool from any server.
Does Mastra support workflow orchestration?
Yes. Mastra has a built-in workflow engine that lets you chain MCP tool calls with branching logic, error handling, and parallel execution.
createMCPClient not exported
Install: npm install @mastra/mcp
Explore More MCP Servers
View all →
Tomorrow.io Extended
5 toolsHyper-local weather intelligence platform — get realtime, forecast, and air quality data via AI.

Timekit
11 toolsEmbed scheduling into your product with a white-label booking API that handles availability, time zones, and calendar sync.

Extensiv
10 toolsManage omnichannel operations via Extensiv — track orders and shipments, monitor inventory and warehouses, and manage vendors directly from any AI agent.

Denim
10 toolsEquip your AI agent to manage marketing campaigns, track contacts, and monitor analytics via the Denim API.
