Pexels MCP Server for VS Code
io.github.hanoak/pexels-mcp-server
MCP server for the Pexels API: search & fetch stock photos, videos, and collections.
client:VS Code
transport:stdio
runtime:npm
Install Pexels MCP Server in VS Code
.vscode/mcp.json
{
"inputs": [
{
"type": "promptString",
"id": "pexels-api-key",
"description": "PEXELS_API_KEY",
"password": true
},
{
"type": "promptString",
"id": "log-level",
"description": "LOG_LEVEL",
"password": true
}
],
"servers": {
"pexels-mcp-server": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@hanoak/pexels-mcp-server"
],
"env": {
"PEXELS_API_KEY": "${input:pexels-api-key}",
"LOG_LEVEL": "${input:log-level}"
}
}
}
}
VS Code prompts for each input the first time the server starts, so no secret is written to the file. VS Code docs