io.github.codeChap/pexels

Registre officiel Recherche et web

MCP server for Pexels — search photos and videos, and browse collections

Installation

Les étapes d'installation sont dans la documentation ci-dessous. Documentation

Documentation

Tirée du README du projet sur GitHub, actualisée chaque semaine. Les liens ouvrent GitHub.

Sommaire
  1. mcp-server-pexels
  2. Tools
  3. Prerequisites
  4. Setup
  5. Build
  6. MCP configuration
  7. Project structure
  8. License

mcp-server-pexels

An MCP (Model Context Protocol) server for the Pexels API. Built in Rust, exposes photo search, video search, and curated/featured content as MCP tools.

Communicates via stdio using JSON-RPC 2.0.

Tools

ToolDescription
search_photosSearch photos by query with optional orientation/size/color/locale filters
curated_photosGet a paginated list of curated, hand-picked photos
get_photoRetrieve a single photo by ID
search_videosSearch videos by query with optional orientation/size/locale filters
popular_videosGet popular videos with optional dimension and duration filters
get_videoRetrieve a single video by ID
featured_collectionsList featured collections (themed sets of media)
collection_mediaList media in a specific collection (filterable by photos/videos)

Prerequisites

Setup

mkdir -p ~/.config/mcp-server-pexels

Create ~/.config/mcp-server-pexels/config.toml:

api_key = "your-pexels-api-key"

Build

cargo build --release

Produces target/release/mcp-server-pexels.

MCP configuration

{
  "mcpServers": {
    "pexels": {
      "command": "/path/to/mcp-server-pexels"
    }
  }
}

Project structure

src/
  main.rs    - entry point, config loading, stdio transport
  server.rs  - MCP tool definitions
  api.rs     - Pexels HTTP client and response types
  params.rs  - tool parameter types
  config.rs  - TOML config loading

License

MIT

Questions fréquentes

Qu'est-ce que io.github.codeChap/pexels ?

MCP server for Pexels — search photos and videos, and browse collections

Comment installer io.github.codeChap/pexels ?

Suivez les étapes d'installation de sa documentation, affichée sur cette page et dans son dépôt.

io.github.codeChap/pexels est-il open source ?

Son code est public sur GitHub, mais le dépôt ne déclare pas de licence standard.

Qui maintient io.github.codeChap/pexels ?

Il est publié par codeChap. AI.tn le référence sans le maintenir ni le recommander.

Issu du registre MCP officiel. Être listé n'est pas une recommandation : vérifiez le code et les permissions d'un serveur avant de lui donner accès à vos données.