Integrate excalidraw-mcp as a first-class diagramming feature

Abierto
#11 0 comentarios 0 reacciones 0 asignados Ver en GitHub

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
3/5
Tiempo estimado
1-2 días
Aptitud para principiantes
48/100
Tipo de issue
Nueva funcionalidad
Claridad
Bastante claro
Estado de actividad
Estancado
Stack tecnológico
typescript

Línea de trabajo

Start with apps/app/src/app/api/copilotkit/route.ts:24-29 and inspect use-example-suggestions.tsx, then review the README. Done means the MCP server uses the descriptive ID, diagramming suggestions are visible, and the README explains the Excalidraw integration and its capabilities; local development support is optional.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

enhancement

Summary

Deepen the integration with excalidraw-mcp beyond the current minimal config (a single remote URL in route.ts). The goal is to make diagram generation a showcase feature of this template — on par with the todo list — so developers see how MCP Apps work with CopilotKit's agent state pattern.

Current State

The runtime already points to https://mcp.excalidraw.com as a default MCP server (apps/app/src/app/api/copilotkit/route.ts:24-29), but:

  • There's no UI affordance showing users they can ask the agent to draw diagrams
  • No example prompts or suggestions mention diagramming
  • The serverId is a generic "example_mcp_app" rather than something descriptive
  • No documentation on what the Excalidraw MCP integration enables

Proposed Changes

  1. Rename the MCP server ID from "example_mcp_app" to "excalidraw" for clarity
  2. Add diagramming-related chat suggestions in use-example-suggestions.tsx (e.g. "Draw an architecture diagram of this app", "Sketch out a flowchart for the todo lifecycle")
  3. Add a section to the README explaining the Excalidraw MCP integration and what users can do with it
  4. Optional: local dev support — add instructions or a script for running excalidraw-mcp locally via npx or Docker, so the demo works offline / without the hosted endpoint

Why

This repo is a template for developers evaluating CopilotKit. Showing MCP Apps integration with a compelling visual tool like Excalidraw makes the demo significantly more impressive and helps developers understand the MCP Apps pattern.

References

Lenguaje dominante
TypeScript
Estrellas
1.6k
Forks
202
Métricas de merge de PR
Sin PR fusionados en 30 d

Guía de contribución

Abrir la guía de contribución

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de CopilotKit/OpenGenerativeUI

Todos los issues de CopilotKit/OpenGenerativeUI

Issues similares

Más issues de TypeScript

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.