Back to Home
zjohnsonbox icon

superdesign-mcp-server

by zjohnsonbox

Overview

An AI-powered agent for rapid UI/frontend design exploration and code generation within VS Code, offering tools for layout, theme, and component creation.

Installation

Run Command
npx tsx ./src/index.ts

Environment Variables

  • AI_PROVIDER
  • SECURITY_MODE
  • WORKSPACE_ROOT
  • ANTHROPIC_API_KEY
  • OPENAI_API_KEY
  • OPENROUTER_API_KEY
  • ANTHROPIC_BASE_URL
  • SUPERDESIGN_MAX_VARIATIONS
  • ENABLE_FILE_LOGGING
  • ANTHROPIC_DEFAULT_SONNET_MODEL
  • CLAUDE_CODE_PATH
  • CLAUDE_CODE_MODEL_ID
  • CLAUDE_CODE_THINKING_BUDGET

Security Notes

Critical security vulnerabilities found due to hardcoded API keys. Specifically, a Supabase 'anon' role API key is hardcoded in `src/extension.ts` for email submissions, and Helicone API keys (`sk-helicone-...`) are hardcoded in `src/services/customAgentService.ts` for proxying Anthropic and OpenAI requests. Hardcoding API keys exposes them to anyone with access to the code, leading to potential abuse, service disruption, or unauthorized access. While the `bash-tool` includes logic to prevent dangerous commands and restricts file operations to the workspace, the explicit use of `bash -c` still carries inherent risks, and regex-based tools (`grep-tool`, `glob-tool`) could be vulnerable to ReDoS attacks, though resource limits are in place.

Similar Servers

Stats

Interest Score0
Security Score3
Cost ClassHigh
Avg Tokens15000
Stars0
Forks0
Last Update2025-11-20

Tags

UI DesignFrontend DevelopmentAI AgentVS Code ExtensionCode GenerationDesign System