CorefinityCorefinityDocs
Open the Control PanelControl Panel
Firewall · 3 of 13

corestack_firewall_my_ip_add

Add my address.

Scope writeRuns as a taskNo secrets returned
On this page

When to use it

Add the address this call comes from — never one you name — so you can connect over SSH (a key is still needed) and skip the website's HTTP authentication and maintenance page. Pick the level: me (every environment you can reach), environment, website or company. Already allowed → present: true. Long-running: answers with a task that completes once every environment has applied it.

Ask for it

Prompt
Using the Corefinity MCP server, call corestack_firewall_my_ip_add with site_id 4211, level environment, expires_in_days 30. (Add my address.) Tell me what it returned.

Inputs

commentstring

A note shown beside the address (at most 200 characters).

enterprise_env_idinteger

A CoreStack Enterprise environment (its environment.id); give exactly one At least 1.

expires_in_daysinteger

1, 30, 90 or 365; leave it out for no expiry

13090365
levelstringRequired

me, environment, website or company

meenvironmentwebsitecompany
site_idinteger

A CoreStack or CoreCluster environment row, or At least 1.

Example call

tools/call
{
  "name": "corestack_firewall_my_ip_add",
  "arguments": {
    "site_id": 4211,
    "level": "environment",
    "expires_in_days": 30
  }
}

If it is refused

ReasonWhat to do
managed_elsewhereAnother control panel manages this site, so use that control panel for it. This is refused before anything else about the site, as in the Control Panel and the API. Nothing was done.
switched_offThe firewall is not available for this object yet.
firewall_address_refusedThe address this call comes from cannot be added (a shared provider range).
invalid_argumentsThe arguments do not match the tool's input schema, or the Control Panel refused a field. Fix the fields named in the answer and call again.
tenant_mismatchThe object does not exist or the token may not see it. Check the id.
scope_requiredThe token lacks a scope this call needs. Open the link in the answer to add it, then call again.
pin_refusedThe grant is limited to chosen clusters, sites or environments, and this call is outside them. Open the link in the answer to widen it.
rate_limitedToo many calls. Wait for the number of seconds the answer names.
temporarily_unavailableThe Control Panel could not answer just now. Nothing was started; try again shortly.
internal_errorSomething went wrong on our side. Quote the trace id to support.

The same task elsewhere

Was this helpful?
Open in ClaudeOpen in ChatGPT