a fancy canvas mcp server!
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

feat: add favicon and update mcp sdk

+12 -2
+1 -1
bun.lock
··· 5 5 "": { 6 6 "name": "canvas-mcp", 7 7 "dependencies": { 8 - "@modelcontextprotocol/sdk": "^1.0.4", 8 + "@modelcontextprotocol/sdk": "^1.26.0", 9 9 "nodemailer": "^8.0.1", 10 10 "nodemailer-dkim": "^1.0.5", 11 11 "zod": "^3.23.8",
+1 -1
package.json
··· 9 9 "generate-key": "bun run scripts/generate-key.ts" 10 10 }, 11 11 "dependencies": { 12 - "@modelcontextprotocol/sdk": "^1.0.4", 12 + "@modelcontextprotocol/sdk": "^1.26.0", 13 13 "nodemailer": "^8.0.1", 14 14 "nodemailer-dkim": "^1.0.5", 15 15 "zod": "^3.23.8"
+10
src/index.ts
··· 41 41 "/": indexPage, 42 42 "/dashboard": dashboardPage, 43 43 44 + // Favicon 45 + "/favicon.ico": { 46 + GET() { 47 + const file = Bun.file("src/public/favicon.ico"); 48 + return new Response(file, { 49 + headers: { "Content-Type": "image/x-icon" }, 50 + }); 51 + }, 52 + }, 53 + 44 54 // MCP Protocol endpoint (Streamable HTTP) 45 55 "/mcp": { 46 56 async POST(req: Request) {
src/public/favicon.ico

This is a binary file and will not be displayed.