Skip to content
This repository was archived by the owner on Mar 12, 2026. It is now read-only.

Commit 40d8f25

Browse files
committed
fix: change excalidraw MCP URL to match new prod
Signed-off-by: Tyler Slaton <tyler@copilotkit.ai>
1 parent ffcbaf5 commit 40d8f25

3 files changed

Lines changed: 3 additions & 5 deletions

File tree

apps/app/src/app/api/copilotkit/ag-ui-middleware.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,7 @@ export const aguiMiddleware = [
66
{
77
type: "http",
88
url:
9-
process.env.MCP_SERVER_URL ||
10-
"https://excalidraw-mcp-app.vercel.app/mcp",
9+
process.env.MCP_SERVER_URL ||"https://mcp.excalidraw.com",
1110
serverId: "example_mcp_app",
1211
},
1312
],

apps/app/src/components/example-layout/index.tsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
import { ReactNode, useState } from "react";
44
import { ModeToggle } from "./mode-toggle";
55
import { useFrontendTool } from "@copilotkit/react-core";
6-
import { z } from "zod";
76

87
interface ExampleLayoutProps {
98
chatContent: ReactNode;
@@ -51,7 +50,7 @@ export function ExampleLayout({
5150
<div
5251
className={`h-full overflow-hidden ${
5352
mode === 'app'
54-
? 'w-2/3 max-lg:w-full border-l dark:border-zinc-700 max-lg:border-l-0' // Full width on mobile
53+
? 'w-2/3 max-lg:w-full border-l border-zinc-200 dark:border-zinc-700 max-lg:border-l-0' // Full width on mobile
5554
: 'w-0 border-l-0'
5655
}`}
5756
>

apps/app/src/hooks/use-example-suggestions.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ export const useExampleSuggestions = () => {
55
suggestions: [
66
{ title: "Pie chart ( Controlled Generative UI )", message: "Please show me the distribution of our revenue by category in a pie chart." },
77
{ title: "Bar chart ( Controlled Generative UI )", message: "Please show me the distribution of our expenses by category in a bar chart." },
8-
{ title: "MCP apps ( Open Generative UI )", message: "Please show me a simple 3D wire-frame cube." },
8+
{ title: "MCP apps ( Open Generative UI )", message: "Please create a simple network diagram of a router and two switches." },
99
{ title: "Change theme ( Frontend Tools )", message: "Switch the app to dark mode." },
1010
{ title: "Scheduling ( Human In The Loop )", message: "Please schedule a meeting with me to learn about CopilotKit." },
1111
{ title: "Canvas ( Shared State )", message: "Please demonstrate shared state, open the canvas, and then add some todos to it about learning about CopilotKit." },

0 commit comments

Comments
 (0)