Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
MMCP_CONFIGYesPath to the configuration YAML file (config.yaml)

Capabilities

Features and capabilities supported by this server

CapabilityDetails
tools
{
  "listChanged": false
}
prompts
{
  "listChanged": false
}
resources
{
  "subscribe": false,
  "listChanged": false
}
experimental
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
health_checkA

检查 oMLX、VLM、MinerU、PaddleOCR、Qwen3-ASR、ffmpeg、Playwright、ADB 等组件的可用性。

Args: deep: 是否进行深度检查(实际调用 API 验证视觉能力)

vision_inspectA

Analyze a single image: screenshot understanding, UI analysis, chart comprehension, error extraction. Use this tool ONLY when the user has an image and wants to understand its content, extract information, or analyze visual elements. Do NOT use for: comparing two images (use vision_diff), cropping/verifying a region (use vision_crop_verify).

Supports automatic detection of input format via image_source parameter (recommended):

  • Local file path (e.g. /path/to/image.png)

  • HTTP/HTTPS URL (e.g. https://example.com/image.png)

  • Base64 data URI (e.g. data:image/png;base64,...)

  • Plain base64 string (auto-detected by file header)

Args: image_source: Image source - local file path or remote URL (recommended, auto-detects format) image_path: Local image file path (backward compatible, prefer image_source) task: Analysis task description mode: Analysis mode (general|game_ui|web_ui|error|chart|diagram|design_to_code) need_ocr: Whether to enable OCR need_bbox: Whether to detect element bounding boxes detail_level: Detail level (normal|high) max_tokens: Maximum output tokens image_data: Base64 encoded image data (backward compatible)

vision_crop_verifyA

Crop a region of an image, enlarge it, and re-analyze with OCR/VLM for verification. Ideal for verifying small text, button states, etc. Use this tool ONLY when you need to zoom into and verify a specific region of an image. Do NOT use for: full image analysis (use vision_inspect), comparing two images (use vision_diff).

Args: image_source: Image source - local file path or remote URL (recommended, auto-detects format) image_path: Original image file path (backward compatible) bbox: Crop region [x1, y1, x2, y2] in original image pixel coordinates scale: Enlargement scale factor task: Verification task description use_paddleocr: Whether to use PaddleOCR image_data: Base64 encoded image data (backward compatible)

vision_diffA

Compare two UI screenshots or a design mockup with an implementation screenshot to identify visual differences. Use this tool ONLY when comparing an expected/reference UI with an actual implementation. Do NOT use for: analyzing a single image (use vision_inspect), error diagnosis, general image comparison.

Args: expected_image_source: Expected image source - local file path or remote URL (recommended) actual_image_source: Actual image source - local file path or remote URL (recommended) expected_image_path: Expected/design image path (backward compatible) actual_image_path: Actual/screenshot path (backward compatible) task: Comparison task description include_pixel_diff: Whether to include pixel-level diff visualization expected_image_data: Base64 encoded expected image data (backward compatible) actual_image_data: Base64 encoded actual image data (backward compatible)

doc_parseA

解析文档(PDF/DOCX/PPTX/XLSX/图片)为 Markdown/JSON。使用 MinerU 或 PaddleOCR。

Args: file_path: 文档文件路径 pages: 页码范围(如 "1-20"),默认全部 engine: 解析引擎 (auto|mineru|paddleocr) need_tables: 是否需要表格 need_formulas: 是否需要公式 need_images: 是否需要图片提取 output_format: 输出格式 (markdown|json|markdown+json)

audio_transcribeA

音频转写:支持 wav/mp3/m4a/flac 等格式。使用 Qwen3-ASR (mlx-audio)。

Args: audio_path: 音频文件路径 language: 语言 (auto|zh|en|ja|ko) timestamps: 是否输出时间戳 output_format: 输出格式 (json|txt)

video_indexC

视频索引:抽帧 + ASR 语音转写 + VLM 视觉分段理解。输出时间线。

Args: video_path: 视频文件路径 task: 分析任务描述 fps: 抽帧帧率 max_frames: 最大帧数 need_asr: 是否提取语音转写 need_ocr: 是否对帧做 OCR

gui_observeA

观察 GUI 目标:浏览器页面、安卓设备屏幕或 macOS 桌面。返回截图和状态信息。

Args: target: 观察目标 (browser|android|macos) session_id: 会话 ID include_screenshot: 是否包含截图 include_accessibility_tree: 是否包含无障碍树

gui_actA

执行 GUI 动作。高风险动作(点击、输入、提交等)需要确认令牌。

Args: target: 目标 (browser|android|macos) session_id: 会话 ID action: 动作 (click|type|press|swipe|back|home|wait|open_url) selector: CSS selector(浏览器用) x: X 坐标 y: Y 坐标 text: 输入文本 url: URL(open_url 动作) reason: 执行原因 confirm_token: 确认令牌(高风险动作必须)

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

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/rorojiao/local-mmcp'

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