Skip to main content
Glama

glm-vision-mcp

智谱 GLM-4.6V-Flash(무료 비전 모델)를 래핑한 MCP 서버로, 모든 MCP 클라이언트에 analyze_image 도구를 노출하며 단일/다중 이미지 분석, OCR, 다중 이미지 비교를 지원합니다.

기능

기능

설명

이미지 분석

로컬 경로 / http(s) URL / base64 data URI 모두 지원, 자동으로 data URI 변환

다중 이미지 비교

여러 이미지를 한 번에 전달, prompt에 따라 비교 분석

속도 제한 탄력성

429 / 1302 / 1305 지수 백오프 재시도 → 다중 Key 폴링 → 대체 모델 glm-4.1v-thinking-flash로 다운그레이드

구성 자가 점검

check_config 도구가 Key/모델/엔드포인트 확인, Key 노출 없음

Related MCP server: vision-mcp

환경 요구사항

  • Python >= 3.10

  • 智谱 오픈 플랫폼 API Key(https://open.bigmodel.cn/usercenter/apikeys), glm-4.6v-flash 무료

  • 속도 제한 확률을 더 낮추려면 여러 계정을 등록하여 각각 Key를 발급받고, 설정 시 영어 쉼표로 구분하세요.

설치

cd glm-vision-mcp
python -m venv .venv
.venv\Scripts\pip install -r requirements.txt

시작

# stdio 模式(MCP 客户端默认方式)
$env:ZHIPU_API_KEY = "你的Key"
.venv\Scripts\python server.py

# SSE 调试模式(无鉴权,仅限本机)
.venv\Scripts\python server.py --sse 8090

클라이언트 구성

Codex(~/.codex/config.toml)

[mcp_servers.glm-vision]
command = "C:\\绝对路径\\glm-vision-mcp\\.venv\\Scripts\\python.exe"
args = ["C:\\绝对路径\\glm-vision-mcp\\server.py"]

[mcp_servers.glm-vision.env]
ZHIPU_API_KEY = "你的Key"
# GLM_VISION_MODELS = "glm-4.6v-flash"
# GLM_API_BASE = "https://open.bigmodel.cn/api/paas/v4/chat/completions"

Claude Desktop(claude_desktop_config.json)

{
  "mcpServers": {
    "glm-vision": {
      "command": "C:\\绝对路径\\glm-vision-mcp\\.venv\\Scripts\\python.exe",
      "args": ["C:\\绝对路径\\glm-vision-mcp\\server.py"],
      "env": { "ZHIPU_API_KEY": "你的Key" }
    }
  }
}

도구 인터페이스

analyze_image(images, prompt, temperature, max_tokens, thinking)

매개변수

유형

필수

설명

images

string[]

로컬 경로 / http(s) URL / data URI

prompt

string

아니요

분석 요청, 기본값 "이 이미지의 내용을 자세히 설명해 주세요"

temperature

number

아니요

0.0~1.0, 기본값 0.7

max_tokens

integer

아니요

최대 출력 토큰, 기본값 2048

thinking

boolean

아니요

심층 사고 모드, 기본값 false

환경 변수

변수

필수

설명

ZHIPU_API_KEY

智谱 API Key, 쉼표로 구분하여 다중 Key 폴링 지원

GLM_VISION_MODELS

아니요

모델 우선순위, 쉼표로 구분, 기본값 glm-4.6v-flash,glm-4.1v-thinking-flash

GLM_API_BASE

아니요

API 엔드포인트 재정의

주의사항

  • 로컬 이미지 단일 ≤ 10MB, jpg/jpeg/png/webp/gif/bmp 지원

  • 무료 모델은 피크 시간대에 속도 제한이 있을 수 있으며, 모든 Key + 모든 모델이 제한될 때만 오류가 발생합니다. 15~30초 기다렸다가 피크를 피해 재시도하세요.

  • 401/400 등 비속도제한 오류는 다운그레이드나 재시도 없이 바로 반환되어 구성 문제를 쉽게 파악할 수 있습니다.

검증

# 离线检查(不联网)
.venv\Scripts\python test_smoke.py

# 联网冒烟:MCP 握手 + analyze_image 真实调用
$env:ZHIPU_API_KEY = "你的Key"
.venv\Scripts\python test_smoke.py --live
Install Server
A
license - permissive license
A
quality
C
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Servers

  • A
    license
    A
    quality
    A
    maintenance
    Multi-model vision understanding MCP server that provides unified image analysis for AI assistants without native vision, supporting models like GLM-4.6V, DeepSeek-OCR, Qwen3-VL-Flash, and more.
    1
    3,789
    100
    MIT
  • A
    license
    Not graded
    quality
    C
    maintenance
    MCP server for analyzing images using multiple vision LLM providers (OpenCode, OpenAI, Anthropic, Google, and custom OpenAI-compatible endpoints). Provides tools to analyze single or multiple images, list providers, and test vision capabilities.
    MIT

View all related MCP servers

Related MCP Connectors

  • MCP server for GLM chat completions using Zhipu AI models via AceDataCloud

  • OCR, transcription, file extraction, and image generation for AI agents via MCP.

  • MCP server for MiniMax H3 multimodal video generation

View all MCP Connectors

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/River831/glm-vision-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server