mcp-preview 0.2.4

MCP Apps Preview Server - Browser-based UI testing for MCP widgets
Documentation
1
2
3
4
5
6
7
8
//! Main page handler

use axum::response::Html;

/// Serve the main preview page
pub async fn index() -> Html<&'static str> {
    Html(include_str!("../../assets/index.html"))
}