# kindgi egress

> Print the IP addresses this deployment's calls to other sites come from, for a site that admits only known addresses: the server's own calls (such as to MCP servers and model providers, and webhook deliveries) and calls made by your deployed code

## `kindgi egress`

**Synopsis**

```sh signature
kindgi egress [--json]
```

Print the IP addresses this deployment's calls to other sites come from, for a site that admits only known addresses: the server's own calls (such as to MCP servers and model providers, and webhook deliveries) and calls made by your deployed code. Every tenant on the deployment calls from the same addresses, so keep your site's own credentials too. --json prints both lists.

**Options**

Every command also takes the [global flags](https://docs.kindgi.com/v0.1.9/reference/cli.md#global-flags).

**Examples**

Print the addresses this deployment's calls come from, to admit them on a site that admits only known addresses.

```sh
kindgi egress
```

Both lists as JSON, for a script that writes the site's firewall rule.

```sh
kindgi egress --json
```

From [Publish the addresses your calls come from](https://docs.kindgi.com/v0.1.9/deploy/self-hosted/egress-addresses.md):

```sh
npx --yes @kindgi/cli@0.1 egress
```

**See also**

- [Publish the addresses your calls come from](https://docs.kindgi.com/v0.1.9/deploy/self-hosted/egress-addresses.md)
