MCP.so
登录
H

Hachimi Image Search MCP Server

@Marisalice114

基本信息

分类

搜索

传输方式

stdio

作者

Marisalice114

提交者

先生 张

关于 Hachimi Image Search MCP Server

hachimiagent中使用的图片搜索mcp

Hachimi Image Search MCP Server 配置

使用下面的配置,将此服务器添加到你的 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"
      }
    }
  }
}

Hachimi Image Search MCP Server 工具

工具列表暂未提供

当前收录暂时没有可展示的工具列表,不代表服务没有工具。请查阅项目文档了解支持的能力。

工具是从 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.

常见问题

1

What dependencies are required?

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

2

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.

3

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`.

4

What does the tool output look like?

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

5

Are there limits on how many images can be requested?

searchImageWithCount accepts a count between 1 and 20. The

评论

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