MCP Hub
Back to servers

Pane

Pane provides a visual communication layer for AI agents, allowing them to render diagrams, interactive forms, and maintain persistent state via a web interface.

Stars
6
Tools
10
Updated
Dec 27, 2025
Validated
Jan 28, 2026

Pane

A visual communication channel for AI agents. Instead of text-only responses, agents can show diagrams, request structured input, and maintain visual state throughout your conversation.

Demo

Getting Started

Requires Bun (for TypeScript execution)

Claude Code (30 seconds)

claude mcp add pane -- bunx @zabaca/pane

Cursor

Add to your Cursor MCP settings (~/.cursor/mcp.json or via Settings > MCP):

{
  "mcpServers": {
    "pane": {
      "command": "bunx",
      "args": ["--bun", "@zabaca/pane"]
    }
  }
}

Then restart Cursor.

Using Pane

Open http://localhost:3000 and ask your AI:

"respond using pane"

That's it!


Architecture

Claude Code <--stdio--> MCP Server <--WebSocket--> Vue Frontend
                            |
                        XState Machine
                        (holds state)

Features

  • Text & Markdown Display - Rich content with Mermaid diagram support
  • User Input Forms - Single and multi-field forms with various input types
  • Long-Polling - Auto-trigger when user submits (no manual Enter needed)
  • State Persistence - Full state restoration across MCP restarts
  • User Context - Persistent key-value storage across interactions

MCP Tools

ToolDescription
get_app_infoGet app info and capabilities
get_current_stateGet current state, text, and available actions
execute_actionExecute actions (set_text, set_markdown, clear, undo, reset)
show_input_formDisplay single-field input form
show_multi_formDisplay multi-field form
get_user_inputLong-poll for user input (blocks until submitted)
get_user_contextGet persistent user context values
set_user_contextSet a user context value
clear_user_contextClear all user context
upload_imageUpload image (path or base64) for use in markdown

Development

MCP Server

cd mcp-server
bun run dev

Frontend

cd frontend
bun run dev

License

MIT

Reviews

No reviews yet

Sign in to write a review