← All guides

SST · Coding agent

Use PixelMCP in OpenCode

Add PixelMCP to the OpenCode terminal agent.

Before you start: OpenCode installed. You'll also need a PixelMCP account. Get 100 free credits
  1. 1

    Add to opencode.json

    In your project's opencode.json (or the global config):

    {
      "$schema": "https://opencode.ai/config.json",
      "mcp": {
        "pixelmcp": {
          "type": "remote",
          "url": "https://pixelmcp.com/mcp",
          "oauth": {}
        }
      }
    }
  2. 2

    Sign in

    Run the auth command and approve access in your browser:

    opencode mcp auth pixelmcp

Things to try

  • “Generate a set of three spot illustrations for the onboarding screens and save them to public/onboarding/.”

Menus change often. If a label here doesn't match what you see, look for “Connectors”, “MCP” or “Integrations” in OpenCode's settings, or check SST's docs.