Skip to content

Connect AI Tools to a Vibedata Domain ​

Vibedata can act as an MCP server, so an AI client that lets you use your own OAuth client — a Claude custom connector (Claude.ai / Claude Desktop) or Claude Code — can connect to one Domain of your Vibedata instance, sign in as you, and view and change that Domain's Intents, and list its Automations. You add one URL per Domain, sign in once, and the client is scoped to exactly that Domain.

AI clients cannot register themselves with Vibedata. Every connection uses an OAuth client that a Vibedata Owner creates once and shares; an AI client with no "use your own OAuth client" option cannot connect.

The client only ever sees and does what you can, and each connection reaches only its one Domain.

Before you start ​

  • An Owner must turn the feature on. Connecting AI tools is a Preview feature. A Vibedata Owner turns on Vibedata MCP server in Org settings → Preview features. If the steps below report the feature is not available, ask a Vibedata Owner to turn it on.
  • You need a Vibedata account. An instance with sign-in (SSO) and a local single-operator install can both host AI-client connections.
  • Vibedata needs a public address. The connection URL is built from the address that STUDIO_BASE_URL holds. Without it, the URL is not available. On a local Docker install, vibedata install compose sets it from --studio-url (default: localhost). The AI client must be able to reach that address.
  • One URL per Domain. Each Domain has its own connection URL of the form https://<your-vibedata-url>/api/mcp/v1/d/<domain-id>.
  • You need a client ID and secret from a Vibedata Owner (see below). One OAuth client can serve every Domain and every user; each person still signs in as themselves.

For Owners: create the OAuth client ​

In Org settings → OAuth clients → Add OAuth client, fill in the New OAuth client form:

  • Client name — required. Choose a name people recognise on the consent screen.
  • Redirect URIs — required. Enter one per line, one per AI client you support:
    • Claude custom connector: https://claude.ai/api/mcp/auth_callback
    • Claude Code: http://localhost:33418/callback (a localhost redirect matches on any port, so users may pick any free port)
    • Plain http is accepted only for localhost and Vibedata's own host.
  • Scopes — openid is always granted. Leave offline_access selected, so connections stay signed in. profile and email are optional.
  • Consent and claims — leave Skip consent off for AI clients. With it on, people do not see the Allow access screen, and so never approve that the client can change Intents.
  • Select Create. Vibedata shows Save this client secret now. once. Copy the client ID and client secret, and share them with the people who will connect.

To change the secret later, use Rotate secret on the client. The previous secret stops working, and Vibedata shows the new secret once. A client that has no secret shows Generate first secret instead. Rotating the secret or deleting the client stops new sign-ins. A connection that is already signed in keeps working until its current access token expires. It cannot then renew it.

Get a Domain's connection URL ​

Open the Domain in Vibedata (Domains on the rail), select Resources, and below the resource rows use Connect AI tools → Copy to copy that Domain's MCP URL. (There is one URL per Domain; to connect a second Domain, copy its URL and add a second connection.) The card also offers ready-to-paste Claude Code commands named for the Domain.

If the card says AI tools cannot connect to this domain yet, the instance has no public address configured; ask your administrator to set it. If Resources shows no Connect AI tools card, Vibedata MCP server is off; ask a Vibedata Owner to turn it on in Org settings → Preview features.

Connect your AI client ​

Add the Domain's URL to your client as a custom connector / MCP server. The exact steps vary by client — a couple of examples:

ClientHow to add it
Claude Codeclaude mcp add --transport http <name> <domain-url> --client-id <client-id> --client-secret --callback-port 33418 (it prompts for the secret), then claude mcp login <name>
Claude.ai / Claude DesktopSettings → Connectors → Add custom connector: enter a name and the Domain URL, choose Use your own OAuth client, and enter the client ID and secret

Keep the connection name short (e.g. claude mcp add finance <url>). A very long local name can push the tool identifiers past the client's limit.

