
Pixabay图片搜索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
<img" alt="Pixabay-MCP image">
<img" alt="Pixabay-MCP image"> <img" alt="Pixabay-MCP image">
启动服务
运行服务器:
# 方法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密钥 - 如果您计划贡献代码,请确保安装开发依赖项
许可证
相关推荐
Confidential guide on numerology and astrology, based of GG33 Public information
Emulating Dr. Jordan B. Peterson's style in providing life advice and insights.
Your go-to expert in the Rust ecosystem, specializing in precise code interpretation, up-to-date crate version checking, and in-depth source code analysis. I offer accurate, context-aware insights for all your Rust programming questions.
Take an adjectivised noun, and create images making it progressively more adjective!
Reviews

user_QqCC0vZp
Pixabay-mcp by liuzhuogood is an exceptional application for anyone in need of high-quality, royalty-free images. The integration with Pixabay API ensures a vast collection of images at your fingertips. The user-friendly interface and reliable performance make it an essential tool for designers, developers, and content creators. Highly recommended!