streamable-httpMITupdated 11mo ago
This is remote server, use local version for local images and videos.
Artin0123 gemini image mcp server 能做什么?
image-mcp-server-gemini
This is remote server, use local version for local images and videos.
Features
- Analyze one or more image URLs with a single tool call.
- Analyze YouTube videos without downloading files locally.
- Supply an API key and optionally override the Gemini model via environment variables.
- File size limit: Images are limited to 16 MB to ensure fast processing.
- YouTube videos: No size limit as they are streamed directly by Gemini API.
Installation
Installing via Smithery
Install the server in Claude Desktop:
npx -y @smithery/cli install @Artin0123/gemini-image-mcp-server --client claude
Manual Installation
# Clone the repository
git clone https://github.com/Artin0123/gemini-vision-mcp.git
cd gemini-vision-mcp
# Install dependencies
npm install
# Compile TypeScript to dist/
npm run build
Configuration
Create a Gemini API key in Google AI Studio and provide GEMINI_API_KEY to the server.
{
"mcpServers": {
"gemini-media": {
"command": "node",
"args": ["/absolute/path/to/gemini-vision-mcp/dist/index.js"],
"env": {
"GEMINI_API_KEY": "your_api_key_here",
"GEMINI_MODEL": "models/gemini-flash-lite-latest"
}
}
}
}
If no key is supplied, the server can still start (handy for automated scans), but any tool invocation will return a configuration error until a valid API key is configured.
Model override
The server defaults to models/gemini-flash-lite-latest. Override it by either:
Setting the
GEMINI_MODELenvironment variable, or ProvidingmodelNamein the Smithery/SDK configuration schema.
Available tools
analyze_image: Analyze one or more image URLs. Maximum file size: 16 MB per image.analyze_youtube_video: Analyze a YouTube video from URL. No size limit.
Image URLs are downloaded and processed with a 16 MB size limit to ensure fast response times. Files exceeding this limit will result in an error message indicating the actual file size.
YouTube videos are streamed directly by Gemini API without downloading, so there is no size restriction.
Prompt examples
Please analyze this product photo: https://teimg-bgr.pages.dev/file/mvYT6KeF.webp
Extract the main talking points from this clip: https://www.youtube.com/watch?v=dQw4w9WgXcQ
Development
npm install
npm test
npm run build
The test suite exercises URL forwarding, MIME handling, and configuration fallbacks.
License
MIT
安装
把 Artin0123 gemini image mcp server 添加到你的客户端。选择你正在使用的那个。
claude mcp add --transport http artin0123-gemini-image-mcp-server https://server.smithery.ai/@Artin0123/gemini-image-mcp-server/mcpcodex mcp add artin0123-gemini-image-mcp-server --url https://server.smithery.ai/@Artin0123/gemini-image-mcp-server/mcp{
"mcpServers": {
"artin0123-gemini-image-mcp-server": {
"url": "https://server.smithery.ai/@Artin0123/gemini-image-mcp-server/mcp"
}
}
}Add to `~/.cursor/mcp.json`, or `.cursor/mcp.json` for a single project.
{
"servers": {
"artin0123-gemini-image-mcp-server": {
"type": "http",
"url": "https://server.smithery.ai/@Artin0123/gemini-image-mcp-server/mcp"
}
}
}Add to `.vscode/mcp.json` in your workspace.
{
"mcpServers": {
"artin0123-gemini-image-mcp-server": {
"url": "https://server.smithery.ai/@Artin0123/gemini-image-mcp-server/mcp"
}
}
}Add to `claude_desktop_config.json`, then restart Claude Desktop.
{
"mcpServers": {
"artin0123-gemini-image-mcp-server": {
"serverUrl": "https://server.smithery.ai/@Artin0123/gemini-image-mcp-server/mcp"
}
}
}Add to `~/.codeium/windsurf/mcp_config.json`.
2 个工具
Artin0123 gemini image mcp server 向已连接的智能体提供 2 个工具。
- analyze_image
- Analyze one or more image URLs. **Maximum file size: 16 MB per image.**
- analyze_youtube_video
- Analyze a YouTube video from URL. No size limit.
评分
70 / 100
良好
- 文档22/25
- 维护15/25
- 可信度13/20
- 能力8/15
- 安装体验12/15
- Documents what it does and how to connect
- Has a resolvable package or endpoint
- Exposes at least one tool, prompt or resource
- README has substantive content
- Includes a code example
- Documents its configuration
- Mentions credentials or security posture
- Last commit 328 days ago
- Has a release history
- Repository is not archived
- Licensed MIT
- Namespace verified in the official MCP registry
- Claimed by its owner
- Published under an organisation
- 2 tool(s) documented
- Provides prompt templates
- Provides resources
- 6 documented install method(s)
- Published to a package registry
- Offers a hosted endpoint — no local install
版本历史
| 版本 | 发布于 |
|---|---|
| 1.4.3最新 | 2025年10月8日 |
| 1.4.2 | 2025年10月8日 |
| 0.0.0 | 2025年10月7日 |
| 1.3.4 | 2025年10月7日 |
| 1.3.3 | 2025年10月7日 |
| 1.3.2 | 2025年10月7日 |
| 1.3.1 | 2025年10月7日 |
| 1.3.0 | 2025年10月7日 |
| 1.2.0 | 2025年10月6日 |