MCP.so
ログイン

Pexafy Stock Photos MCP Server認証済み注目

@Pexafy

基本情報

トランスポート

Streamable HTTP

認証方式

OAuth

カテゴリ

メディアとデザイン

作者

Pexafy

投稿者

Marouane TIJANI

Pexafy Stock Photos MCP Server について

Search millions of free-to-use photos from Unsplash, Pexels, Pixabay and more in one query. Describe the scene in any language, get real photos with licence and credit line. Hosted, no API key.

#photos#images#stock-photos#free-photos#image-search#semantic-search#unsplash#pexels#pixabay#search photos#search images

接続情報

https://mcp.pexafy.com/mcp

セットアップ

claude mcp add pexafy --transport http https://mcp.pexafy.com/mcp

Pexafy Stock Photos MCP Server のツール

5

Use this when the user asks for a real photograph, or states a need that a photograph fills, and the picture is not already in the conversation. Call it when they ask outright: “find me photos of…”, “show me images of…”, “I need a picture of…”, “do you have a photo of…”, “where can I find free photos of…”, in any language. Call it when they describe the need without asking to search: “I'm writing an article and need a header image”, “my landing page needs a hero image”, “I need something to illustrate this”. Call it when they ask for something meant to carry photographs: “write an article with pictures”, “a deck with images”. Call it when they name only the picture, with no reason given: “a photo of a white mug”, “a train in Japan”. If the user is working on something that usually carries photographs — an article, a page, a deck, a post — without asking for any, you may offer to look for some; call it only once they accept. This covers requests for photographs for articles, blog posts, websites, landing pages, products, slides, documents, reports, social posts, ads, newsletters, banners, thumbnails, covers, posters, backgrounds, wallpapers and mood boards; photographs that illustrate a concept, explain a subject or accompany a piece of writing; and any request for free, stock, royalty-free, commercially usable, real or documentary photographs. A request for a visual is not always a request for a photograph: this tool finds photographs that already exist — not illustrations, drawings, logos, icons, diagrams or screenshots — and it does not generate, edit or upscale an image, nor look for a named person. It searches Pexafy's own index of millions of free-to-use photographs from stock libraries such as Unsplash, Pexels and Pixabay, matched to the scene described. Each result carries a `rank`, a `photo_id`, its licence, the credit line to display and an image link; the file itself comes from get_photo_file_by_photo_id. In a host that renders it, the grid shows them; the answer omits image links.

Use this when the user wants photographs that look like a picture, rather than ones described in words: a picture they link to, one the host passes to the tool as a file, or a Pexafy photo already found or liked in the grid. Call it for “find images like this”, “something similar to this photo”, “find a free alternative to this image”, “I need this but royalty-free”, “photos in this style”, “more like the second one”, whether or not they say “search by image”. Give exactly one reference: `photo_id` for a Pexafy photo from an earlier result or liked in the grid; `image_url` for a picture at a public URL, such as a link the user pasted; `image_file` when the host passes the user's uploaded image to the tool; `image_base64` for image bytes a client already holds. Sending two is refused. A picture that is only visible in the conversation — not linked, not passed to the tool — is not a reference this tool can receive; its scene can be searched in words with `search_photos`. Words are optional, in `english_search_sentence`: with a `photo_id`, the words that photograph was found under; with an image, only what the user wants changed or kept (“like this but at night”). It finds free stock photographs in Pexafy's index that visually match the reference. The reference image is sent to Pexafy only to run the search; it is not stored. Each result carries a `rank`, a `photo_id`, its licence, the credit line to display and an image link. In a host that renders it, the grid shows them; the answer omits image links.

Returns one photograph from an earlier Pexafy result as an image file, identified by its `photo_id`. A result's link points to the image; this tool returns the image itself, so the person does not need to send the photograph again. Use it when the user wants a photograph found here as a file: to place it in a document, a slide or a post, to attach, send or download it, or to have it cropped, captioned or otherwise edited with the host's own tools. It is for a photograph the person picked: where the Pexafy grid is shown, the photographs of a search are already on screen and need no file to be seen. The answer contains the photograph, at most 1280 pixels wide, and a line giving its file name, size, licence, source, `photo_id`, page at the source and the credit line to display. One photo per call; the file stays in the conversation afterwards. This server does not edit images: what can be done to the file next depends on the host's own tools. Its licence and credit line apply to this photograph only.

