ai.to.design is now free.No account needed.Install now →
Docs menu

Setup Guides

opencode

Add the local connector to opencode via opencode.json

opencode reads MCP servers from opencode.json in your project, or ~/.config/opencode/opencode.json globally. Add the block below to register the connector as a local MCP server.

Configuration

{
  "$schema": "https://opencode.ai/config.json",
  "mcp": {
    "ai-to-design": {
      "type": "local",
      "command": [
        "npx",
        "-y",
        "@ai.to.design/figma-connector@latest"
      ],
      "enabled": true
    }
  }
}

Tips

  • Use the project file to enable the connector only for design-related repos.
  • Node.js 18 or later must be installed on your machine.