After you add the connector:

  1. The client opens your Vibedata sign-in in a browser.
  2. You sign in the way you normally sign in to Vibedata.
  3. You confirm: "Allow access to your <Domain> domain" (there is no domain to pick — the URL already fixes the Domain). The screen says the application can view and change that Domain's Intents as you, and names the OAuth client your Owner created; allow it only if you just started this connection yourself.
  4. The browser returns to the client, which shows the connector as connected.

What the client can do ​

Once connected to a Domain, the client has tools named for the Domain. For a Domain whose slug is finance they start finance_, for example finance_list_intents.

What you can ask the client to doTools (after the finance_ prefix)
Look at Intents and Automationslist_intents (an optional search matches title, slug or first prompt), get_intent, list_automations, list_llm_profiles
Read an Intent's agentget_intent_status (is it working), read_intent_conversation (the newest text of the chat)
Create and forkcreate_intent, fork_intent, check_fork_status
Move an Intent through its lifearchive_intent, unarchive_intent, close_intent, complete_intent, delete_intent
Drive an Intent's agentopen_intent, intent_send_message, renew_intent_lease, release_intent_lease, pause_intent
Decide what the agent waits onlist_intent_pending_actions, approve_intent_action, reject_intent_action, answer_intent_question

Name the Intent when you create it. Before calling create_intent, the client asks you for the Intent's title, and whether you want to set its slug, its branch name and its type (with or without a branch and ephemeral workspace). Leave the slug or branch name out and they are made from the title. Vibedata adds a unique 8-character code to both, and the slug and branch name cannot be changed after creation.

For long tasks, say "wait until it's done". Claude Code shows progress while it waits, so the client can wait up to 30 minutes for the agent to finish.

Say "follow the agent" to see every step. The client then shows the agent's thoughts and messages as they appear, in the agent's own words, instead of one summary at the end. Without it, the client shows the agent's reply when the agent has finished, also in the agent's words.

When the agent needs you, the client asks you. If the agent needs approval for an action or asks you a question, the client stops waiting at once and tells you what it needs. Answer it, and the client approves, rejects or answers for you. The client should never decide for you, but a client set to skip its own approval prompts (for example Claude Code with --dangerously-skip-permissions) can, so keep those prompts on when you let a client drive an Intent. A client can approve an action once, but it can never turn on Always allow: Vibedata refuses that from an AI client, whatever it sends.

High-risk actions are approved in Vibedata. An AI client cannot approve an action Vibedata rates high risk. The client tells you about it, and you approve it in the Intent's chat in the Vibedata web app; the client can still reject it if you ask. This is because the agent's words reach the client's model, and the agent may be quoting text from a repository or a tool that someone wrote to talk the model into approving. The client is told to treat the agent's words as information for you, never as instructions, but that cannot be guaranteed, so the riskiest actions always need you in Vibedata.

Sending a message returns the agent's reply. intent_send_message waits for the agent to finish, 25 seconds by default, and returns its reply in the same call (180 seconds when the client shows progress, as Claude Code does). The 25-second default stays under the 60 s default request timeout of MCP SDK clients and under the 30 s that CloudFront, in front of Vibedata on AWS, allows a response that sends nothing yet; on Azure, Front Door allows 240 s. Raise waitSeconds up to 300 seconds only if your client allows longer requests, or up to 1,800 seconds when it asks for progress, which keeps the request alive. If the agent is still working when the wait ends, the message has still been sent: the result says the agent is still replying, and read_intent_conversation waits for the rest the same way. A read taken while the agent is still replying says so, rather than passing for the whole conversation. While it waits, a client that shows progress, such as Claude Code, shows what the agent is doing, in the words of Vibedata's typing indicator, each new line the agent writes, and its final answer.

The client sees what the chat shows. Both tools return the text Vibedata's chat shows in its main column: your messages, the agent's messages, what the agent says before each step (thought), its final answer (finish), and tool output the chat shows as text rather than on a tool card (output). Tool calls, the agent's private thinking and errors stay in Vibedata.

