New — Iris AI drafts your firewall, routing & rate-limit rules. Explore AI features →
Back to Blog
aiproductmcp

Manage Your Entire Edge From Your AI Assistant

Connect Claude Code, Claude Desktop or any MCP client to mcp.ngris.com and manage your edge by asking: deploy a site, change a firewall rule, find a failing request and replay it.

6 min read

The Ngris Model Context Protocol (MCP) server runs at mcp.ngris.com/mcp. Connect it to Claude Code, Claude Desktop or any other MCP client, and your assistant can work in your Ngris account when you ask it to: deploy a site, tighten a firewall rule, find a failing request and replay it, without a visit to the dashboard in between.

Ngris has two doors onto one edge: expose a service that runs on your machine or in your Kubernetes cluster through a tunnel, or deploy a site or an app to that same edge. Both sit behind the same per-endpoint rules: a web application firewall, sign-in, rate limits, mutual TLS. The MCP server puts all of it within reach of a conversation.

Why AI-native edge control

Most edge and tunnel tooling assumes a person at a dashboard or a hand-written config file. But more and more of the work already happens next to an AI assistant: you scaffold a service in Claude Code, you paste a stack trace, you ask it to write the deploy step. The moment you need a public URL or an edge rule, you leave that context, open a browser, click around, and come back.

The MCP server removes that round trip. Your assistant already knows the shape of your app; now it can act on the edge too, the same edge that serves your production traffic, through the public Ngris API. ngrok and Cloudflare offer MCP servers for their own platforms too. The Ngris server covers the whole account in one place: tunnels, hosting, edge rules, traffic and billing.

Connect it

In Claude Code, add the server and sign in:

# add the Ngris MCP server; a browser tab opens for the sign-in
claude mcp add --transport http ngris https://mcp.ngris.com/mcp

# or, for a script or CI, with an Ngris API key and no browser
claude mcp add --transport http ngris https://mcp.ngris.com/mcp \
  --header "Authorization: Bearer $NGRIS_API_KEY"

There are two ways to sign in:

  • In the browser (OAuth 2.1). Your MCP client opens the Ngris sign-in page, you approve, and the client keeps the connection. There is nothing to copy or paste.
  • With an Ngris API key. For scripts, CI, or a client you would rather configure once. Create the key in your account and send it as a bearer token.

Other MCP clients, such as Claude Desktop, editors and agents, connect to the same address: https://mcp.ngris.com/mcp, over Streamable HTTP.

What you can ask for

The server has more than 340 tools, grouped the way the dashboard is. You don't call them by name: you describe what you want and your assistant picks. Some of what it can do:

  • Get a local service online. "Give me a public URL for the app on port 3000." The assistant gives you the install line and the ngris http 3000 command, and a coding assistant can run them for you. The command prints the public URL. The tunnel starts on your machine: the MCP server runs at Ngris and cannot open one for you.
  • Deploy a site or an app. Ship a static build or a managed backend, list the deploys, read the build log, publish a deploy as a preview first, or go back to an earlier one.
  • Configure endpoints. Routing rules, rate limits, firewall policies, traffic-policy rules, mutual TLS, sign-in and roles, health checks, error pages and alerts.
  • Manage domains, certificates and DNS. Check whether a domain can be added to your account, add it, verify its CNAME, reissue a certificate, edit DNS records.
  • Inspect and replay traffic. List recent requests, filter them from a plain-English description, get one explained, and send it again.
  • Run the account. Members and roles, single sign-on, API keys, audit log, usage and billing, support tickets and boards.

A debugging loop that stays in one conversation: ask your assistant for the 5xx responses on an endpoint, have it explain the worst one, fix the code, and replay that same request against the fix.

Look before anything changes

An edge rule decides what your visitors get, and an assistant that proposes a change should be able to show what the change would do. Several tools exist only for that: one tests a rule's expression against a sample request, one shows what a firewall policy, rate limit or traffic-policy rule would have done to the endpoint's recent traffic, one shows the rules an OpenAPI spec would give, and one shows what a change of plan would cost. None of them changes anything.

Every tool also says what kind it is. A tool that only reads is marked read-only. A tool that changes something says whether it can remove or overwrite what is there. Your MCP client uses those marks to decide when to ask you first. Iris, the assistant built into the Ngris dashboard, works on the same principle: it shows you a change and waits for your approval.

It can do what you can do, and no more

Every tool call is made with your sign-in: the connection you approved in the browser, or your API key. The server has no access of its own. What your role does not allow in the dashboard, your assistant cannot do through the MCP server either.

  • No administrative functions. The server offers what a customer account can do. Nothing behind it reaches further.
  • No new keys from a browser sign-in. A connection made by signing in through the browser cannot create API keys or agent tokens. Create those in the dashboard, or connect with an API key.
  • Secrets are not read back. The value of a secret environment variable is never returned, only its name. A new API key is shown once, when it is created.
  • No card data. The billing tools never see or return a card number. To add or change a card, they give you a link to a page where you enter it yourself.

An API key belongs to you, not to one account: it works in all your accounts and acts in your default account until you switch to another account with it.

Try it

Add the server, then ask your assistant to list your endpoints, or to deploy a small site and show you its build log. If you have no service online yet, install the agent, sign in and start a tunnel first:

# install the agent, sign in once, put a local port online
curl -fsSL https://ngris.com/install.sh | sh
ngris auth --token
ngris http 3000

# add the MCP server to Claude Code
claude mcp add --transport http ngris https://mcp.ngris.com/mcp

Manage your edge from your AI assistant

Deploy a site, change a rule, and find and replay a failing request, by asking.

Create a free account →
Ask an AI to summarise this page
Deploy
App hosting Edge functions Domains & certificates
Connect
Secure tunnels API gateway Multi-region edge
Protect
Bot protection & challenge WAF & firewall Edge login
Observe & AI
Monitoring Inspector & replay Iris AI MCP server AI Gateway
Developers
Developer tools Docs ngrok policy converter Blog Changelog
Compare
Ngris vs ngrok Ngris vs Cloudflare Tunnel Ngris vs Vercel Ngris vs Netlify Expose localhost guide
More
Solutions Pricing Enterprise Sign in Get Started Free