---
title: "corestack_domains_get"
url: https://docs.corefinity.com/mcp/tools/corestack_domains_get
type: tool
last_updated: 2026-11-13
feature: domains
related:
  - https://docs.corefinity.com/api/reference/domains/get-site-domains.md
  - https://docs.corefinity.com/guides/sites/go-live/add-a-domain.md
---
# corestack_domains_get

**Domains.** A row's addresses once its domain is attached: the primary domain, the aliases, each host's DNS and certificate state, whether search engines are told not to index it, and the set's version — which corestack_domains_update needs. Scope: read.

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

## When to use it

A row's addresses once its domain is attached: the primary domain, the aliases, each host's DNS and certificate state, whether search engines are told not to index it, and the set's version — which corestack_domains_update needs.

## Inputs

- `site_id` (integer, ≥ 1, required)

### Input schema

```json
{
  "additionalProperties": false,
  "properties": {
    "site_id": {
      "minimum": 1,
      "type": "integer"
    }
  },
  "required": [
    "site_id"
  ],
  "type": "object"
}
```

## Refusals

- `deleted`: the site is deleted (in its grace period); restore it with corestack_site_restore_deleted first.
- `provisioning`: the site is still being created; wait for corestack_site_provisioning_get to finish.
- 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).

## Example

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

## Prompt

```text
Using the Corefinity MCP server, call corestack_domains_get with site_id 4211. (Domains.) Tell me what it returned.
```

## The same task elsewhere

- Endpoint: [GET /api/corestack/sites/{site}/domains](https://docs.corefinity.com/api/reference/domains/get-site-domains.md)
- Guide: [Add a domain](https://docs.corefinity.com/guides/sites/go-live/add-a-domain.md)
