Get by domain

veryfront__get_project_by_domain

Requires project.read.

Access

No external-service connection is required. Use a Veryfront credential with access to the requested resources.

Call type: Read-only.

Arguments

FieldTypeRequiredDescription and constraints
domainstringYesCustom domain to look up (e.g., mysite.com). Returns the owning project and environment, as used for JIT rendering of production sites.

Example request

Send this JSON-RPC request through an initialized MCP client. Replace sample identifiers and values before calling the tool. See MCP client setup.

json
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "veryfront__get_project_by_domain",
    "arguments": {
      "domain": "example"
    }
  }
}

Result

The published output shape is summarized below. Inspect both the MCP response content and isError when handling a call.

FieldTypeRequiredDescription and constraints
project_idstringYesProject identifier associated with this result.
project_slugstringYes
project_namestringYes
environment_idstring or nullYes
environment_namestring or nullYes
release_idstring or nullYesRelease identifier associated with this result.

Full schemas

json
{
  "type": "object",
  "properties": {
    "domain": {
      "type": "string",
      "description": "Custom domain to look up (e.g., mysite.com). Returns the owning project and environment, as used for JIT rendering of production sites."
    }
  },
  "required": [
    "domain"
  ],
  "additionalProperties": false,
  "description": "Arguments for the get_project_by_domain tool.",
  "$schema": "http://json-schema.org/draft-07/schema#"
}
json
{
  "type": "object",
  "properties": {
    "project_id": {
      "type": "string",
      "description": "Project identifier associated with this result."
    },
    "project_slug": {
      "type": "string"
    },
    "project_name": {
      "type": "string"
    },
    "environment_id": {
      "type": [
        "string",
        "null"
      ]
    },
    "environment_name": {
      "type": [
        "string",
        "null"
      ]
    },
    "release_id": {
      "type": [
        "string",
        "null"
      ],
      "description": "Release identifier associated with this result."
    }
  },
  "required": [
    "project_id",
    "project_slug",
    "project_name",
    "environment_id",
    "environment_name",
    "release_id"
  ],
  "additionalProperties": false,
  "description": "Structured result returned by the get_project_by_domain tool.",
  "$schema": "http://json-schema.org/draft-07/schema#"
}