Dreamlit

ai.dreamlitPublished by dreamlit.aiOfficial publisherv0.1.0Updated Nov 23, 2026

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

Overview

AI-generated overview

Dreamlit MCP lets an AI assistant create, inspect, test, publish and unpublish Dreamlit notification workflows for Supabase and Postgres apps, and query their…

What you can do
  • Check database compatibility and read workspace, project and setup context
  • List projects, workflows and saved brand styles, and inspect a workflow draft with its preview URL
  • Create or update workflow drafts from outcome-oriented prompts, apply exact step edits, rename workflows and move them into folders
  • Send a test email or Slack message from a draft, then validate and publish or schedule it, or unpublish it
  • Query notification analytics such as sends, deliveries, opens, clicks and bounces, and request lifecycle reports and recommendations
When to use it
Use it when you want an AI client to help build lifecycle or notification emails and Slack alerts for a Postgres or Supabase app, review them through Dreamlit previews, and publish them after explicit confirmation. Also useful for bounded questions about notification performance.
Requirements
A remote Streamable HTTP endpoint; no local package. OAuth sign-in through the client, with a Dreamlit account and workspace selection, or a project-scoped personal access token for clients without OAuth. Scopes such as workflows:read, workflows:write, workflows:publish and analytics:read. Connecting a database and verifying a sender domain happen through Dreamlit.
Before you install
Many tools write or send: publishing installs live triggers and may send broadcasts, tests send real messages, and connecting a database installs Dreamlit's schema and triggers in it. Publishing should follow explicit user confirmation. Access is scoped to a workspace or project, so request least privilege. Do not paste secrets or credentials into prompts.

How AI overviews are written and checked

Installation

In SourceWeft

  1. Open Dreamlit in the dashboard and add it to a workspace.
  2. Enable the server for the chats that should use its tools.

Web executable via Streamable HTTP. Remote servers run from the web runtime once configured in a workspace.

Use with an agent

Paste this prompt into Claude Code, Codex, Cursor or another agent — or into SourceWeft chat. The agent reads this server's install guide, shows you its publisher, endpoint and sign-in, and adds it to your client once you agree. Keys never go into a command.

Read https://sourceweft.com/mcp/ai.dreamlit%2Fmcp/install.md and connect the MCP server it describes to my client. Before changing any config, show me its publisher, endpoint and sign-in method and wait for my OK. Never put an API key in a command or in a file I would commit; ask me where it should come from.

Read the install guide the agent follows

Other MCP clients

Add this to your client's mcpServers config.

{
  "mcpServers": {
    "dreamlit": {
      "type": "http",
      "url": "https://mcp.dreamlit.ai/mcp"
    }
  }
}

README

Dreamlit MCP

Dreamlit MCP lets AI clients create, inspect, test, publish, unpublish, analyze, and style Dreamlit notification workflows.

Dreamlit is a database-driven notification workflow platform for Supabase and Postgres apps. Use this MCP server when you want an AI client to help build notification workflows from outcome-oriented prompts, review and publish them through Dreamlit, or answer bounded analytics questions about notification performance.

Server

  • Production MCP URL: https://mcp.dreamlit.ai/mcp
  • Transport: Streamable HTTP
  • Authentication: OAuth, with personal access token fallback for clients that do not support OAuth

This repository contains public setup docs and MCP registry metadata for Dreamlit's hosted remote MCP server. The production backend implementation is not open source.

Quick Start

Use your MCP client's remote server flow and enter:

https://mcp.dreamlit.ai/mcp

The client should open a Dreamlit authorization page. Choose the workspace you want the AI client to access and approve the requested scopes.

Codex CLI

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

To request every supported v1 scope explicitly:

codex mcp login dreamlit --scopes workflows:read,workflows:write,workflows:publish,analytics:read

MCP Inspector

npx @modelcontextprotocol/inspector

Then choose Streamable HTTP and use:

https://mcp.dreamlit.ai/mcp

Tools

Dreamlit exposes product-level workflow and analytics tools, not low-level graph editing or database APIs.

ToolScopePurpose
get_statusworkflows:readGet Dreamlit guidance, workspace context, project setup, schema hints, workflow state, and app URLs.
list_projectsworkflows:readFind accessible Dreamlit projects in the approved workspace.
list_workflowsworkflows:readFind workflows in a project by name, description, trigger type, and pagination.
list_brand_kitsworkflows:readFind saved brand kit ids and style summaries with pagination before applying one to generated email drafts.
get_workflow_and_preview_urlworkflows:readInspect a workflow draft and get the Dreamlit preview or builder URL before editing or publishing.
get_analyticsanalytics:readQuery bounded notification analytics, recipient engagement, and workflow run data with filters and cursor pagination.
create_or_update_workflowworkflows:writeCreate a new workflow draft or update an existing draft from a natural-language prompt.
send_workflow_testworkflows:writeConfirm and send a draft email or Slack test without publishing the workflow.
prepare_publishworkflows:publishValidate a workflow before publishing and return confirmation fields.
confirm_publishworkflows:publishPublish or schedule a workflow after explicit user confirmation.
unpublish_workflowworkflows:publishDisable live triggers or schedules for a workflow.

