Analyzes images using the GPT-4o-mini model via the OpenAI API.
An MCP server that receives image URLs or local file paths and analyzes image content using the GPT-4o-mini model.
To install Image Analysis Server for Claude Desktop automatically via Smithery:
npx -y @smithery/cli install @champierre/image-mcp-server --client claude
# Clone the repository
git clone https://github.com/champierre/image-mcp-server.git # or your forked repository
cd image-mcp-server
# Install dependencies
npm install
# Compile TypeScript
npm run build
To use this server, you need an OpenAI API key. Set the following environment variable:
OPENAI_API_KEY=your_openai_api_key
To use with tools like Cline, add the following settings to your MCP server configuration file:
Add the following 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"
}
}
}
}
Add the following 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"
}
}
}
}
Once the MCP server is configured, the following tools become available:
analyze_image
: Receives an image URL and analyzes its content.analyze_image_from_path
: Receives a local file path and analyzes its content.Analyzing from URL:
Please analyze this image URL: https://example.com/image.jpg
Analyzing from local file path:
Please analyze this image: /path/to/your/image.jpg
When using the analyze_image_from_path
tool, the AI assistant (client) must specify a valid file path in the environment where this server is running.
C:\...
), it needs to convert it to a WSL path (e.g., /mnt/c/...
) before passing it to the tool./home/user/...
), it needs to convert it to a UNC path (e.g., \\wsl$\Distro\...
) before passing it to the tool.Path conversion is the responsibility of the AI assistant (or its execution environment). The server will try to interpret the received path as is.
When running npm run build
, you may see an error (TS7016) about missing TypeScript type definitions for the mime-types
module.
src/index.ts:16:23 - error TS7016: Could not find a declaration file for module 'mime-types'. ...
This is a type checking error, and since the JavaScript compilation itself succeeds, it does not affect the server's execution. If you want to resolve this error, install the type definition file as a development dependency.
npm install --save-dev @types/mime-types
# or
yarn add --dev @types/mime-types
# Run in development mode
npm run dev
MIT
An MCP server for interacting with the Coolify API to manage servers and applications.
Streams real-time Binance Alpha token prices and liquidity data for AI agents and workflows.
An MCP server deployed on Cloudflare Workers, featuring OAuth login and data storage via Cloudflare KV.
Interact with Heroku Platform resources securely using the Heroku CLI. Requires the Heroku CLI and a valid API key.
Deploy, configure & interrogate your resources on the Cloudflare developer platform (e.g. Workers/KV/R2/D1)
Query OpenAI models directly from Claude using MCP protocol
Manage virtual machines across multiple cloud providers, including AWS EC2, Azure Virtual Machines, and GCP Compute Engine.
A read-only MCP server for Azure Data Catalog, powered by CData's JDBC driver.
Access Prometheus metrics and queries through standardized MCP interfaces.
An MCP server for managing ONOS (Open Network Operating System) networks.