Pixabay Mcp

by liuzhuogood

416 downloads
Not rated
GitHub

Description

# 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…

About

# 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…

Details

Author
liuzhuogood
Downloads
416
Categories
Other

- Searches images from Pixabay using a valid API key.
- Can be installed with pip or run via uvx.
- Supports authentication via command-line argument or .env file.
- Logs activity to files named app_YYYYMMDD.log.
- Designed for integration with MCP-compatible AI agents.

Setting up with Highlight

This MCP is not yet compatible with Highlight’s one-click setup. However, you can still use it with Highlight by following these steps:

  1. Download and install Highlight from highlightai.com/download
  2. Navigate to the plugins tab and select "Add Custom Plugin"
  3. Configure the plugin with the settings below
    Plugin Name Pixabay Mcp
    Command (node, npx, python, etc.)

    Please refer to the README for specific instructions on how to obtain API keys or other required environment variables.

  4. Enable "Start Automatically" if you want the plugin to start when Highlight launches

From the repository

Install using pip install pixabay-mcp or run via uvx pixabay-mcp. Start the server by providing your API key either as a command-line argument (--api-key=APIKEY) or by placing it in a .env file as PIXABAY_API_KEY. The server then becomes available for AI agents to perform image searches.

Claude Desktop / Cursor

Paste into your MCP client config file to install this server.

{
    "mcpServers": {
        "pixabay mcp": {
            "pixabay-mcp": {
                "command": "uvx",
                "args": [
                    "pixabay-mcp"
                ],
                "env": {
                    "PIXABAY_API_KEY": "43133395-01880a26178aa251cf9b01b15"
                }
            }
        }
    }
}

McpServers

{
    "pixabay-mcp": {
        "command": "uvx",
        "args": [
            "pixabay-mcp"
        ],
        "env": {
            "PIXABAY_API_KEY": "43133395-01880a26178aa251cf9b01b15"
        }
    }
}

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


启动服务

运行服务器:


方法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密钥
- 如果您计划贡献代码,请确保安装开发依赖项

许可证

MIT

No reviews yet — be the first

Sign in to leave a review

Use Google, GitHub, or an email account so ratings stay tied to real people.

Email sign in

No reviews posted yet.