Integrate excalidraw-mcp as a first-class diagramming feature

Open
#11 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
48/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Stale
Tech stack
typescript

Research direction

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.

Written by the indexing model from the issue text.

Description

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

Dominant language
TypeScript
Stars
1.6k
Forks
202
PR merge metrics
No merged PRs in 30d

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from CopilotKit/OpenGenerativeUI

All issues in CopilotKit/OpenGenerativeUI

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.