Quickstart and reference
From a provider key to your first answer in Claude, ChatGPT or a script, then everything the API and the MCP server take and return.
$ESTATE stands for your team's Estate address, which comes with your invitation. Connecting your own provider (step 1) opens with the beta; the connector, tools and API below are the ones running today.How Estate works
Estate reads your server provider with a read-only API key, keeps what it reads (and every change), and answers three ways from one API: the console, the MCP server at $ESTATE/mcp for Claude, ChatGPT and other assistants, and the REST API at $ESTATE/v1. Sign-in is OAuth 2.1; what each person, agent or script sees is decided by its scopes, checked in the API.
Supported today: Latitude.sh (bare metal, VMs, IPs, sites, plans, events, traffic, billing and object storage).
1. Connect a provider
Your team's owner does this once.
- In your Latitude.sh account, create an API key for the project Estate should read.
- In Estate's console, choose Connect a provider, pick Latitude.sh and paste the key.
- Estate checks the key with a read, stores it in a vault under your team and never shows it again. The first inventory lands within five minutes.
get. It never powers off, reinstalls, orders or deletes anything, whatever the key would allow. See Security.2. Add the connector
Claude Desktop
- Open Settings → Connectors and choose Add custom connector.
- Name it Estate and paste
$ESTATE/mcpas the URL. - Choose Connect, sign in, and approve. Estate's tools appear in the tools menu.
ChatGPT
- Open Settings → Apps & Connectors. Under Advanced, turn on developer mode if your workspace requires it.
- Choose Create, name it Estate, paste
$ESTATE/mcp, and pick OAuth. - Sign in and approve. Turn Estate on in a chat from the tools menu.
Other MCP clients
Any client that speaks MCP over streamable HTTP with OAuth can connect to $ESTATE/mcp directly; it finds the sign-in server from $ESTATE/.well-known/oauth-protected-resource. For a client that only runs local servers, bridge it with mcp-remote:
{
"mcpServers": {
"estate": {
"command": "npx",
"args": ["-y", "mcp-remote", "https://YOUR-ESTATE-ADDRESS/mcp"]
}
}
}3. Ask
Ask in plain words; the assistant picks the tool. Good first questions:
The last one calls view_estate, which opens the console inline in hosts that render MCP Apps.
4. Your first API call
Find the sign-in server, get a token with the scopes you need, then call the API. A person's token comes from signing in (authorization code with PKCE); a script uses a machine client your team's owner creates, with client credentials.
curl -s $ESTATE/.well-known/oauth-protected-resource { "resource": "…", "authorization_servers": ["…"], ... } # RESOURCE=.resource, ISSUER=.authorization_servers[0]
TOKEN=$(curl -s -u "$CLIENT_ID:$CLIENT_SECRET" $ISSUER/token \ -d grant_type=client_credentials \ --data-urlencode resource=$RESOURCE \ --data-urlencode "scope=estate:read estate:billing:read" | jq -r .access_token)
curl -s -H "Authorization: Bearer $TOKEN" $ESTATE/v1/servers/web-1 { "server": { "id": "sv_7Qh2XbA9kLm4e", "hostname": "web-1", "provider": "latitude", "kind": "metal", "site": "dal", "plan": "f4.metal.medium", "price_month": 555.0, "power": "on", "status": "on", "ipmi_status": "Normal", "primary_ipv4": "203.0.113.10", "primary_ipv6": "2001:db8:5002::2", "specs": { "cpu": "AMD EPYC 4564P @ 5.88GHz (16 cores)", "ram": "192 GB", "disk": "2 X 480 GB NVMe + 2 X 2 TB NVMe", "nic": "2 X 10 Gbit/s" }, "scheduled_deletion_at": null, "locked": false }, "site": { "id": "dal", "name": "Dallas", "country": "United States", "facility": "Cologix" }, "power_since": "2026-12-02T14:10:20Z", "billed_this_period_cents": 55500, "traffic": { "outbound_gb": 1387.0, "inbound_gb": 412.0, "outbound_p95_mbps": 121.7 }, "events": [ { "action": "actions.power_on", "at": "2026-12-02T14:10:20Z", "author": "A team member" } ] }
Money is in cents (*_cents) with a currency, except list prices (price_month), which are the provider's own figures. Without estate:billing:read, prices and billed amounts are left out.
Scopes
| Scope | Grants |
|---|---|
estate:read | Providers, sites, servers, VMs, IPs, plans, events, traffic. Everything except money. |
estate:billing:read | Cost and prices: /v1/cost, billed amounts, list prices and the forecast. Without it, answers leave cost out and say why. |
Tokens are issued for the resource the sign-in metadata names. A team's roles (owner, admin, member) decide which scopes a person can hold.
MCP tools
Endpoint: $ESTATE/mcp (streamable HTTP, OAuth). Each tool calls the API with the caller's own token.
| Tool | Arguments | Returns |
|---|---|---|
estate_view | site? | Each provider, its sites, servers and VMs with power, plan and IPs, buckets; with billing, this period's cost by site and server |
server_get | server (id or hostname) | Specs, status, power and since when, IPs, site, latest events, traffic, billed this period |
estate_cost | by? site | server, months? 1–36 (12) | Each period's total and lines as billed, split as asked |
events_list | server?, before? | The provider's events, newest first, 50 a page, and next |
ips_list | after? | Every address with its family, block and server, and next |
view_estate | none | The console (ui://estate/console): needs-you, the view and cost, with every tab primed |
Each answer has a readable text part (what needs you first, then the estate) and the same data as structured content.
REST API
Base: $ESTATE. Every request needs Authorization: Bearer <token>; no token is a 401 pointing at the sign-in metadata.
| Endpoint | Returns | Scope |
|---|---|---|
GET /v1/view | The whole estate in one answer (what estate_view shows) | read |
GET /v1/providers | Provider accounts | read |
GET /v1/sites | Sites: city, country, facility, region, features | read |
GET /v1/servers | Servers and VMs; ?site=; paged | read |
GET /v1/servers/{id or hostname} | One server, as in the example above | read |
GET /v1/servers/{id}/events | One server's events, newest first; paged | read |
GET /v1/ips | Every address; paged | read |
GET /v1/plans | Plans with specs and list prices | read |
GET /v1/events | The account's events, newest first; paged | read |
GET /v1/cost?by=site|server&months=12 | Billed per period with lines, split as asked | billing |
Paging and ETags
Lists answer {"items": [...], "next": "…"}. Pass next back as ?after= (servers, IPs) or ?before= (events, newest first), with ?limit= to size the page. When next is null you have it all.
Every answer carries an ETag. Send it back as If-None-Match and you get 304 Not Modified when nothing changed, which makes polling cheap.
curl -s -o /dev/null -w '%{http_code}\n' -H "Authorization: Bearer $TOKEN" \ -H 'If-None-Match: "8c1f…"' $ESTATE/v1/view 304
How fresh is it?
| What | Read every |
|---|---|
| Inventory: projects, servers, VMs, IPs, sites, plans | 5 minutes |
| Each server's and VM's power | 60 seconds |
| The provider's event log | 60 seconds |
| Billing usage | 1 hour |
| Traffic per bare-metal server | 1 hour |
A record changes only when one of its fields does, and the change is kept in its history. Power is written only when it changes, so "on since" is exact to the minute.
The data model
Provider (an account, e.g. a Latitude.sh project) → site (where: city, country, facility) → server or VM (plan, specs, power, status) → IPs. Beside them: plans with list prices, the provider's events, object-storage buckets, and cost: billing periods, each with its lines matched to the servers and buckets they're for.
Errors
| Status | Means |
|---|---|
401 | No token, or it's expired or not valid (WWW-Authenticate: Bearer error="invalid_token"). MCP clients are pointed to the sign-in metadata. |
403 | The token lacks the scope this needs, usually estate:billing:read. |
404 | No server with that id or hostname. |
304 | Not modified since the ETag you sent. |
When Estate can't read the provider, answers still come back with what it last read, and "needs you" says the read is failing and since when.