# Connect your AI agent to MyDataValue Help the user connect the assistant they are already using. Configure what its tools allow and guide the user through the remaining controls. myDataValue supports **Claude**, **ChatGPT**, **Claude Code** and **Codex**, with Claude's published connector first for a user choosing a client. ChatGPT connects as a custom connector today; a listed connector is planned. **Connection:** name `mydatavalue`, URL `https://api.mydatavalue.com/mcp`, Streamable HTTP transport and browser OAuth with automatic client registration. No API key, client secret or local myDataValue server is needed. ## Before you start - Identify the client from the assistant's environment; ask only if unclear. - Reuse an existing connection at this URL and complete its sign-in. Preserve unrelated configuration; replacing a different URL requires the user's agreement. A hosted chat cannot edit local configuration without tools that give it access. - Follow the matching client route below, then [sign in and choose a team](#sign-in-and-choose-a-team) and [verify the connection](#verify-the-connection). Existing connections still need the knowledge read and portfolio query. ## Claude and Claude Code Both clients can share a connector configured in Claude. Claude Code using an API key or another provider uses the CLI alternative below. ### Published connector Open the [myDataValue connector](https://claude.ai/directory/mydatavalue) and select **Connect**. The connector should ask you to sign in to myDataValue. If it says **Sign-in not required** and shows only Market Operator Counts, ask the Claude workspace owner to add the URL above as a custom connector with **Sign in now** and **Register automatically**. ### Custom connector alternative If the published connector is unavailable, open Claude's **Connectors** and choose **Add custom connector**. Use the name and URL above, then choose **Sign in now** and **Register automatically** when the authentication choices appear. Leave fixed request headers and manual credentials empty. Finish adding it and select **Connect** if sign-in has not started. A Team or Enterprise workspace owner may need to add or allow the connector first. The [official Claude instructions](https://support.claude.com/en/articles/11175166-get-started-with-custom-connectors-using-remote-mcp) cover different controls. For either connector route: - **Claude on web, desktop or mobile:** enable myDataValue in the conversation's connectors. - **Claude Code:** use the same Claude account with subscription login, then open `/mcp` to check that myDataValue is available and enabled. If missing, use the CLI alternative, subject to workspace policy. ### Claude Code CLI alternative Check `claude mcp get mydatavalue`. If absent, add it: ```sh claude mcp add --transport http --scope user mydatavalue "https://api.mydatavalue.com/mcp" ``` Open `/mcp`, select `mydatavalue` and authenticate. The [Claude Code MCP guide](https://code.claude.com/docs/en/mcp) covers client configuration and workspace policies. ## Codex **Prefer the CLI.** Inspect `codex mcp list`, then run only the commands needed: ```sh # Add only if absent: codex mcp add mydatavalue --url "https://api.mydatavalue.com/mcp" # Authenticate only if needed: codex mcp login mydatavalue ``` Without CLI access, open **MCP servers** settings, add the name and URL above as **Streamable HTTP**, save, then select **Authenticate**. Reuse a correct existing entry. The [Codex MCP instructions](https://developers.openai.com/codex/mcp) cover different controls. ## ChatGPT ChatGPT connects as a custom connector: follow [OpenAI's custom MCP setup](https://developers.openai.com/plugins/deploy/connect-chatgpt) with the name and URL above, OAuth authentication and automatic registration where offered. Install the resulting plugin, start a conversation and select it with `@`. Complete browser sign-in when prompted. Account and workspace policies control availability; local Codex configuration does not configure hosted ChatGPT. ## Other clients Refer to the client's own official MCP documentation for remote Streamable HTTP with OAuth. Use the connection settings and shared completion steps in this guide. If the client lacks a required capability, explain the gap rather than inventing settings; Claude, Claude Code and Codex are alternatives. ## Sign in and choose a team In the browser, the user signs in to or creates their myDataValue account, chooses the team whose portfolio to use, reviews permissions and approves access. Passwords, authorization codes and tokens stay out of chat. Connector availability belongs to the client's workspace administrator; team membership and access belong to myDataValue's consent screen: - **Team missing:** sign in with a member account or have a team admin invite the current account. A pending invitation can show **Join** after email confirmation. - **Team with no access yet:** a team that has not used its free trial can be chosen. Allowing access does not start the trial: it starts when the team's first Booking.com or Airbnb import has brought data in, as the screen says. Until then the assistant can check setup (`get_setup_status()`), give the connection link, wait for the sign-in or import and read these guides; every other tool answers `setup_required`, and the next step is to connect an account. A team that already used its trial, or whose subscription lapsed, cannot start one; the screen links its subscription page instead. If it stays unselectable, the user's myDataValue contact can help restore access. ## Verify the connection Every route, including an existing connection, finishes in this order: 1. **Read the knowledge.** Start with `mydata://knowledge/README.md`, then read [Which tool answers what](connector-tools.md) and [Which view answers a setup or performance question](sql-views.md) whole. Read them as MCP resources under `mydata://knowledge/` or through `execute()` using `/knowledge/`. 2. **Run a portfolio query.** Use `run_sql()` to inspect the dictionary: ```sql SELECT table_name, relation_role, description FROM tables; ``` Read the chosen views' row grain and columns, then query a small list of the user's Booking.com properties or Airbnb listings. Use granted views, without guessing names, and explain the call in its `context` argument. A `setup_required` answer means the team's trial has not started because nothing has imported yet: follow `get_setup_status()` to connect an account, then run the query once the import is done. 3. **Show what worked.** Display the result, the channel checked and any limit or truncation. Identify the selected team when the tools provide it. An authenticated empty result is valid: it means the view is readable with this connection and holds no matching rows, because a view the connection was not granted is refused by name rather than answered with no rows ([consent limits the views](connector-tools.md#rules-that-always-apply)). `get_setup_status()` explains the setup state without assuming why data is absent. Setup is complete only after reading the knowledge and successfully querying private portfolio data. A saved URL or public market counts alone do not prove account access. No account data needs changing. If tools are missing, enable the connector, reconnect or start a fresh session; Claude Code tool search for `mydatavalue` can load deferred tools. For missing permissions, reconnect and let the user approve the required access. If knowledge reading or the private query is blocked, report which step remains unverified. ## What the user can ask "What can I ask you?" is answered in chat first, with a few example questions that fit the channels the team has connected, which `get_setup_status()` lists: Airbnb questions for a team with only Airbnb, Booking.com ones for a team with only Booking.com. The questions that show what myDataValue adds are the ones a PMS cannot answer from its own data: search views and conversion, search rank, live and eligible promotions and what guests really pay, competitors and their prices, Genius and Preferred, public prices on both channels, review categories, what changed and who changed it, and how the automation ran. The eight jobs, each with a question to copy, follow those few questions: the ["What to ask" guide](https://www.mydatavalue.com/guides/mcp/what-to-ask/) shows them in four groups, and [workflows.md](workflows.md) holds the same list for the answer in chat, with the two ready-made workflows, Last-minute pricing and Pickup check, and their questions. The link answers that question only; an ordinary answer is complete without it. ## How long the connection lasts Consent lasts until revoked, while the user belongs to the selected team and the team has access to myDataValue, with no periodic re-authorization. A client that loses its saved login can need browser sign-in again. Revoke via **Connections → AI assistants**, or through the team's myDataValue contact. The connection needs an active subscription or trial. A team whose trial has not started yet is connected for setup only: its trial starts when its first import has brought data in, and until then every tool but the setup ones answers `setup_required`. If the subscription or trial lapses, for example after a failed payment, every call says so and links the team's subscription page, where a team admin restores it (a failed payment is paid there). Reconnecting does not help; once the subscription is active the same connection works again with nothing lost.