# Dreamlit [Health: Active]

**Category:** 💬 Communication  
**Repository:** https://github.com/dreamlit-ai/dreamlit-mcp  
**GitHub Stars:** 0  
**Views:** 0  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/dreamlit

## Description
Create, test, publish, and manage Dreamlit notification workflows from AI clients.

## Tools
Capabilities this server exposes over MCP:

- **check_compatibility** — Read-only, unless contactEmail is given (side effect: saves the email so Dreamlit can tell them when their database works). Works without signing in. Use before setting up Dreamlit when you're not sure the app's database fits: pass the database engine (and host if known) read from the repo. Returns verdict compatible, not_yet or unknown, with the reason and what would have to change. On not_yet, tell the user why; if they want to hear when it works, ask for their email and call again with contactEmail. Do not send connection strings or other secrets.
- **get_status** — Read-only. Works before sign-in: then it says the user isn't signed in and how to sign in. Use first when the agent needs Dreamlit product guidance, prompting guidance, approved workspace context, project setup, schema hints, workflow state, or relevant app URLs. Returns a compact context pack with concepts, recommended tool flow, actor/workspace/project data, optional authoring context, optional workflow context, and appUrls. Workflow summaries include liveStatus, and broadcasts include an authoritative broadcast.state. Database tables that Dreamlit can see but not read rows from (row level security with no policy for Dreamlit) carry a warning and fixSql; run fixSql, or ask the user to run it, in the Supabase SQL editor. If Dreamlit couldn't read a connection's tables, that connection has tablesError instead of an empty list meaning no tables. Do not use this to create, update, publish, or unpublish workflows.
- **get_setup_status** — Read-only. Use for a new user or a project that hasn't finished setup. Setup ends when the trial (if needed), app context, product goals and database are ready; building a workflow is a later offer. Returns each setup step with its status, the next required step, whether that step needs the person, the single agent setup page link (the database step asks them to connect there), and contextBrief: questions about the project still open, with where to look for each answer. Call again after the person finishes a step. Do not use for workflow authoring context; use get_status for that.
- **update_project** — Side effect: saves project details. Use right after sign-in, filling in what you already know from the repo (or, when the repo has a recent lifecycle-email-audit/context.json, sending its update_project object): app name, what the product does, which emails it should send, website, and stack. Also answer the brief (goal, what's happening now, who counts, other senders) from the repo, schema and your other tools, marking each answer inferred or confirmed. Check gitignored env files such as .env and .env.local too (git ls-files doesn't list them), but never send their values. Tell the user what you shared and what you assumed. Returns the saved details, answers kept because the person already confirmed them, the questions still open, and the next setup step. Do not send secrets, credentials, customer rows, or end-user data.
- **get_app_context_request** — Read-only. Use after sign-in and update_project, before share_app_context. Skip it when you sent share_app_context from a recent lifecycle-email-audit/context.json. Returns what Dreamlit needs to understand the app before its database is connected: one read-only schema query to run yourself (a Supabase or Neon MCP server's SQL tool, or psql -At), how to find the database with the app's real users, where to find the schema in code when you can't reach it, the onboarding questions to answer from the repo, and a count-query pattern. Use connection strings locally and never send them. Does not connect to or read the user's database.
- **share_app_context** — Side effect: saves the app's schema and a summary of how its onboarding works on the project. Use after get_app_context_request, with the schema query's JSON as catalog (or tables you read from code) and the onboarding summary. Works without a connected database, and without a schema. Returns what was stored, summary fields still missing, whether the schema was trimmed to fit, and the next setup step with its setup page link (ask the person to connect the database there), or a completion offer if a database was connected first. Do not send rows, connection strings, email addresses or other personal data; send column names, types and counts only.
- **get_database_role_setup** — Read-only. Use after the user agrees to database login setup. Returns transactional SQL from Dreamlit's shared role builder for a separate dreamlit_app login, with a password placeholder, grants summary, removal link and local setup instructions. For Postgres that isn't Supabase, including Neon, RDS, Railway and Render. Supabase apps use browser Supabase sign-in instead. Does not connect, run SQL or receive passwords. Lead with the setup page returned by get_setup_status: explain how Dreamlit uses the database, ask the person to connect there, and check get_setup_status when they say it is done. Optionally offer: "If you'd rather, I can connect it from here." Only if the person asks you to connect it does the following path apply. Before setting up a database login or calling connect_database, tell the user in a line or two, in plain words, how Dreamlit uses the database (Dreamlit works straight from the app's database, so it stays the source of truth: no syncing data to another tool and no tracking events to add. It reads the tables to know who should get each email and to fill it in with their real details, reacts as things change in the app (a new signup, an upgrade, a cancelled plan), and never changes the app's data. Nothing reaches users until they approve an email.) Then ask if you may set this up, in your own plain words. For Supabase (a supabase.co or pooler.supabase.com host, a Supabase MCP server or CLI, or an audit database note identifying Supabase), say: "To connect, you'll sign in to Supabase in your browser and pick this project. Dreamlit then sets up its own login that can read your tables but can't change your data. Want the link?" End your message with that question and wait for a yes in a later message, never in the same turn you ask. After that yes, call connect_database without a connection string and give the person the link; when they say it's done, call get_setup_status. Do not run get_database_role_setup or build or pass a Supabase connection string. Supabase sign-in is the supported path: it lets Dreamlit read auth.users and run Supabase Auth workflows. For Postgres that isn't Supabase (including Neon, RDS, Railway and Render), ask: "To connect, I'll create a separate database login for Dreamlit that can read your tables but can't change your data, and give Dreamlit only that login. Your own database password stays on this machine. OK to set that up on <host> / <database>?" End your message with that question and wait; create the login and connect only after they say yes in a later message, never in the same turn you ask. After that yes: get_database_role_setup → run its SQL locally → connect_database with the dreamlit_app connection string → get_setup_status. Get the table-owner role from SELECT current_user or the table owner. Generate a letters-and-digits password locally (for example openssl rand -hex 24), substitute [[REPLACE_WITH_PASSWORD]] locally, and run the transactional script with psql or your database MCP SQL tool using the access you already have. Build the limited connection string locally with username dreamlit_app and the same host, port and database. Never print the password or either connection string, or send the owner password to Dreamlit. If you can't run SQL, the host refuses CREATE ROLE, or the person declines the script, explain that in one line and offer either connecting with the app's own login after a second explicit yes or connect_database without a string for the browser link; never fall back silently. If connect_database returns usesLimitedRole=false, tell the person plainly: "Dreamlit is connected with your app's own database login." If its result includes a Supabase sign-in notice, relay it.
- **connect_database** — Side effect: connects the project to the user's Postgres or Supabase database and installs Dreamlit's schema and triggers in it. Use only when the person asks you to connect the database; normally get_setup_status directs them to connect on the setup page. Connect the database that holds the app's real users. Only after the user said yes in reply to the appropriate database consent question; never in the same turn you ask. Without a connection string, returns a link the user opens to connect in the browser (for Supabase, by signing in; no string needed). A database on the user's computer or private network can't be reached. Returns the connection status, usesLimitedRole (from the username), and the next setup step. Does not read or change the user's app data. Lead with the setup page returned by get_setup_status: explain how Dreamlit uses the database, ask the person to connect there, and check get_setup_status when they say it is done. Optionally offer: "If you'd rather, I can connect it from here." Only if the person asks you to connect it does the following path apply. Before setting up a database login or calling connect_database, tell the user in a line or two, in plain words, how Dreamlit uses the database (Dreamlit works straight from the app's database, so it stays the source of truth: no syncing data to another tool and no tracking events to add. It reads the tables to know who should get each email and to fill it in with their real details, reacts as things change in the app (a new signup, an upgrade, a cancelled plan), and never changes the app's data. Nothing reaches users until they approve an email.) Then ask if you may set this up, in your own plain words. For Supabase (a supabase.co or pooler.supabase.com host, a Supabase MCP server or CLI, or an audit database note identifying Supabase), say: "To connect, you'll sign in to Supabase in your browser and pick this project. Dreamlit then sets up its own login that can read your tables but can't change your data. Want the link?" End your message with that question and wait for a yes in a later message, never in the same turn you ask. After that yes, call connect_database without a connection string and give the person the link; when they say it's done, call get_setup_status. Do not run get_database_role_setup or build or pass a Supabase connection string. Supabase sign-in is the supported path: it lets Dreamlit read auth.users and run Supabase Auth workflows. For Postgres that isn't Supabase (including Neon, RDS, Railway and Render), ask: "To connect, I'll create a separate database login for Dreamlit that can read your tables but can't change your data, and give Dreamlit only that login. Your own database password stays on this machine. OK to set that up on <host> / <database>?" End your message with that question and wait; create the login and connect only after they say yes in a later message, never in the same turn you ask. After that yes: get_database_role_setup → run its SQL locally → connect_database with the dreamlit_app connection string → get_setup_status. Get the table-owner role from SELECT current_user or the table owner. Generate a letters-and-digits password locally (for example openssl rand -hex 24), substitute [[REPLACE_WITH_PASSWORD]] locally, and run the transactional script with psql or your database MCP SQL tool using the access you already have. Build the limited connection string locally with username dreamlit_app and the same host, port and database. Never print the password or either connection string, or send the owner password to Dreamlit. If you can't run SQL, the host refuses CREATE ROLE, or the person declines the script, explain that in one line and offer either connecting with the app's own login after a second explicit yes or connect_database without a string for the browser link; never fall back silently. If connect_database returns usesLimitedRole=false, tell the person plainly: "Dreamlit is connected with your app's own database login." If its result includes a Supabase sign-in notice, relay it.
- **configure_sender_domain** — Side effect: registers the domain Dreamlit emails will come from. Use when the user wants emails from their own domain instead of Dreamlit's shared address. Starts verification. Returns the DNS records to add and a settings link with one-click DNS setup; if you have a DNS tool, you can add them yourself after the user agrees. Does not change DNS by itself.
- **create_or_update_workflow** — Creates a new Dreamlit workflow draft or updates an existing draft from an outcome-oriented natural-language prompt. Use after get_status; use get_workflow_and_preview_url first when editing an existing workflow, then describe the steps to change by what they do, not by step id. Each call continues the workflow's current chat; pass startNewChat to start fresh. To copy a workflow, pass duplicateFromWorkflowId: with no prompt the copy is instant and uses no AI, with a prompt Dreamlit copies first and then applies the changes to the copy; the copy is always an unpublished draft. Broadcasts that are scheduled, sent, or cancelled can't be edited; duplicate them with duplicateFromWorkflowId instead. Existing Supabase Auth workflows can be edited except for the immutable trigger step; creating Supabase Auth workflows must happen through Supabase Auth email setup in the Dreamlit web app. Side effect: may create or modify a draft, but does not publish or install live triggers. Returns the workflow/draft result, action-required or handoff details when more input is needed, and relevant app URLs. For a broadcast or scheduled email to a group, when the project's segments or current moment haven't been answered yet, the draft is saved and the result is clarification_required (kind project_context): look the answers up, save them with update_project, then call again to adjust the draft. On success, changes lists each step the call added, updated (with the fields that changed), or removed, read from the saved draft, and warnings names any planned change that saved nothing; trust changes over assistantResponse, which is Dreamlit's plan in its own words. Do not use for publishing, direct database changes, or low-level graph edits.
- **edit_workflow_steps** — Applies up to 5 exact edits to existing steps in a workflow draft, instantly and without AI: email subject, preview text, HTML, sender, reply-to, and recipient; Slack message; query SQL; wait rule; and step description. Use when you know the exact new value; call get_workflow_and_preview_url first for step ids and current values, with includeEmailHtml to edit HTML. Edits are checked against the draft as it will be once they are all saved: templates and waits may only use fields their step gets, and query edits are rejected if later steps still use fields the new query no longer returns. Each edit applies on its own, except that a SQL edit and the edits below it apply together or not at all. The edits show in the workflow's Dreamlit chat. Side effect: changes the draft only; does not publish. Returns each edit's status with an error code and message for failed edits, and app URLs. Do not use to add, remove, or move steps, edit triggers, or make changes that need writing or judgment; use create_or_update_workflow for those.
- **rename_workflow** — Use when the user asks to rename an existing Dreamlit workflow, or to bring its description up to date after edit_workflow_steps changed what it does. Pass name, description, or both. Side effect: changes only the workflow name and description; the draft, published version, and live triggers are unchanged. Returns the updated name, description and app URLs. Do not use to edit workflow content or to name a new workflow; pass name to create_or_update_workflow instead.
- **move_workflow_to_folder** — Use when the user asks to put a workflow or broadcast in a folder, move it to another folder, or take it out of a folder. Folders are per list: the Published and Drafts lists on the Workflows page and the Sent and Drafts lists on the Broadcasts page each have their own folders, and this moves the workflow within the list it shows in now. Folders are flat; a "/" is just part of the name. A draft's folder does not carry over when it is published. Side effect: may create the folder; never deletes folders and does not change the draft, published version, or live triggers. Returns the folder, the list, and app URLs. Do not use to rename or delete folders.
- **list_projects** — Read-only. Use when the target project is unknown or the user names a project instead of providing an id. Returns accessible Dreamlit projects in the approved workspace with project and workflow-list URLs. Do not use to inspect workflow structure or author changes.
- **list_workflows** — Read-only. Use to find workflows in a project by name, description, or trigger type before inspection or editing. Trigger filters include database, auth email, repeating, broadcast, and no-trigger workflows. Returns paginated workflow summaries, published/sandbox state, liveStatus, trigger type, folder (the folder name in the list the workflow shows in, or null), workflow URLs, totalCount, hasMore, and nextOffset. Broadcasts also include a broadcast object with state (draft, scheduled, sending, sent, held, cancelled, or failed), scheduledFor, cancelledAt or completedAt, and heldEmailCount (held means the send finished in sandbox mode and its emails are waiting for release, not sent); for broadcasts, broadcast.state and liveStatus are authoritative over published, because a cancelled broadcast stays published but will not send. Do not use as the final source of truth before editing; call get_workflow_and_preview_url for full structure.
- **list_brand_styles** — Read-only. Use when the user wants to inspect saved project brand styles for generated email drafts. Returns paginated project brand style summaries, ids, default status, style metadata, and app URLs. Do not use to create, update, delete, or expose raw style provenance.
- **get_workflow_and_preview_url** — Read-only. Use before editing, verifying, or preparing publish for an existing workflow. Returns normalized draft and published workflow structure, liveStatus, the Dreamlit preview/builder URL, and status URLs. Broadcasts also include a broadcast object with state (draft, scheduled, sending, sent, held, cancelled, or failed), the run's scheduledFor, cancelledAt or completedAt, and heldEmailCount (held means the send finished in sandbox mode and its emails are waiting for release, not sent); this, not published or the trigger's sendAt, says whether the broadcast will send. Email HTML bodies are left out unless includeEmailHtml is true. Pass step ids only to edit_workflow_steps; when asking create_or_update_workflow for changes, describe steps by what they do. Do not use to create, update, publish, or unpublish workflows.
- **get_analytics** — Read-only. Use get_analytics to query raw notification analytics: email and Slack sends and deliveries, email opens, clicks and bounces, overview metrics, per-recipient rows and workflow run rows, with filters, sorting, and cursor pagination. View breakdown with groupBy compares workflows, emails, or links in one call over a bounded window. Returns bounded structured analytics data, effective query metadata, pagination details when rows are included, and relevant app URLs. Use get_lifecycle_report or get_recommendations for Dreamlit's prepared analysis. Does not provide Dreamlit's lifecycle judgments or prioritized recommendations. To see why a run failed, use get_workflow_runs. Do not use for CSV exports, bulk dumps, workflow edits, publishing, or low-level database access.
- **get_workflow_runs** — Read-only. Use to see what a workflow did and why a run failed. Returns a page of runs with the same filters and rows as the workflow_runs view of get_analytics, with cursor pagination. With workflowRunId, returns that run's steps in order instead: each step's type, status, failure reason, notification counts, and its input and output data, capped in size and marked when truncated or expired, plus failure, which names the first failed step. Step data can contain rows from the user's database. Do not use for email delivery or engagement numbers; use get_analytics for those.
- **get_lifecycle_report** — Side effect: creates a preparation request when no report is ready or refresh is true and the latest report became ready more than 24 hours ago; repeat calls reuse an open request. Pass refresh: true only when the user asks for a new report; when checking on a pending report, call without refresh. Use for Dreamlit's prepared lifecycle analysis: key metrics worth tracking, the signup-to-paid funnel and where users drop off, deliverability health, and which stages (welcome, onboarding, engagement, retention, winback) have no emails yet. Available on Pro and Scale plans only. Reports are prepared by Dreamlit's agents and reviewed by our team. Returns a ready report or a processing state while Dreamlit prepares it; check back later. The requester is also emailed when ready. Does not return raw notification analytics; use get_analytics for that.
- **get_recommendations** — Side effect: creates a preparation request when no report is ready or refresh is true and the latest report became ready more than 24 hours ago; repeat calls reuse an open request. Pass refresh: true only when the user asks for a new report; when checking on a pending report, call without refresh. Use for Dreamlit's prioritized recommendations on which emails or workflows to add and what to fix or change in existing ones. Available on Pro and Scale plans only. Reports are prepared by Dreamlit's agents and reviewed by our team. Returns a ready report or a processing state while Dreamlit prepares it; check back later. The requester is also emailed when ready. Does not return raw notification analytics; use get_analytics for that.
- **send_workflow_test** — Side effect when confirmSend is true: sends one current draft email or Slack message for review, but does not publish, schedule, or edit the workflow. Use after authoring or inspection when the user wants to verify an important message before publishing. Returns sent-test details, app URLs, a confirmation request, or a clarification request with user-facing message choices. If the test has no data because row level security hides a source table's rows from Dreamlit, returns error code table_rows_hidden_by_rls with unreadableTables[].fixSql to run, or ask the user to run, in the Supabase SQL editor. Do not expose test target ids as copy; ask users to choose by message label and confirm before sending.
- **prepare_publish** — Read-only validation step before publishing. Use after the user asks to publish and after inspecting the workflow if needed. Returns validation status, publish mode, preview URL, sender domain state and shared address allowance, and a confirmation payload with version/timestamp safety checks for confirm_publish. A broadcast exceeding the remaining shared address allowance returns shared_sender_limit and an addDomain link; offer configure_sender_domain or a narrower audience. If there is no domain, offer their domain or the shared address with its returned daily or monthly limit once before first publish. Before the project's first publish, returns clarification_required (kind project_context) once if nobody has said whether anything else emails these people: look it up, save it with update_project, then call again. Does not publish or schedule anything by itself.
- **confirm_publish** — Use only after explicit user confirmation and a prior prepare_publish result to publish or schedule a Dreamlit workflow. Side effect: installs live database/repeating/auth triggers, schedules or sends broadcasts, and may enable notification delivery. With isSandboxed true, the workflow or broadcast runs but holds every notification until released with manage_held_emails; tell the user which mode was used. Returns the published workflow status, isSandboxed, and app URLs. Do not call speculatively or without carrying forward the prepare_publish safety fields, including isSandboxed.
- **unpublish_workflow** — Use after explicit user intent to unpublish a Dreamlit workflow, or to cancel a scheduled broadcast. Side effect: disables live triggers or schedules so no new runs start. For a broadcast, cancels the scheduled send; that is final, and a broadcast that already sent or was cancelled can't be unpublished (duplicate it to send again). Runs already in progress keep sending unless inProgressRuns is "stop". If the workflow has in-progress runs and inProgressRuns is omitted, returns clarification_required with the count and changes nothing: ask the user whether to stop those runs or let them finish, then call again with their choice. Returns updated workflow status, stopped run counts (allRunsStopped, remainingRunCount), and app URLs. If some runs could not be stopped, ask the user, then call again with inProgressRuns "stop": on an already-unpublished workflow it only stops the runs still in progress. Do not use for deleting drafts, stopping a single run of a non-broadcast workflow, or editing workflow content.
- **manage_held_emails** — Side effect when confirmed: releases or cancels the emails a sandboxed workflow or broadcast is holding (status releasable in get_analytics). Release sends real email to real recipients and can't be undone; cancel discards the held emails for good. Use after the user has inspected the held emails and explicitly asks to release or cancel them. Acts on every held email of the workflow or run, or narrow it with recipients (exact addresses, up to 500), emailStepId (one email step), or limit (the first N, oldest first); the filters combine, except recipients with limit. Call once without confirm: it returns confirmation_required with how many held emails the selection covers, a count per email step (with emailStepId and subject), addresses that matched nothing and why (for example sent, opted_out, suppressed, held_in_other_step, no_email), addresses that matched several emails, and the exact input to confirm with; it changes nothing. After the user confirms, call again with that input unchanged (confirm, heldBefore, approvalToken, and heldThroughId when present). A confirmed call only acts on emails the confirmation covered: a dropped or changed field is refused with confirmation_mismatch, emails held later are left alone and reported as heldLaterCount (with limit, matching emails outside the confirmed batch are reported as notInBatchCount), and emails that stopped being held (released, opted out, suppressed) are skipped. While an email step is still writing held emails, the first call returns held_emails_still_writing with retryAfterSeconds; wait and ask again (for a broadcast, until its state is held). Unsubscribes and suppressions are checked again when each email sends. Returns releasedCount or cancelledCount, failures with reasons, emails skipped because they have no valid recipient (cancel those), remainingCount still held in the approved selection, and totalHeldCount still held in the workflow or run; each call handles up to 500, so call again with the same input while remainingCount is above 0 and the last call released or cancelled some. To pace a release, confirm one selection per batch, for example 200 addresses now and the next 500 later. Does not take the workflow out of sandbox mode, so later runs keep holding emails. Does not list held emails one by one; use get_analytics view notifications with notificationStatuses releasable for that. Do not use to retry failed emails or to stop a workflow; use unpublish_workflow to stop one.
- **manage_unsubscribe_topics** — Side effect: creates, renames, archives, or deletes an email unsubscribe topic, the categories people can opt out of. Use when the user wants a new topic or wants to tidy existing ones; get_status lists the project's topics with id, name and archived state. Delete only works for a topic that was never used; otherwise archive it. Archiving keeps history and existing opt-outs, and is allowed while workflows still use the topic. Returns the topic and a summary. Do not use to list topics, to change which topic an email uses (use create_or_update_workflow), or to unsubscribe people.
- **list_suppressions** — Read-only. Use to see which email addresses the project never sends to, and why: MANUAL (added by a person or an agent), HARD_BOUNCE, COMPLAINT, or INVALID_EMAIL. Supports an email search, a reason filter, and pages. Returns suppression rows with email, reason and first and last seen times, plus totalCount, hasMore and nextPage. Do not use for unsubscribes from a topic or for delivery analytics; use get_analytics for those.
- **manage_suppressions** — Side effect: adds email addresses to the project's suppression list so Dreamlit never emails them, or removes manually added ones. Use add for addresses the user wants to stop emailing, such as a dead mailbox. Remove needs confirm: without it, returns confirmation_required with what would be removed and changes nothing. Only MANUAL suppressions can be removed here; bounce and complaint suppressions protect sender reputation and stay, with a link to review them in the Dreamlit web app. Returns counts of added, already suppressed, invalid, removed, protected and not found addresses. Do not use to unsubscribe someone from a single topic or to list suppressions; use list_suppressions to read the list.

## Claude Desktop Quick Installation
Remote MCP endpoint (confidence: high). Install path detected from listing signals. Add as a URL/SSE server in your client:

```json
"mcpServers": {
  "dreamlit": {
    "url": "https://mcp.dreamlit.ai/mcp"
  }
}
```

## Documentation

## What Dreamlit MCP server does

Dreamlit MCP server gives AI clients access to Dreamlit notification workflows for applications backed by Supabase or Postgres. It can help an agent understand project setup, connect a project to its application database, create workflow drafts, inspect workflow structure, test messages, publish or unpublish workflows, and review notification performance.

The server works at the product level rather than exposing a general-purpose database API or workflow graph editor. Workflow prompts describe the desired outcome, audience, trigger, message, personalization data, timing, and business rules. Dreamlit then creates or updates a draft that can be reviewed before it goes live.

## How it works

The hosted service is available over Streamable HTTP at `https://mcp.dreamlit.ai/mcp`. Clients authenticate with OAuth and select the Dreamlit workspace they should access. Personal access tokens are also supported for clients without OAuth support; these tokens are scoped to a project.

A typical flow starts with `get_status`, followed by project or workflow discovery when IDs are not known. Existing workflows should be inspected with `get_workflow_and_preview_url` before edits. New or revised drafts are created with `create_or_update_workflow`, while exact changes to existing step values can use `edit_workflow_steps`. Testing is separate from publishing. Publishing requires `prepare_publish` and then `confirm_publish` after explicit confirmation.

Dreamlit can use connected application database context to determine recipients and personalize notifications. It does not require database credentials to be sent through MCP. Database setup supports Supabase browser sign-in and separate read-limited PostgreSQL credentials for other supported PostgreSQL deployments.

## Setup and configuration

Add the hosted URL through the MCP client's remote-server configuration and complete the Dreamlit authorization flow. Codex CLI can register and authenticate the endpoint with:

```sh
codex mcp add dreamlit --url https://mcp.dreamlit.ai/mcp
codex mcp login dreamlit
```

MCP Inspector can be used by running `npx @modelcontextprotocol/inspector`, selecting Streamable HTTP, and entering the same endpoint.

Available authorization scopes are `workflows:read`, `workflows:write`, `workflows:publish`, and `analytics:read`. Request only the scopes needed by the client. No environment variables are required for the hosted service.

## Tools and capabilities

- Check database compatibility and inspect or complete project setup.
- Discover projects and workflows, including trigger types, folders, publication state, and broadcast state.
- Create or revise drafts from outcome-oriented natural-language instructions.
- Apply exact edits to email, Slack, SQL, wait, recipient, and description fields.
- Rename workflows, move them between folders, and inspect saved brand styles.
- Send one draft email or Slack message as a test without publishing.
- Validate, publish, schedule, or unpublish workflows with confirmation safeguards.
- Query bounded notification analytics, including sends, deliveries, opens, clicks, bounces, recipients, and workflow runs.
- Request prepared lifecycle reports and recommendations on supported plans.
- Configure a sender domain and receive the DNS records needed for verification.

## Limitations and notes

Draft authoring does not make a workflow live. Publishing can install triggers, schedule or send broadcasts, and enable delivery, so it requires an explicit confirmation step. Scheduled, sent, or cancelled broadcasts cannot be edited through the authoring tool; a duplicate must be created in the Dreamlit web app.

Analytics are structured, filtered, and paginated. The MCP interface does not provide CSV exports, bulk dumps, or low-level database access. Lifecycle reports and recommendations are available on Pro and Scale plans and may return a processing state while Dreamlit prepares them.

A database on a local computer or private network cannot be reached by the hosted service. Dreamlit reads connected application data for notification decisions and personalization but does not change the application's data. Row-level security can prevent access to tables or rows; setup and testing responses identify required SQL fixes when applicable.

_Full upstream README: https://allmcps.com/mcp/dreamlit/readme_