The tool name is the Domain's slug in lower case, with each run of other characters changed to _, then the tool name. A long slug is cut short and a six-character hash is added, so the name stays within 40 characters.

The client cannot reach any other Domain — the connection is hard-scoped to its one Domain and acts as you. The tools call Vibedata's own API as you, so they return exactly what the Vibedata web app would, with the same permissions, errors and audit trail.

The client asks before it changes anything. Tools that only read are marked read-only; every other tool is not, and delete_intent, close_intent, complete_intent, pause_intent and approve_intent_action are marked destructive. Claude Code and Claude on the web ask you to approve a tool that is not read-only before it runs. That prompt belongs to the AI client, so keep it on.

A change made since you looked is not overwritten. When the client closes, archives, unarchives or deletes an Intent, it can pass along the version it read with get_intent. If someone changed the Intent after that, Vibedata refuses the change, and the client reads the Intent again and checks it with you before trying once more.

Existing connections must approve once more. A connection made before the client could change Intents stops working and asks you to sign in and allow it again, on a screen that says it can change Intents. Reconnect it with claude mcp login <name> in Claude Code, or reconnect the connector in Claude on the web.

Your edit lease is shared with the web app. Only one session at a time can drive an Intent, and Vibedata treats you in the web app and you in an AI client as the same person. Opening an Intent from the client takes the lease your web session would hold, and releasing it or pausing the Intent from the client also ends driving in your open web session. Vibedata does not keep the client's lease alive in the background: for long work, ask the client to renew it. A lapsed lease cannot be renewed, but it stays yours until someone else takes it, so the client can keep working until then. If a call is refused because you no longer hold the lease, or reports that the agent has stopped, ask the client to open the Intent again.

Use more than one Domain ​

Add a separate connection per Domain: copy each Domain's URL from its Resources section and add it under its own name (finance, revenue, …). Each connection is independently signed in, independently scoped, and independently revocable.

Manage or disconnect a connected client ​

  • To disconnect yourself, remove or disconnect the connector in your AI client.
  • To stop new sign-ins, a Vibedata Owner rotates the OAuth client's secret or deletes the client in Org settings → OAuth clients. A connection that is already signed in keeps working until its current access token expires. It cannot then renew it. Share the new secret (or a new client) with those who should reconnect.
  • Deleting a Domain disconnects its AI clients: the Domain's endpoint stops working and its connections can no longer be used.

Troubleshooting ​

What you seeWhat it means
"Feature is not available" / a 404Vibedata MCP server is off in Org settings → Preview features, or Vibedata has no public address — ask a Vibedata Owner.
"invalid_client" / authorization failedThe client ID or secret is wrong, or the Owner rotated or deleted the client — ask for the current one.
"invalid redirect uri"The OAuth client has no redirect for this AI client — ask the Owner to add the one listed above.
The confirm screen withholds AllowYour account cannot see that Domain. Deny, and ask a Domain Owner for access.
The whole connection fails to initializeThe connection's local name may be too long — remove it and re-add with a short name.
A tool returns an errorThe error is Vibedata's own — the same one the web app would show for that action. Read it as stated.
A different Domain's data is missingA connection reaches only its one Domain — add a separate connection for the other Domain.

Quick reference ​

ItemValue
Connection URL<your-vibedata-url>/api/mcp/v1/d/<domain-id> (one per Domain, copy from the Domain's Resources)
Sign-inOnce per connection, through your Vibedata instance
ScopeOne Domain; never more than you can see or do
Tools<slug>_ followed by the tool name, such as list_intents or create_intent
OAuth clientCreated once by a Vibedata Owner in Org settings → OAuth clients; ID + secret shared
Cut off a clientA Vibedata Owner rotates or deletes it in Org settings → OAuth clients