Returns the photographs the person liked (hearted) in the Pexafy results grid. Use it when the person refers to that selection rather than asking for new photos — for example “the images I selected”, “the ones I chose”, “my selection”, “the photos I hearted”, “the photos I liked”, “use the ones I picked”, “put my selection in the document”, “download the ones I chose”, or “write the article around my photos”. The selection is held by the grid and the server, not by the conversation: this tool is how it is read, and search results are not the selection. It takes no arguments and returns every liked photograph with its rank, photo_id, photographer, source library, licence, pixel size, orientation, description, page URL and credit line, and `selection_count`, the number of them. To get one of them as an image file, pass its photo_id to get_photo_file_by_photo_id. `rank` is the person's order, #1 first: the order the photos were liked in, unless the person rearranged them by dragging in the grid. Where the grid is rendered, that number is drawn on each liked photograph, so it is the number the person sees and names them by (“#2”). The `rank` of a search result is only its position in that answer and is not drawn on the grid. An empty selection means nothing is liked in the grid currently on screen; a photograph is liked with the heart on it. A selection expires an hour after its last change, and a new search replaces the grid it belongs to.

Asks the host to offer its own flow for connecting a Pexafy account, when none is attached. Use it when the person asks to connect, link or sign in to a Pexafy account — including from the account button in the Pexafy grid — or wants more searches than the daily allowance available without an account. When no account is attached, it returns an error result that carries an account-connection request for the host: the error is how that request is delivered, not a failure. A host that supports it shows its own account-connection prompt, which the person completes or dismisses; other hosts show only the result's text. Calling it again returns the same request. When an account is already attached, it says so and starts nothing. It does not search, and searching does not require calling it. `check_only` is set by the Pexafy grid to read the state without opening a prompt; leave it unset when the person wants to connect or sign in.

概要

Pexafy Stock Photos MCP Server とは?

Pexafy Stock Photos MCP Server は、Claude、ChatGPT、Cursor、VS Code などのアシスタントから、Unsplash、Pexels、Pixabay などの数百万枚の無料で使える写真を一度に検索し、ライセンスとクレジット表記付きの実際の写真を返すホスト型 MCP サーバーです。

Pexafy は無料ストック写真ライブラリから集めた独自の写真インデックス(Web サイトによれば 9 つの無料ライセンスのソース)を検索し、タグではなく意味でインデックス化しています。任意の言語で場面を一文で説明すると、合う写真が返ってきます。ChatGPT、Claude、VS Code、Cursor では結果が会話内のグリッドとして表示され、ターミナルやエージェントでは各結果がリンクとして届きます。サーバーのコードは GitHub で MIT ライセンスで公開されています。

Pexafy Stock Photos MCP Server の使い方

サーバー URL はどこでも同じ https://mcp.pexafy.com/mcp で、インストールは不要です。Claude と ChatGPT ではブラウザウィンドウで一度 Pexafy にサインインします(OAuth。無料アカウントで十分です)。エディタやコーディングエージェントはアカウントなしですぐに検索できますが、1 日の利用枠があります。自分のアカウントやプランの上限を使うには、アカウントを接続するか、MCP タイプの Pexafy API キーを Bearer トークンとして送ります。

Claude Code

claude mcp add --transport http pexafy https://mcp.pexafy.com/mcp

Pexafy のキーを使う場合(Pexafy のダッシュボードで MCP タイプのキーを作成します):

claude mcp add --transport http pexafy https://mcp.pexafy.com/mcp \
  --header "Authorization: Bearer YOUR_MCP_KEY"

claude mcp list で確認します。必要に応じて、エージェントにツールの使いどころと使い方を教える Pexafy スキルも追加できます。

npx skills add Pexafy/pexafy-mcp --skill find-stock-photos

Claude Desktop / claude.ai

Customize → Connectors を開き、+ をクリックして Add custom connector を選びます。https://mcp.pexafy.com/mcp を貼り付けて Add をクリックし、Claude が開くウィンドウで Pexafy アカウントにサインインします。Pexafy は Claude 対応をプレビュー版としています。

Cursor

プロジェクトに .cursor/mcp.json(または ~/.cursor/mcp.json)を作成します。

{
  "mcpServers": {
    "pexafy": {
      "url": "https://mcp.pexafy.com/mcp"
    }
  }
}

キーを使う場合、Pexafy のドキュメントでは同じエントリに "headers": {"Authorization": "Bearer YOUR_MCP_KEY"} を加えた例が示されています。

VS Code

MCP: Add Server を実行するか、README の 1 行コマンドを使います。

code --add-mcp '{"name":"pexafy","type":"http","url":"https://mcp.pexafy.com/mcp"}'

その後、Agent モードで Chat を開き、ツール一覧で Pexafy を選びます。

その他のクライアント

ChatGPT ではプラグインディレクトリから Pexafy を追加できます。Codex では codex mcp add pexafy --url https://mcp.pexafy.com/mcp を使います。

