Skip to content

Migrate Resource Watcher to mcp-use v2 - #2

Merged
khandrew1 merged 2 commits into
mainfrom
codex/migrate-mcp-use-v2
Aug 4, 2026
Merged

khandrew1 merged 2 commits into
mainfrom
codex/migrate-mcp-use-v2

Conversation

@khandrew1

@khandrew1 khandrew1 commented Aug 4, 2026

Copy link
Copy Markdown
Contributor

What changed

Migrates Resource Watcher to the native mcp-use v2 API and converts the config widget to an MCP App View.

  • Uses the v2 MCPServer entry contract, exported tool references, raw tool/resource results, and v2 notification helpers.
  • Replaces the legacy widget with views/config-panel/view.tsx, typed structuredContent, and v2 view hooks.
  • Removes the deprecated roots tool.
  • Updates the runtime to mcp-use 2.0.4 and adds v2 typechecking.

Validation

  • pnpm typecheck
  • pnpm build
  • Built-in Inspector: rendered show-config, then invoked update-config with theme=dark; confirmed structured output and the custom/config-changed notification.

@khandrew1
khandrew1 marked this pull request as ready for review August 4, 2026 18:18
@khandrew1
khandrew1 merged commit c226fce into main Aug 4, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant