Cognition · Editor
How to Generate Images in Devin Desktop (formerly Windsurf) with MCP
Connect PixelMCP to Devin Desktop (formerly Windsurf) and your agent can generate images while it builds: hero images, icons, illustrations, blog headers and OG cards. It can save the files straight into your project using Nano Banana, GPT Image, FLUX, Seedream or Recraft.
Add PixelMCP to Devin Local, the agent in Devin Desktop (Windsurf's new name).
- 1
Add the server
Run:
devin mcp add pixelmcp https://pixelmcp.com/mcp - 2
Or edit the config
Equivalent entry in ~/.config/devin/mcp_config.json (project: .devin/mcp_config.json):
{ "mcpServers": { "pixelmcp": { "url": "https://pixelmcp.com/mcp", "transport": "http" } } } - 3
Sign in
Opens your browser to sign in; tokens refresh automatically.
devin mcp login pixelmcp
Things to try
“Generate a subtle 16:9 background image for the hero section and optimize it for the web.”
Image models you can use in Devin Desktop (formerly Windsurf)
Not sure which to pick? Compare the models.
FAQ
What do I need to use PixelMCP in Devin Desktop (formerly Windsurf)?+
Devin Desktop or the Devin CLI. You also need a PixelMCP account, which starts with 100 free credits.
Which image models can I use in Devin Desktop (formerly Windsurf)?+
Nano Banana 2 and Pro, GPT Image 2 and GPT Image 2 HD, FLUX.2 Pro and Klein, Seedream 5.0 Pro and Recraft V4.1. Name a model in your prompt or let the assistant choose.
How much does it cost?+
You pay per image with credits, from 6 credits (6¢) an image. There's no subscription and credits never expire. New accounts get 100 free credits.
How long does setup take?+
About a minute. Add the PixelMCP server URL to Devin Desktop (formerly Windsurf), sign in once, and you're ready to generate.
Menus change often. If a label here doesn't match what you see, look for “Connectors”, “MCP” or “Integrations” in Devin Desktop (formerly Windsurf)'s settings, or check Cognition's docs.