Skip to content
VS Code

pexels for VS Code

io.github.developer-ishan/pexels

MCP server for searching Pexels stock photos, videos, and curated collections.

client:VS Code transport:stdio runtime:npm

Install pexels in VS Code

.vscode/mcp.json

{
  "inputs": [
    {
      "type": "promptString",
      "id": "pexels-api-key",
      "description": "PEXELS_API_KEY",
      "password": true
    }
  ],
  "servers": {
    "pexels": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "mcp-pexels"
      ],
      "env": {
        "PEXELS_API_KEY": "${input:pexels-api-key}"
      }
    }
  }
}

VS Code prompts for each input the first time the server starts, so no secret is written to the file. VS Code docs

pexels in other clients