Pexafy Stock Photos MCP Server の主な機能

  • Unsplash、Pexels、Pixabay などの無料ライセンスライブラリの写真を 1 回の検索で横断。
  • 意味検索:場面や雰囲気、光を一文で説明するほうがキーワードより良い結果になり、どの言語でも使える。
  • 画像検索:リンクやアップロード画像、以前の結果に似た写真を探し、言葉で調整も可能(「like this, but at night」)。
  • すべての結果にソースとライセンスが記載され、表示すべきクレジット表記が付く。
  • 対応クライアントではインラインのグリッドを表示:1 回のリクエストで 16 枚の写真が返り、いいね・類似・ダウンロードの操作ができ、選んだ写真は選んだ順にアシスタントへ渡される。
  • 写真を画像ファイル(最大幅 1280 px)として受け取り、ドキュメントやスライド、投稿に使える。
  • 5 つのツールはすべて読み取り専用で、コネクタがアカウントに書き込むことはない。

Pexafy Stock Photos MCP Server のツール

  • 検索: search_photos は一文の説明から写真を検索し、横長・縦長・正方形に絞り込めます。search_photos_by_image は参照画像や以前の Pexafy の結果に似た写真を検索します。
  • ファイルと選択: get_photo_file_by_photo_id は以前の結果の写真 1 枚をクレジット表記付きの画像ファイルとして返します。get_grid_selected_photos は結果グリッドでハートを付けた写真を、選んだ順に返します。
  • アカウント: connect_account はホストにアカウント接続フローを開始するよう依頼します。アカウントなしの利用枠を超えて検索したいときに使います。

Pexafy Stock Photos MCP Server のユースケース

  • ブログの挿絵:「I'm writing a short article about Kyoto in autumn. Find photos of a temple garden with red maple leaves.」
  • ランディングページ:「My landing page needs a hero image of a small team working in a bright office」と頼み、選んだファイルを HTML に配置する。
  • 統一感のある写真セット:1 枚を選んで「more like the second one」と頼み、スライド用にそろった写真を集める。
  • コーディングエージェント:Claude Code に写真ファイルを取得させ、リポジトリに保存し、クレジット表記付きの Markdown を書かせる。

Pexafy Stock Photos MCP Server のトラブルシューティング

  • Claude Code のプロジェクトファイルが拒否される: .mcp.json で url だけがあり "type": "http" がないエントリは拒否されます。type を追加してください。
  • アカウントなしで検索上限に達した: connect_account を呼ぶかエージェントに Pexafy アカウントの接続を頼む、または MCP タイプのキーを Bearer ヘッダーとして追加してください。
  • グリッドが表示されない: グリッドは MCP UI を描画できるクライアント(ChatGPT、Claude、VS Code、Cursor)でのみ表示され、その他のクライアントにはリンクが届きます。
  • Cursor に Pexafy が表示されない: mcp.json を編集したら Cursor を開き直し、サイドバーの Customize で確認してください。

よくある質問

1

Pexafy Stock Photos MCP は無料ですか?

はい。アカウントなしでも 1 日の利用枠内で検索でき、Claude と ChatGPT での接続には無料の Pexafy アカウントで十分です。アカウントやキーを接続すると、自分のプランの上限が適用されます。

2

API キーは必要ですか?

いいえ。Claude と ChatGPT は OAuth でサインインし、エディタはアカウントなしで検索できます。サインインできない CLI やエディタの設定では、MCP タイプの API キーを任意で使えます。

3

写真の出どころは?使ってもよいですか?

Unsplash、Pexels、Pixabay などのライブラリから集めた、Pexafy 独自の無料で使える写真インデックスです。各結果にはソースとライセンスが記載され、表示すべきクレジット表記が含まれます。

4

Claude Code や Cursor で使えますか?

はい。Claude Code では `claude mcp add --transport http pexafy https://mcp.pexafy.com/mcp`、Cursor では `mcp.json` の `url` エントリを使います。

5

コネクタがアカウントの内容を変更することはありますか?

いいえ。5 つのツールはすべて読み取り専用です。

6

セルフホストできますか?

サーバーのコードは GitHub で MIT ライセンスで公開されており、リポジトリにはセルフホスト向けの開発ガイドがあります。

7

Pexafy Stock Photos のリモート MCP サーバーとは何ですか?

Pexafy Stock Photos のリモート MCP サーバーは、https://mcp.pexafy.com/mcp にホストされた Model Context Protocol エンドポイントです。AI アシスタントはローカルに何もインストール・実行することなく接続できます。

8

Pexafy Stock Photos の MCP サーバーにはどう接続しますか?

エンドポイント https://mcp.pexafy.com/mcp を Claude Code、Cursor、VS Code など任意の MCP 対応クライアントに追加してください。このページのセットアップ手順で各クライアントを一度に設定できます。

9

Pexafy Stock Photos の MCP サーバーは認証が必要ですか?

はい。Pexafy Stock Photos は OAuth を使用します。初回接続時に MCP クライアントがブラウザを開いてサインイン・認可を行い、以降はその認証情報を再利用します。

10

Pexafy Stock Photos の MCP サーバーはどのトランスポートを使用しますか?

Pexafy Stock Photos は Streamable HTTP エンドポイントを公開しており、これはリモート MCP サーバーで広く使われ、主要な MCP クライアントがサポートするトランスポートです。

コメント