---
title: "corestack_firewall_my_ip_check"
url: https://docs.corefinity.com/mcp/tools/corestack_firewall_my_ip_check
type: tool
last_updated: 2026-11-13
feature: firewall
related:
  - https://docs.corefinity.com/guides/sites/access-and-security/firewall.md
---
# corestack_firewall_my_ip_check

**Check my address.** Check whether the address this call comes from can connect to an environment over SSH, what lets it in, and the four levels (me, this environment, this website, my company) it could be added at with how many environments each opens. Scope: read.

- Scope: `read`
- Runs as a task: no

## When to use it

Check whether the address this call comes from can connect to an environment over SSH, what lets it in, and the four levels it could be added at (me, this environment, this website, my company) with how many environments each opens.

## Inputs

- `site_id` (integer, ≥ 1) — a CoreStack or CoreCluster environment row, or
- `enterprise_env_id` (integer, ≥ 1) — a CoreStack Enterprise environment (its `environment.id`); give exactly one

### Input schema

```json
{
  "additionalProperties": false,
  "properties": {
    "enterprise_env_id": {
      "description": "A CoreStack Enterprise environment's id (environment.id in corestack_firewall_list). Give this or site_id.",
      "minimum": 1,
      "type": "integer"
    },
    "site_id": {
      "description": "A CoreStack or CoreCluster environment row's site_id, as the other corestack tools take it. Give this or enterprise_env_id.",
      "minimum": 1,
      "type": "integer"
    }
  },
  "type": "object"
}
```

## Refusals

- The refusals every tool can answer: `invalid_arguments`, `tenant_mismatch`, `scope_required`, `pin_refused`, `rate_limited`, `temporarily_unavailable`, `internal_error` (corestack://guides/how-this-server-works).
- `switched_off`: the firewall is not available for this object yet.

## Example

```json
{
  "name": "corestack_firewall_my_ip_check",
  "arguments": {
    "site_id": 4211
  }
}
```

## Prompt

```text
Using the Corefinity MCP server, call corestack_firewall_my_ip_check with site_id 4211. (Check my address.) Tell me what it returned.
```

## The same task elsewhere

- Guide: [Firewall](https://docs.corefinity.com/guides/sites/access-and-security/firewall.md)
