Dreamlit

ai.dreamlitv0.1.0更新于 Sep 29, 2026

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

已验证Streamable HTTP可网页运行AI & ML

安装

在 SourceWeft 中

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

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

其他 MCP 客户端

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

{
  "mcpServers": {
    "mcp": {
      "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:

text
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

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

To request every supported v1 scope explicitly:

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

MCP Inspector

sh
npx @modelcontextprotocol/inspector

Then choose Streamable HTTP and use:

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

text
When a new organization row is inserted, send an internal Slack alert with the organization name, owner email, and plan.
text
Every Monday at 9 AM America/New_York, send admins a weekly usage digest summarizing active users, failed payments, and new signups.
text
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

工具

0
工具元数据尚未被收录。

版本历史

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