About Pixabay Mcp
Pixabay Mcp is an MCP server for AI agents to search Pixabay images. It requires a Pixabay API key.
Key features
- 01Search Pixabay images
- 02Authenticate with an API key
Use cases
- 01Find Pixabay images by need
- 02Run image searches from an AI agent
MCP support
The MCP server exposes Pixabay image search to AI agents.
Configuration
Local server config is the same for every client. Copy it into your client’s MCP config file.
Tools
Local servers expose tools only once running on your machine, and the maintainer has not provided a tool list.
Details
From the project READMEPixabay图片搜索MCP
一个用于从Pixabay搜索图片的MCP服务。
使用方法
请预先申请自己的API KEY: https://pixabay.com/api/docs/
PIP方式
# 安装
pip install pixabay-mcp
# 获取工具路径
which pixabay-mcp
# 运行
/Users/liuzhuo/miniconda3/bin/pixabay-mcp --api-key=APIKEY
uv方式
uvx pixabay-mcp --api-key=APIKEY
启动服务
运行服务器:
# 方法1: 使用.env文件
# 在根目录创建.env文件并添加以下内容:
# PIXABAY_API_KEY=你的API密钥
python server.py
# 方法2: 使用命令行参数
python server.py --api-key=APIKEY
MCP服务器将可供AI代理用于图片搜索。
日志
日志保存在应用程序目录中,文件名格式为app_YYYYMMDD.log。
开发
.env文件被排除在git之外以保护API密钥- 如果您计划贡献代码,请确保安装开发依赖项
许可证
Comments
New to MCP?
From what the protocol is to installing your first server, these answers cover most first questions.
An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.