gemini-design-mcp 1.0.2 → 1.0.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/index.js +5 -1
- package/package.json +1 -1
package/build/index.js
CHANGED
|
@@ -13,7 +13,11 @@ const server = new McpServer({
|
|
|
13
13
|
server.tool("generate_frontend", `Generate frontend code (components, pages, sections) with Gemini 3 Pro.
|
|
14
14
|
The calling agent MUST provide project context to ensure design consistency.
|
|
15
15
|
If new project, pass context=null and Gemini will create a new design system.
|
|
16
|
-
Gemini has 1M tokens of context - feel free to send multiple files
|
|
16
|
+
Gemini has 1M tokens of context - feel free to send multiple files.
|
|
17
|
+
|
|
18
|
+
IMPORTANT: Do NOT include design/style preferences in the request (colors, fonts, effects, "modern", "sleek", etc.).
|
|
19
|
+
Only describe WHAT to create functionally (e.g., "a login page with email/password fields and social login").
|
|
20
|
+
Gemini has full creative freedom for all visual decisions.`, generateFrontendSchema, generateFrontend);
|
|
17
21
|
// Tool 2: improve_frontend
|
|
18
22
|
server.tool("improve_frontend", `Improve existing frontend code based on provided feedback.
|
|
19
23
|
Use for design modifications, UX improvements, or visual refactoring.`, improveFrontendSchema, improveFrontend);
|