[PR #30265] chore(claude-code): migrate from legacy MCP configuration to official plugin system #32752

Closed
opened 2026-02-21 20:52:00 -05:00 by yindo · 0 comments
Owner

Original Pull Request: https://github.com/langgenius/dify/pull/30265

State: closed
Merged: Yes


Summary

This PR migrates the Claude Code configuration from the legacy MCP server setup to the new official plugin system, simplifying configuration and reducing external dependencies.

Changes

Removed files:

  • .claude/settings.json.example - Legacy configuration example with manual MCP server list
  • .mcp.json - Manual MCP server definitions requiring npx/uvx process spawning

Added files:

  • .claude/settings.json - Simplified configuration using official plugins

Migrated capabilities:

  1. context7 (context7@claude-plugins-official) - Documentation query MCP tools
  2. feature-dev (feature-dev@claude-plugins-official) - Guided feature development skill
  3. typescript-lsp (typescript-lsp@claude-plugins-official) - TypeScript language server integration (new)
  4. pyright-lsp (pyright-lsp@claude-plugins-official) - Pyright language server integration (new)

Benefits:

  • Simpler configuration (19 lines → 8 lines)
  • No need to manage external process spawning (npx/uvx)
  • Official plugin system is more stable and maintained
  • Reduced dependency on runtime tools
  • Better integration with Claude Code ecosystem

Services not migrated:

The following services from the old config were not migrated and can be added as official plugins if needed:

  • sequential-thinking
  • github
  • fetch
  • playwright

Test plan

  • Configuration file is valid JSON
  • context7 plugin works for documentation queries
  • feature-dev skill is available
  • TypeScript LSP provides code intelligence

Fixes #30264

**Original Pull Request:** https://github.com/langgenius/dify/pull/30265 **State:** closed **Merged:** Yes --- ## Summary This PR migrates the Claude Code configuration from the legacy MCP server setup to the new official plugin system, simplifying configuration and reducing external dependencies. ## Changes ### Removed files: - `.claude/settings.json.example` - Legacy configuration example with manual MCP server list - `.mcp.json` - Manual MCP server definitions requiring npx/uvx process spawning ### Added files: - `.claude/settings.json` - Simplified configuration using official plugins ## Migrated capabilities: 1. **context7** (`context7@claude-plugins-official`) - Documentation query MCP tools 2. **feature-dev** (`feature-dev@claude-plugins-official`) - Guided feature development skill 3. **typescript-lsp** (`typescript-lsp@claude-plugins-official`) - TypeScript language server integration (new) 4. **pyright-lsp** (`pyright-lsp@claude-plugins-official`) - Pyright language server integration (new) ## Benefits: - ✅ Simpler configuration (19 lines → 8 lines) - ✅ No need to manage external process spawning (npx/uvx) - ✅ Official plugin system is more stable and maintained - ✅ Reduced dependency on runtime tools - ✅ Better integration with Claude Code ecosystem ## Services not migrated: The following services from the old config were not migrated and can be added as official plugins if needed: - `sequential-thinking` - `github` - `fetch` - `playwright` ## Test plan - [x] Configuration file is valid JSON - [ ] context7 plugin works for documentation queries - [ ] feature-dev skill is available - [ ] TypeScript LSP provides code intelligence Fixes #30264
yindo added the pull-request label 2026-02-21 20:52:00 -05:00
yindo closed this issue 2026-02-21 20:52:00 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langgenius/dify#32752