Get project by domain

Find a project by domain. Requires project.read.

Arguments

  • domainstringrequired

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

Responses

curl -X POST -N "https://api.veryfront.com/mcp" \  -H "Authorization: Bearer $VERYFRONT_API_KEY" \  -H "Accept: application/json, text/event-stream" \  -H "Content-Type: application/json" \  -d '{  "jsonrpc": "2.0",  "id": 1,  "method": "tools/call",  "params": {    "name": "veryfront__get_project_by_domain",    "arguments": {      "domain": "string"    }  }}'
{  "jsonrpc": "2.0",  "id": 1,  "result": {    "content": [      {        "type": "text",        "text": "{\"project_id\":\"string\",\"project_slug\":\"string\",\"project_name\":\"string\",\"environment_id\":\"string\",\"environment_name\":\"string\",\"release_id\":\"string\"}"      }    ],    "structuredContent": {      "project_id": "string",      "project_slug": "string",      "project_name": "string",      "environment_id": "string",      "environment_name": "string",      "release_id": "string"    }  }}

The tool ran; its output is result.structuredContent.