Dreamlit

ai.dreamlit由 dreamlit.ai 发布官方发布者v0.1.0更新于 Nov 23, 2026

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

已验证Streamable HTTP可网页运行效率与工作流沟通与协作数据与分析

概览

AI 生成的概览

Dreamlit MCP 让 AI 助手为 Supabase 和 Postgres 应用创建、查看、测试、发布和取消发布 Dreamlit 通知工作流,并查询其分析数据。

可以做什么
  • 检查数据库兼容性,读取工作区、项目与设置上下文
  • 列出项目、工作流和已保存的品牌样式,并查看工作流草稿及其预览链接
  • 根据结果导向的提示创建或更新工作流草稿,精确修改步骤、重命名工作流并移动到文件夹
  • 从草稿发送测试邮件或 Slack 消息,然后校验并发布或定时发布,或取消发布
  • 查询发送、送达、打开、点击和退信等通知分析数据,并请求生命周期报告和建议
适用场景
当你希望 AI 客户端为 Postgres 或 Supabase 应用搭建生命周期邮件和 Slack 提醒、通过 Dreamlit 预览审阅并在明确确认后发布时使用。也适合回答范围有限的通知效果问题。
运行要求
远程 Streamable HTTP 端点,无需本地安装包。通过客户端进行 OAuth 登录,需要 Dreamlit 账号并选择工作区;不支持 OAuth 的客户端可用项目级个人访问令牌。需要 workflows:read、workflows:write、workflows:publish、analytics:read 等权限范围。连接数据库和验证发件域名在 Dreamlit 中完成。
安装前请注意
多个工具会写入或发送:发布会安装实时触发器并可能发送群发,测试会发出真实消息,连接数据库会在其中安装 Dreamlit 的表结构和触发器。发布应经用户明确确认。访问权限限定在工作区或项目,应按最小权限申请。不要在提示中粘贴密钥或凭据。

AI 概览如何生成和校验

安装

在 SourceWeft 中

  1. 打开 控制台中的 Dreamlit,将其添加到工作区。
  2. 为需要使用其工具的对话启用该服务。

Web executable,通过 Streamable HTTP。 远程服务在工作区中配置后即可从网页运行时运行。

交给智能体安装

把这段提示词粘贴到 Claude Code、Codex、Cursor 等智能体,或 SourceWeft 对话中。智能体会读取该服务器的安装指南,先向你展示发布者、端点和登录方式,经你同意后再把它添加到你的客户端。密钥不会写进任何命令。

阅读 https://sourceweft.com/mcp/ai.dreamlit%2Fmcp/install.md,并按其中说明把这个 MCP 服务器接入我的客户端。修改任何配置之前,先告诉我它的发布者、端点和登录方式,等我确认。不要把 API 密钥写进命令或我会提交的文件;问我密钥应从哪里获取。

查看智能体所依据的安装指南

其他 MCP 客户端

把它添加到你客户端的 mcpServers 配置中。

{
  "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].

来源:README.md,提交 829d855

工具

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

输入参数hostdatabase必填frameworkcontactEmail

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…

输入参数projectIdworkflowId

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

输入参数projectId

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…

输入参数namebriefcontextprojectIdwebsiteUrlintendedUseCasecompanyDescription

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…

输入参数projectId

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…

输入参数countsschemaprojectIdonboardingSummary必填

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…

输入参数projectIddatabaseName必填tableOwnerRole必填

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

输入参数projectIdconnectionString

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.

输入参数domain必填projectId

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

输入参数nameprompt必填projectIdworkflowIdstartNewChatuserCurrentTimeIsouserCurrentTimeZoneIduserEmailStepComments

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…

输入参数edits必填workflowId必填

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.

输入参数name必填workflowId必填

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…

输入参数folder必填workflowId必填

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.

输入参数limitsearch

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

输入参数limitoffsetsearchprojectIdtriggerFilters

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.

输入参数limitoffsetprojectId

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…

输入参数workflowId必填includeEmailHtml

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…

输入参数sortview必填limitrangecursorwindowchannelfilters另有 3 个

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…

输入参数refreshprojectId

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…

输入参数refreshprojectId

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…

输入参数rowDataworkflowId必填confirmSendmessageTypetestTargetIdtestRecipientEmail

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…

输入参数workflowId必填

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…

输入参数workflowId必填isSandboxedexpectedUpdatedAtIsoexpectedEditableVersionIdexpectedPublishedVersionId

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…

输入参数workflowId必填inProgressRuns

版本历史

1
  1. v0.1.0最新Sep 16, 2026

评分

已满足适用检查项的 90%

该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。

  • 近 30 天内可连通必需25 分
  • 已声明认证方式必需10 分
  • 已列出工具必需15 分
  • 描述必需15 分
  • 图标10 分
  • 文档15 分
  • 许可证10 分

    请在仓库或注册中心条目中声明许可证。

这个评分如何计算