图像 mcp 服务器
这是一个 MCP 服务器,它接收图像 URL 并使用 GPT-4o-mini 模型分析图像内容。
功能
将图像 URL 作为输入并对图像内容进行详细分析
使用 GPT-4o-mini 模型进行高精度图像识别和解释
图片URL合法性检查函数
安装
# リポジトリをクローン
git clone https://github.com/champierre/image-mcp-server.git
cd image-mcp-server
# 依存パッケージのインストール
npm install
# TypeScriptのコンパイル
npm run build
环境
要使用此服务器,您将需要一个 OpenAI API 密钥。设置以下环境变量:
OPENAI_API_KEY=your_openai_api_key
配置 MCP 服务器
要将其与 Cline 等工具一起使用,请将以下内容添加到您的 MCP 服务器配置文件中:
对于 VSCode Claude 扩展
将以下内容添加到cline_mcp_settings.json :
{
"mcpServers": {
"image-analysis": {
"command": "node",
"args": ["/path/to/image-mcp-server/dist/index.js"],
"env": {
"OPENAI_API_KEY": "your_openai_api_key"
},
"disabled": false,
"autoApprove": []
}
}
}
克劳德桌面应用程序
将以下内容添加到claude_desktop_config.json :
{
"mcpServers": {
"image-analysis": {
"command": "node",
"args": ["/path/to/image-mcp-server/dist/index.js"],
"env": {
"OPENAI_API_KEY": "your_openai_api_key"
},
"disabled": false,
"autoApprove": []
}
}
}
如何使用
配置 MCP 服务器后,可以使用以下工具:
analyze_image:获取图像 URL 并分析其内容
使用示例
画像URLを分析してください: https://example.com/image.jpg
发展
# 開発モードで実行
npm run dev
执照
国际学习中心
remote-capable server
The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.
Tools
一个接受图像 URL 并使用 GPT-4-turbo 编译其内容的服务器,使 Claude AI 助手能够通过自然语言理解和描述图像。
Related Resources
Related MCP Servers
- Asecurity-licenseAqualityA MCP server that enables Claude and other MCP-compatible assistants to generate images from text prompts using Together AI's image generation models.Last updated -4MIT License
- Asecurity-licenseAqualityProvides image recognition capabilities using Anthropic Claude Vision and OpenAI GPT-4 Vision APIs, supporting multiple image formats and offering optional text extraction via Tesseract OCR.Last updated -327MIT License
- -security-license-qualityA modular server implementation for Claude AI assistants with integrated tools, enabling Claude to perform actions and access external resources like file systems, web searches, browser automation, financial data, and document generation.Last updated -98MIT License
- Asecurity-licenseAqualityA server that integrates with Claude Desktop to enable real-time web research capabilities, allowing users to search Google, extract webpage content, and capture screenshots directly from conversations.Last updated -315,704MIT License