MCP.so
ログイン
H

Hachimi Image Search

@Marisalice114

Hachimi Image Search について

hachimiagent中使用的图片搜索mcp

基本情報

カテゴリ

検索

トランスポート

stdio

公開者

Marisalice114

投稿者

先生 张

設定

以下の設定を使って、このサーバーを MCP 対応クライアントに追加してください。

{
  "mcpServers": {
    "hachimi-image-search-mcp-server": {
      "command": "java",
      "args": [
        "-Dspring.profiles.active=local,stdio",
        "-jar",
        "path/to/hachimi-image-search-mcp-server-0.0.1-SNAPSHOT.jar"
      ],
      "env": {
        "PEXELS_API_KEY": "YOUR_PEXELS_API_KEY"
      }
    }
  }
}

ツール

ツールは検出されませんでした

ツールは README から自動的に抽出されます。メンテナーは ## Tools という見出しの下に記載することで、このタブに反映できます。

概要

What is Hachimi Image Search?

An MCP server that enables AI assistants (e.g., Claude, Cursor) to search images from Pexels via five configurable tools. Built with Spring AI MCP Java SDK.

How to use Hachimi Image Search?

Requires Java 21+ and a Pexels API key. Clone the repository, run mvn clean package, then configure the MCP client with a Stdio or SSE JSON block, setting the PEXELS_API_KEY environment variable.

Key features of Hachimi Image Search

  • searchImage: search by keyword, returns default count.
  • searchImageWithCount: specify result count (1–20).
  • searchFewImages: quickly returns 3 images.
  • searchManyImages: returns 12 images.
  • searchSingleImage: returns exactly 1 image.

Use cases of Hachimi Image Search

  • Assistants fetch relevant images during conversations.
  • Quickly gather multiple reference images for design or presentations.
  • Retrieve a single image for blog covers or social media posts.
  • Integrate image search into coding assistants for documentation.

FAQ from Hachimi Image Search

What dependencies are required?

Java 21 or later and a free Pexels API key from pexels.com/api.

How do I configure the API key?

Set the environment variable PEXELS_API_KEY or include it in the env field of the MCP client JSON configuration.

Which communication modes are supported?

Stdio (standard input/output) and SSE (Server-Sent Events via HTTP on port 8080). Activate via Spring profiles stdio or sse.

What does the tool output look like?

Image links are returned as comma‑separated strings (or a single link for searchSingleImage).

Are there limits on how many images can be requested?

searchImageWithCount accepts a count between 1 and 20. The

コメント

「検索」の他のコンテンツ