Commit 8d53a2e
committed
fix: Disable magic MCP server for Gemini CLI compatibility
The @21st-dev/magic package exports tool names starting with '21st_'
(e.g., 21st_magic_component_builder) which violates Gemini's function
naming rules that require names to start with a letter or underscore.
Changes:
- Add gemini_compatible flag to MCP server definitions
- Install incompatible servers to _disabledMcpServers with warning
- Add compatibility warning to MCP_Magic.md documentation
- Add _geminiCompatibility note to magic.json config
The magic server will be automatically installed as DISABLED until
the upstream package is updated with compliant tool names.1 parent d194233 commit 8d53a2e
File tree
3 files changed
+47
-13
lines changed- SuperGemini/MCP
- configs
- setup/components
3 files changed
+47
-13
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
5 | 17 | | |
6 | 18 | | |
7 | 19 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
10 | | - | |
| 10 | + | |
| 11 | + | |
11 | 12 | | |
12 | 13 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
55 | 55 | | |
56 | 56 | | |
57 | 57 | | |
58 | | - | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
59 | 61 | | |
60 | 62 | | |
61 | 63 | | |
| |||
727 | 729 | | |
728 | 730 | | |
729 | 731 | | |
730 | | - | |
731 | | - | |
| 732 | + | |
| 733 | + | |
732 | 734 | | |
733 | | - | |
734 | | - | |
735 | | - | |
736 | | - | |
737 | | - | |
738 | | - | |
| 735 | + | |
| 736 | + | |
| 737 | + | |
| 738 | + | |
| 739 | + | |
| 740 | + | |
| 741 | + | |
| 742 | + | |
| 743 | + | |
| 744 | + | |
| 745 | + | |
| 746 | + | |
| 747 | + | |
| 748 | + | |
| 749 | + | |
| 750 | + | |
739 | 751 | | |
740 | | - | |
| 752 | + | |
| 753 | + | |
| 754 | + | |
| 755 | + | |
| 756 | + | |
| 757 | + | |
| 758 | + | |
| 759 | + | |
| 760 | + | |
| 761 | + | |
| 762 | + | |
| 763 | + | |
741 | 764 | | |
742 | 765 | | |
743 | | - | |
744 | | - | |
745 | 766 | | |
746 | 767 | | |
747 | 768 | | |
| |||
0 commit comments