Search AI Tools

Agent skill

zai-mcp-server

Use Zhipu CodePlan MCP vision server for screenshot/UI understanding: OCR, error screenshot diagnosis, and UI→artifact conversion. Use when you need to analyze images, extract text, or turn UI into code/spec. Triggers: OCR, screenshot, 识图, 提取文字, diagnose error screenshot, ui_to_artifact.

Stars 0
Forks 0

Install this agent skill to your Project

npx add-skill https://github.com/zkl2333/skills/tree/main/skills/zai-mcp-server

SKILL.md

Prerequisites (mcporter)

Add this server to your mcporter.json (merge under mcpServers):

json
"zai-mcp-server": {
  "command": "npx",
  "args": ["-y", "@z_ai/mcp-server"],
  "env": {
    "Z_AI_API_KEY": "YOUR_ZHIPU_API_KEY",
    "Z_AI_MODE": "ZHIPU"
  }
}

Based on the Zhipu CodePlan MCP server configuration, this skill provides functionality for visual understanding tasks. This server offers several specialized sub-tools:

  • ui_to_artifact: Converts UI screenshots into code, prompts, specifications, or descriptions.
  • extract_text_from_screenshot: Performs OCR to extract text content from screenshots (supports local file paths or remote URLs).
  • diagnose_error_screenshot: Analyzes error screenshots to provide diagnostic information.
  • understand_technical_diagram: Interprets technical diagrams such as architecture diagrams, flowcharts, etc.
  • analyze_data_visualization: Analyzes data charts and visualizations.

Common Parameters (for most sub-tools):

  • image_source (string, required): The local file path or remote URL of the image.
  • prompt (string, required): Describes what you want to extract or analyze from the image.

Example (using extract_text_from_screenshot):

bash
mcporter call zai-mcp-server.extract_text_from_screenshot image_source="https://avatars.githubusercontent.com/u/252820863" prompt="图中有什么文字或内容?"

Expand your agent's capabilities with these related and highly-rated skills.

Didn't find tool you were looking for?

Be as detailed as possible for better results