Pixabay MCP Server
pixabay-mcp MCP 服务器
用于 Pixabay 图像搜索的模型上下文协议服务器
这是一个基于 TypeScript 的 MCP 服务器,提供对 Pixabay 图片 API 的访问。它通过以下方式演示了 MCP 的核心概念:
在 Pixabay 上搜索图片的工具
带有图像 URL 和元数据的格式化结果
API 请求的错误处理
特征
工具
search_pixabay_images- 在 Pixabay 上搜索图片将搜索查询作为必需参数
图像类型、方向和每页结果的可选参数
返回带有 URL 的格式化图像结果列表
配置
需要将 Pixabay API 密钥设置为环境变量
PIXABAY_API_KEY默认启用安全搜索
API 问题和无效参数的错误处理
Related MCP server: Lorem Ipsum MCP Server
发展
安装依赖项:
npm install构建服务器:
npm run build对于使用自动重建的开发:
npm run watch安装
将您的 Pixabay API 密钥设置为环境变量:
# On Windows
set PIXABAY_API_KEY=your_api_key_here
# On macOS/Linux
export PIXABAY_API_KEY=your_api_key_here要与 Claude Desktop 一起使用,请添加服务器配置:
在 MacOS 上: ~/Library/Application Support/Claude/claude_desktop_config.json在 Windows 上: %APPDATA%/Claude/claude_desktop_config.json
{
"mcpServers": {
"pixabay-mcp": {
"command": "/path/to/pixabay-mcp/build/index.js",
"env": {
"PIXABAY_API_KEY": "your_api_key_here"
}
}
}
}调试
由于 MCP 服务器通过 stdio 进行通信,调试起来可能比较困难。我们推荐使用MCP Inspector ,它以包脚本的形式提供:
npm run inspector检查器将提供一个 URL 来访问浏览器中的调试工具。
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- AlicenseDqualityDmaintenanceA Model Context Protocol server that enables searching for similar images by text description, integrating Inspire's backend image search capabilities with LLM interfaces like Claude Desktop.13GPL 3.0
- FlicenseBqualityDmaintenanceA Model Context Protocol server that enables image generation and retrieval from picsum.photos with customizable parameters like dimensions, filters, and output formats.1
- FlicenseBqualityDmaintenanceA Model Context Protocol server that provides access to the Pexels API for searching and retrieving photos, videos, and collections.820
- AlicenseAqualityCmaintenanceA Model Context Protocol server that exposes Pexels API tools for searching and retrieving free stock photos, videos, and curated collections, enabling AI agents to incorporate royalty-free media directly from chat.91191MIT
Related MCP Connectors
A Model Context Protocol server for Wix AI tools
A comprehensive Model Context Protocol (MCP) server that enables AI assistants to interact with yo…
Search and browse every MCP server in the Model Context Protocol registry.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/zym9863/pixabay-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server