# 图像提取转换服务
MCP服务器提供从本地文件、URL提取图像并转换为base64格式的功能,适用于LLM分析。
The MCP server offers the function of extracting images from local files and urls and converting them to base64 format, which is suitable for LLM analysis.## 工具列表 Tool List
本MCP服务封装下列工具,可让模型通过标准化接口调用以下功能。 本MCP服务封装下列工具,可让模型通过标准化接口调用以下功能。
| 工具 Tool | 描述 Description |
|-------|--------------------|
| extract_image_from_file | Extract and analyze images from local file paths. Supports visual content understanding, OCR text extraction, and object recognition for screenshots, photos, diagrams, and documents. |
| extract_image_from_url | Extract and analyze images from web URLs. Perfect for analyzing web screenshots, online photos, diagrams, or any image accessible via HTTP/HTTPS for visual content analysis and text extraction. |
| extract_image_from_base64 | Extract and analyze images from base64-encoded data. Ideal for processing screenshots from clipboard, dynamically generated images, or images embedded in applications without requiring file system access. |
## 检查服务 ## Inspector
工具在线测试: [https://mcp.xiaobenyang.com/inspector/1777316659462147](https://mcp.xiaobenyang.com/inspector/1777316659462147)
Online Tool test [https://mcp.xiaobenyang.com/inspector/1777316659462147](https://mcp.xiaobenyang.com/inspector/1777316659462147)
## 服务配置 MCP Server Config
> #### 如何获取 XBY-APIKEY ? How to get XBY-APIKEY ?
> 访问小笨羊科技网站 [https://xiaobenyang.com](https://xiaobenyang.com),注册用户即可获得APIKEY
> Visit XiaoBenYang website [https://xiaobenyang.com](https://xiaobenyang.com), register and get the APIKEY.
### SSE
```json
{
"mcpServers": {
"图像提取转换服务": {
"headers": {
"XBY-APIKEY": "<YOUR_XBY_APIKEY>"
},
"type": "sse",
"url": "https://mcp.xiaobenyang.com/1777316659462147/sse"
}
}
}
```
### STREAMABLE HTTP
```json
{
"mcpServers": {
"图像提取转换服务": {
"headers": {
"XBY-APIKEY": "<YOUR_XBY_APIKEY>"
},
"type": "streamable_http",
"url": "https://mcp.xiaobenyang.com/1777316659462147/mcp"
}
}
}
```
### STDIO
```json
{
"mcpServers": {
"图像提取转换服务": {
"command": "npx",
"args": [
"-y",
"xiaobenyang-mcp"
],
"env": {
"XBY_APIKEY": "<YOUR_XBY_APIKEY>",
"mcpId": "1777316659462147",
},
"transport": "stdio"
}
}
}
```