npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

z_ai_vision_mcp_server_clone

v0.1.1

Published

OpenAI-compatible MCP server for custom vision model endpoints

Readme

z_ai_vision_mcp_server_clone

OpenAI-compatible MCP server for running image analysis tools against your own vision model endpoint.

Tools

  • ui_to_artifact
  • extract_text_from_screenshot
  • diagnose_error_screenshot
  • understand_technical_diagram
  • analyze_data_visualization
  • ui_diff_check
  • analyze_image

Configuration

Set either VISION_ENDPOINT or VISION_BASE_URL.

| Variable | Required | Description | | --- | --- | --- | | VISION_ENDPOINT | Yes, unless VISION_BASE_URL is set | Full chat completions endpoint. | | VISION_BASE_URL | Yes, unless VISION_ENDPOINT is set | Base URL; /chat/completions is appended. | | VISION_MODEL | Yes | Vision model name sent in the request body. | | VISION_API_KEY | No | Bearer token. Omit for local endpoints that do not require auth. | | VISION_PROVIDER | No | Label for your provider. Defaults to custom. | | VISION_MAX_IMAGE_MB | No | Local image size limit. Defaults to 5. | | VISION_TIMEOUT_MS | No | Request timeout. Defaults to 300000. | | VISION_TEMPERATURE | No | Optional model temperature. | | VISION_TOP_P | No | Optional model top_p. | | VISION_MAX_TOKENS | No | Optional max_tokens. |

You can also place these values in a local .env file in the working directory where the server starts. Real environment variables override .env values.

Run

npm install
npm run build
VISION_ENDPOINT=http://localhost:11434/v1/chat/completions VISION_MODEL=llava npm start

Or with .env:

npm start

MCP Client Example

{
  "mcpServers": {
    "z-ai-vision-clone": {
      "type": "stdio",
      "command": "npx",
      "args": ["-y", "z_ai_vision_mcp_server_clone"],
      "env": {
        "VISION_ENDPOINT": "https://your-provider.com/v1/chat/completions",
        "VISION_MODEL": "your-vision-model",
        "VISION_API_KEY": "your-api-key"
      }
    }
  }
}