MCP Catalogs
HomePyWry screenshot

PyWry

by deeleeramone·81·Score 46

PyWry is a cross-platform rendering engine that provides MCP server tools for creating interactive widgets and dashboards.

ai-llmdeveloper-toolsproductivity
5
Forks
1
Open issues
this month
Last commit
2d ago
Indexed

Overview

PyWry is a Python-based UI toolkit that enables developers to create native desktop apps, Jupyter widgets, and web applications from a single API. It features comprehensive MCP server functionality with tools for creating interactive widgets, displaying data visualizations, integrating chat interfaces, and building TradingView-style charts. The MCP server exposes tools like create_widget, show_plotly, show_dataframe, and create_chat_widget, delivering HTML artifacts via the Model Context Protocol.

Try asking AI

After installing, here are 5 things you can ask your AI assistant:

you:Create data visualization dashboards in AI workflows and share them as HTML artifacts
you:Build interactive chat interfaces with AI agents using multiple LLM providers
you:Generate responsive UI prototypes that can be deployed as desktop apps or web services
you:What output formats does PyWry support?
you:How do the MCP server tools work?

When to choose this

Choose PyWry when you need to build interactive UI components for AI applications and want to deploy them across desktop, web, and notebook environments with minimal code changes.

When NOT to choose this

Don't choose PyWry if you need complex form controls beyond basic UI elements, or if you require extensive native OS integration that webview cannot provide.

Tools this server exposes

6 tools extracted from the README
  • create_widget

    Create a custom widget with HTML content and toolbar components

  • show_plotly

    Display a Plotly chart as an interactive widget

  • show_dataframe

    Render a pandas DataFrame in an interactive AgGrid widget

  • show_tvchart

    Display an interactive TradingView chart with technical analysis tools

  • create_chat_widget

    Create a streaming chat widget with threads and artifacts

  • get_widget_app

    Get an updated snapshot of an existing widget

Comparable tools

streamlitdashpanelnicegui

Installation

Install PyWry with MCP support:

pip install 'pywry[mcp]'

Start the MCP server:

pywry mcp --transport stdio

For Claude Desktop, add to config.json:

{
  "mcpServers": {
    "pywry": {
      "command": "pywry",
      "args": ["mcp", "--transport", "stdio"]
    }
  }
}

FAQ

What output formats does PyWry support?
PyWry supports three output targets: native desktop windows via OS webview, Jupyter widgets for notebook environments, and browser tabs as web applications.
How do the MCP server tools work?
Widget-creating tools return an AppArtifact - a self-contained HTML snapshot delivered as an MCP EmbeddedResource with mimeType text/html. Each render bumps a widget revision, keeping a live WebSocket bridge to Python for the latest version.

Compare PyWry with

GitHub →

Last updated · Auto-generated from public README + GitHub signals.