glm-vision-mcp
Enables image analysis using the GLM-4.6V-Flash model, supporting image URLs and local file paths with custom prompts for tasks like OCR and chart analysis.
README
GLM Vision MCP Server
基于 智谱 GLM-4.6V-Flash 模型的图像识别 MCP 工具。
安装
方式一:PyPI 安装
pip install glm-vision-mcp
方式二:本地安装
git clone <repo-url>
cd glm-vision-mcp
pip install -e .
前置条件
- 注册 智谱开放平台 账号
- 获取 API Key
配置
在 MCP Client 配置文件中添加(如 claude_desktop_config.json 或 .mcp.json):
{
"mcpServers": {
"glm-vision": {
"command": "uv",
"args": ["run", "--directory", "<项目路径>", "glm-vision-mcp"],
"env": {
"ZHIPU_API_KEY": "your-api-key-here"
}
}
}
}
或 PyPI 安装后:
{
"mcpServers": {
"glm-vision": {
"command": "python",
"args": ["-m", "glm_vision_mcp.server"],
"env": {
"ZHIPU_API_KEY": "your-api-key-here"
}
}
}
}
使用
analyze_image
分析图片内容,支持 URL 和本地文件路径。
参数:
| 参数 | 类型 | 必填 | 说明 |
|---|---|---|---|
image |
string | 是 | 图片 URL(https://...)或本地文件路径 |
prompt |
string | 否 | 自定义分析指令,默认"请详细描述这张图片" |
示例:
- 描述图片:
{"image": "https://example.com/photo.jpg"} - OCR 提取:
{"image": "C:\\screenshots\\receipt.png", "prompt": "提取图中的所有文字"} - 图表分析:
{"image": "/data/chart.png", "prompt": "分析这个图表的趋势和关键数据"}
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.
E2B
Using MCP to run code via e2b.