leo-pexels-mcp
leo-pexels-mcp
Pexels 壁纸,作为 Leo 提供程序包,通过 MCP 提供。
Leo 的壁纸生成器本身并不做这件事——它会解析一个提供程序并向其请求。这个服务器就是这样一个提供程序,它作为 hub 在运行时安装的包来访问,而不是一个需要为它重新构建 hub 的提供程序。
它回答什么
leo_mcp::providers 中的 wallpaper 角色:
search_photos({ queries, orientation })
-> { photos: [{ source_id, download_url, description, photographer }] }结果以 JSON 形式放在文本内容块中返回,这是 hub 的桥接层读取的约定。
Related MCP server: Pexels MCP Server
配置
由 Leo 以环境变量的形式传递给此进程,使用其设置键,原样且小写——仅限于描述符在 entitlements.settings_read 中声明且所有者同意的键,绝不会是整个设置表。
env | 来源 |
| 设置 → 包 → Pexels |
未配置任何内容时,工具会返回 isError 并指明该设置。这是有意为之:空答案会作为真实结果到达 Leo。
运行它
npm install
node index.js # speaks MCP over stdio
npm test # checks the response mapping, no network needed为什么使用纯 JavaScript
本项目以 git tarball 形式发布,并固定到某个提交 SHA;npm 对于 tarball URL 并不能可靠地执行构建步骤。TypeScript 源码树可以安装成功,但会在别人的机器上启动失败,而那种情况最难诊断。
注册表条目必须指定一个完整的 40 字符提交 SHA。标签看起来同样具体,但实际上并非如此——它可以在条目被审查后被移动。
许可证
MIT
This server cannot be deployed
Maintenance
Related MCP Connectors
MCP server for Pixapi: check live credit pricing and balance, then generate images and video.
MCP server for Google search results via SERP API
MCP server for Probo print-on-demand — search products, configure orders, track shipments.
MCP server for Firecrawl — web search, scraping, and biomedical/arXiv paper search.
Related MCP Servers
- AlicenseBqualityBmaintenanceMCP server to search and download stock images from Pexels, Unsplash, and Pixabay21,371 npm4MIT
- AlicenseAqualityDmaintenanceAn MCP server to search for photos and videos on Pexels.312 npmMIT
- AlicenseAqualityCmaintenanceMCP server that enables searching and downloading Unsplash photos and collections.4MIT
- FlicenseNot gradedqualityCmaintenanceMCP server for the Pexels API that provides tools for searching photos and videos, retrieving curated content, and accessing featured collections. Enables natural language interaction with Pexels media search functionality.-