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

评论

搜索 分类下的更多 MCP 服务器