-
Notifications
You must be signed in to change notification settings - Fork 0
Add MCP App UI and migrate to SDK's McpServer #19
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
Co-authored-by: CalebGerman <86487204+CalebGerman@users.noreply.github.com>
Co-authored-by: CalebGerman <86487204+CalebGerman@users.noreply.github.com>
Co-authored-by: CalebGerman <86487204+CalebGerman@users.noreply.github.com>
Co-authored-by: CalebGerman <86487204+CalebGerman@users.noreply.github.com>
Co-authored-by: CalebGerman <86487204+CalebGerman@users.noreply.github.com>
|
@copilot great job, but this package uses pnpm not npm. So in your files please use pnpm |
Co-authored-by: CalebGerman <86487204+CalebGerman@users.noreply.github.com>
Updated all build scripts and documentation to use pnpm instead of npm. Changes in commit 3616cf5:
The project now consistently uses pnpm throughout. |
Task: Implement Full MCP Apps Support for
|
…serving Co-authored-by: CalebGerman <86487204+CalebGerman@users.noreply.github.com>
Co-authored-by: CalebGerman <86487204+CalebGerman@users.noreply.github.com>
…dency Co-authored-by: CalebGerman <86487204+CalebGerman@users.noreply.github.com>
Co-authored-by: CalebGerman <86487204+CalebGerman@users.noreply.github.com>
Co-authored-by: CalebGerman <86487204+CalebGerman@users.noreply.github.com>
…tibility Co-authored-by: CalebGerman <86487204+CalebGerman@users.noreply.github.com>
Co-authored-by: CalebGerman <86487204+CalebGerman@users.noreply.github.com>
Implements interactive task visualization via MCP Apps and migrates server implementation from deprecated
Serverto SDK'sMcpServer.MCP App Implementation
UI Layer
ui://taskflow/todo)Protocol Integration
show_todo_listtool with_meta.ui.resourceUripointing to UI resourceregisterResourcedelegation)text/html;profile=mcp-appBuild Pipeline
SDK Migration
Migrated from deprecated
Serverto SDK'sMcpServerusing hybrid approach:Hybrid Pattern
McpServerfor infrastructure and resourcesServer.setRequestHandlerfor tools (JSON Schema compatibility)registerToolexpects Zod schemas; our tools use JSON SchemaImplementation
Impact
File Changes
New:
ui/- React project (App.tsx, types, styles, Vite config)src/tools/app/appTools.ts- Tool and resource registrationtests/tools/app/appTools.test.ts- Unit testsscripts/copy-ui.mjs- Build automationModified:
src/server/mcpServer.ts- SDK migration + custom tool handlerspackage.json- Build scripts for UI compilation.gitignore,vitest.config.ts- UI artifactsChangeset:
Original prompt
✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.