Recommended Flow

  1. Call get_status first to understand the workspace, project setup, and prompting guidance.
  2. Use list_projects and list_workflows if the user names a project or workflow without IDs.
  3. Use list_brand_kits when the user wants a specific saved brand kit applied to generated email drafts.
  4. Use get_workflow_and_preview_url before editing an existing workflow.
  5. Use get_analytics for bounded analytics questions, filtering first and paginating with returned cursors for larger result sets.
  6. Use create_or_update_workflow to create or update a draft.
  7. Open the returned preview or builder URL and send workflow tests for important email or Slack messages.
  8. Publish only after explicit user confirmation, using prepare_publish followed by confirm_publish.

Drafts are not live after authoring. Publishing is always a separate explicit step.

Prompting Tips

Ask for the outcome, not a workflow graph. Good prompts include:

  • The event or schedule that should start the workflow.
  • The audience or recipient.
  • The message goal and tone.
  • The data needed for personalization.
  • Timing, timezone, and business rules.
  • Whether recipients should be able to unsubscribe.

Examples:

When a new organization row is inserted, send an internal Slack alert with the organization name, owner email, and plan.
Every Monday at 9 AM America/New_York, send admins a weekly usage digest summarizing active users, failed payments, and new signups.
Tomorrow at 10 AM, announce the launch to active users who opted into product updates. Include unsubscribe.

Access Model

OAuth access is scoped to the workspace selected during authorization. Personal access tokens are project scoped and can be created from Dreamlit project settings.

Available scopes:

  • workflows:read
  • workflows:write
  • workflows:publish
  • analytics:read

Use the least privilege that fits the client. Read-only workflow and brand-kit clients should request only workflows:read; analytics clients should request analytics:read.

Data Handling

Dreamlit MCP can access workflow metadata, saved brand kit summaries, connected project context, and bounded analytics results needed to perform the requested actions. It does not require clients to send database credentials through MCP.

Analytics access is structured and paginated. Use filters and cursors for larger result sets; CSV exports and bulk dumps are not exposed through MCP.

Do not paste secrets, raw credentials, or private tokens into prompts. Use Dreamlit's app settings for integrations and credentials.

Support

For support, contact [email protected].

Source: README.md at commit 829d855

Tools

24

check_compatibility

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,…

ParametershostdatabaserequiredframeworkcontactEmail

get_status

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…

ParametersprojectIdworkflowId

get_setup_status

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:…

ParametersprojectId

update_project

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…

ParametersnamebriefcontextprojectIdwebsiteUrlintendedUseCasecompanyDescription

get_app_context_request

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…

ParametersprojectId

share_app_context

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…

ParameterscountsschemaprojectIdonboardingSummaryrequired

get_database_role_setup

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…

ParametersprojectIddatabaseNamerequiredtableOwnerRolerequired

connect_database

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;…

ParametersprojectIdconnectionString

configure_sender_domain

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.

ParametersdomainrequiredprojectId

create_or_update_workflow

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. Broadcasts that are scheduled, sent,…

ParametersnamepromptrequiredprojectIdworkflowIdstartNewChatuserCurrentTimeIsouserCurrentTimeZoneIduserEmailStepComments

edit_workflow_steps

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…

ParameterseditsrequiredworkflowIdrequired

rename_workflow

Rename workflow

Use when the user asks to rename an existing Dreamlit workflow. Side effect: changes only the workflow name; the draft, published version, and live triggers are unchanged. Returns the updated name and app URLs. Do not use to edit workflow content or to name a new workflow; pass name to create_or_update_workflow instead.

ParametersnamerequiredworkflowIdrequired

move_workflow_to_folder

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…

ParametersfolderrequiredworkflowIdrequired

list_projects

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.

Parameterslimitsearch

list_workflows

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,…

ParameterslimitoffsetsearchprojectIdtriggerFilters

list_brand_styles

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.

ParameterslimitoffsetprojectId

get_workflow_and_preview_url

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, cancelled, or failed), the run's scheduledFor, and cancelledAt or completedAt; this, not published…

ParametersworkflowIdrequiredincludeEmailHtml

get_analytics

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. Returns bounded structured analytics data, effective query metadata, pagination details when rows are included, and relevant app URLs. Use…

Parameterssortviewrequiredlimitrangecursorwindowchannelfilters+3 more

get_lifecycle_report

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…

ParametersrefreshprojectId

get_recommendations

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…

ParametersrefreshprojectId

send_workflow_test

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…

ParametersrowDataworkflowIdrequiredconfirmSendmessageTypetestTargetIdtestRecipientEmail

prepare_publish

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…

ParametersworkflowIdrequired

confirm_publish

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; sandbox mode can hold notifications for inspection. Returns the published workflow status and app URLs. Do not call speculatively or without…

ParametersworkflowIdrequiredisSandboxedexpectedUpdatedAtIsoexpectedEditableVersionIdexpectedPublishedVersionId

unpublish_workflow

Unpublish workflow

Use after explicit user intent to unpublish a Dreamlit workflow. Side effect: disables live triggers or schedules so no new runs start. 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…

ParametersworkflowIdrequiredinProgressRuns

Version history

1
  1. v0.1.0LatestSep 16, 2026

Score

90% of the applicable checks met

How complete this listing is, computed from the registry entry, the endpoint and public sources. Not a rating of the server and not a statement that it is safe or working today: reachability is a dated check, and no installs or reviews go into the score.

  • Reached in the last 30 daysRequired25 pts
  • Auth declaredRequired10 pts
  • Tools listedRequired15 pts
  • DescriptionRequired15 pts
  • Logo10 pts
  • Documentation15 pts
  • License10 pts

    Declare a license in the repository or the registry entry.

How this score is calculated