Source: https://docs.estatecanvas.ca/ai-assistants/

# Connect your assistant

Bring EstateCanvas's current setup guides into Codex, Cursor, or Claude Code. Use **Set up agent** on any guide for copyable configuration and downloadable instructions.

## What the connection provides

The public documentation MCP endpoint is:

```text
https://docs.estatecanvas.ca/mcp
```

It uses Streamable HTTP and needs no EstateCanvas API key or sign-in. It gives your assistant three tools:

| Tool | What it does |
| --- | --- |
| `search_docs` | Find a guide for a setup question. |
| `get_doc` | Read a guide's full Markdown. |
| `get_embed_example` | Generate a provider-specific snippet or Wix URL from your public embed key. |

Your assistant can use its existing website or repository tools to implement the installation. Client answers, domain changes, publishing, and firm settings remain in the authenticated EstateCanvas app. The docs MCP does not have access to them.

## Codex

Add the server with Codex CLI:

```sh
codex mcp add estatecanvasDocs --url https://docs.estatecanvas.ca/mcp
codex mcp list
```

Or merge this into `~/.codex/config.toml`, keeping your existing configuration:

```toml
[mcp_servers.estatecanvasDocs]
url = "https://docs.estatecanvas.ca/mcp"
enabled_tools = ["search_docs", "get_doc", "get_embed_example"]
```

Start a new chat and ask Codex to find your website provider's EstateCanvas guide. [Download the TOML entry](/downloads/estatecanvas-codex.toml) or read the [official Codex MCP guide](https://developers.openai.com/codex/mcp/). For unattended runs, see [Headless & automation](/headless/).

## Cursor

Merge this into `.cursor/mcp.json` in your website project:

```json
{
  "mcpServers": {
    "estatecanvasDocs": {
      "url": "https://docs.estatecanvas.ca/mcp"
    }
  }
}
```

Refresh the editor's MCP settings and enable the three tools. [Download the JSON entry](/downloads/estatecanvas-cursor.json). The [official MCP configuration guide](https://cursor.com/docs/context/mcp) covers project and user configuration locations.

## Claude Code

Add the remote HTTP server:

```sh
claude mcp add --transport http estatecanvasDocs https://docs.estatecanvas.ca/mcp
```

Run `/mcp` in Claude Code to check the connection. For a project configuration, merge the [downloadable MCP JSON](/downloads/estatecanvas-claude.json) into `.mcp.json`, preserving other servers. See [Claude Code's MCP guide](https://code.claude.com/docs/en/mcp).

For Claude's web or desktop app, use its remote connector settings with the same endpoint and no authentication. Available controls depend on your account and workspace; see [Claude's remote connector instructions](https://support.claude.com/en/articles/11175166-get-started-with-custom-connectors-using-remote-mcp).

## Give your assistant the installation task

```text
Use the EstateCanvas documentation MCP to add client intake to my website.
Read the guide for my website provider first.
My public embed key is: YOUR_PUBLIC_EMBED_KEY
My published website is: https://www.myfirm.ca
Use get_embed_example with my public key and provider.
Explain which exact domain I need to save in the firm workspace.
Implement the website change and check the layout. Keep existing site features intact.
Do not publish the website or change workspace settings without my approval.
```

Replace the placeholders before sending. The public `pk_ec_` key is enough to generate your snippet; it does not grant access to client answers. Confirm the real page after saving its domain and publishing the flow. An example generated by MCP is not a verification that your domain or key is configured.

[Download the setup instructions](/downloads/estatecanvas-setup.md) to keep them with your project or attach them to a chat.

## Use plain text instead

An assistant without MCP can read [llms.txt](/llms.txt), [llms-full.txt](/llms-full.txt), or any guide's **View Markdown** link. They are generated from the same guide sources. These files provide context; they do not install tools or authenticate an account.


---

Source: https://docs.estatecanvas.ca/headless/

# Headless & automation

Read EstateCanvas's installation guides from a terminal, script, or CI job. The documentation MCP is public and stateless, so it does not need a browser login or an EstateCanvas API key.

## Pick a client

| Client | Use it for |
| --- | --- |
| Codex CLI | Ask an assistant to turn the guides into an installation plan or website change. |
| Node.js MCP SDK | Fetch structured tool results from your own script without a model. |
| Raw HTTP | Inspect the MCP protocol or integrate with an HTTP-only environment. |

Use **Set up agent → Headless & automation** for copyable examples for each client.

## Codex CLI

Merge the following into the Codex configuration used by your runner:

```toml
[mcp_servers.estatecanvasDocs]
url = "https://docs.estatecanvas.ca/mcp"
enabled_tools = ["search_docs", "get_doc", "get_embed_example"]
required = true
```

Then run a read-only task from your trusted website project:

```sh
codex exec --sandbox read-only --json \
  "Use estatecanvasDocs to read the Squarespace guide and produce an installation checklist. Do not change files."
```

`--json` returns JSON Lines events. `required = true` stops the run if the docs server cannot initialize. Codex still uses its own authentication and normal tool permissions; the EstateCanvas docs server needs no credentials. Project-scoped configuration must be trusted by Codex. For file changes, choose appropriate workspace permissions and review the result before publishing.

[Download the headless TOML entry](/downloads/estatecanvas-codex-headless.toml). See the official [non-interactive Codex guide](https://developers.openai.com/codex/noninteractive/) for runner authentication, output formats, and permissions.

## Node.js MCP SDK

Use Node.js 22 or newer. In your script's project:

```sh
npm install @modelcontextprotocol/sdk
```

Download [estatecanvas-headless.mjs](/downloads/estatecanvas-headless.mjs) into that project and run:

```sh
node estatecanvas-headless.mjs
```

The example connects with `StreamableHTTPClientTransport`, calls `get_doc` with `slug: "squarespace"`, prints the Markdown response, and closes the client. It makes no changes and requires no model account.

To generate your own embed, call `get_embed_example` with your public `pk_ec_` key and one of `wordpress`, `squarespace`, `wix`, `webflow`, `framer`, `hugo`, or `html`. The result includes a snippet, embed URL, provider guide, and next steps. `verified: false` means the tool has not checked publication or the domain allowlist.

## Raw HTTP

[Download the curl example](/downloads/estatecanvas-headless.sh). Read it, then run it with `sh` in an environment with curl installed. It initializes MCP using protocol version `2025-03-26`, sends the initialized notification, and calls `get_doc`.

Every request goes to `https://docs.estatecanvas.ca/mcp` with `Content-Type: application/json` and `Accept: application/json, text/event-stream`. Requests after initialization include the negotiated `MCP-Protocol-Version`. This server does not issue a session ID or require an authorization header.

Use `tools/list` to discover the tools and `resources/list` to enumerate the Markdown guides. Treat a JSON-RPC `error` or a tool result with `isError: true` as a failed request, even if the HTTP response is successful. Handle network timeouts in your runner and use bounded retries for these read-only requests.

## Scope of automation

This endpoint supplies documentation and installation examples. It cannot create a workspace, configure a domain, publish a flow, fetch client records, or submit an intake. An assistant can edit website files through tools you separately provide. A firm owner configures the intake in [the main app](https://platform.estatecanvas.ca/firm); a client completes it through the authenticated widget.

For a plain-text workflow, fetch [llms-full.txt](/llms-full.txt) or an individual guide's Markdown and pass that content to your existing automation.
