The Image Analysis MCP Server is a specialized tool designed to analyze image content using the GPT-4-turbo model. It accepts image URLs as input and provides detailed analysis of the image's content, making it ideal for applications requiring high-accuracy image recognition and description.
To set up the Image Analysis MCP Server, follow these steps:
# Clone the repository
git clone https://github.com/champierre/image-mcp-server.git
cd image-mcp-server
# Install dependencies
npm install
# Compile TypeScript
npm run build
To use the server, you need an OpenAI API key. Set the following environment variable:
OPENAI_API_KEY=your_openai_api_key
Add the following configuration to 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": []
}
}
}
Add the following configuration to 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": []
}
}
}
Once the MCP server is configured, you can use the following tool:
analyze_image
: Analyzes the content of an image URL.画像URLを分析してください: https://example.com/image.jpg
To run the server in development mode:
npm run dev
This project is licensed under the ISC License.