x=hub

your toolset

    build deployment
    sign in

    zig-mcp-server

    projectother official build verified dockerfile by the hub scanned
    io.github.opensvm/zig-mcp-server · v
    deploy just this

    A Model Context Protocol (MCP) server that provides Zig language tooling, code analysis, and documentation access. This server enhances AI capabilities with Zig-specific functionality including code optimization, compute unit estimation, code generation, and best practices recommendations.

    run it

    on your own machines, one way per deploy method
    verified 2026-10-18 · r-20261018T085637Z-c6ec5e392346
    The repository has no Dockerfile that builds here: this build uses one the hub wrote (hub-llm:hub-coder@p6), which its worker built and ran, checked by hub-llm:gpt-oss:120b@r2.
    # once, as root:
    docker build -t mcp-local/zig:703cf894624802caa887aa3ab5a50a973ecb3062 -f - https://github.com/openSVM/zig-mcp-server.git#703cf894624802caa887aa3ab5a50a973ecb3062 <<'DOCKERFILE'
    # based on Dockerfile at 703cf8946248 (MIT)
    FROM node:22.12.0-alpine
    WORKDIR /app
    COPY . .
    RUN npm ci
    RUN npm run build
    RUN npm install -g supergateway@4
    USER node
    EXPOSE 8000
    CMD ["supergateway", "--stdio", "node build/index.js", "--outputTransport", "streamableHttp", "--stateful", "--port", "8000", "--streamableHttpPath", "/mcp"]
    DOCKERFILE
    
    #!/usr/bin/env bash
    # zig (io.github.opensvm/zig-mcp-server), recipe docker (worker, verified 2026-10-18 on v, run r-20261018T085637Z-c6ec5e392346).
    # Generated by Hub for toolset "my-agent"; started by mcp-my-agent-zig.service.
    set -euo pipefail
    export HOST=127.0.0.1 PORT=8101
    exec docker run --rm --name mcp-my-agent-zig -p 127.0.0.1:${PORT}:8000 --env-file /etc/mcp/my-agent.env mcp-local/zig:703cf894624802caa887aa3ab5a50a973ecb3062
    
    [Unit]
    Description=MCP server zig (toolset my-agent), generated by Hub
    After=network-online.target docker.service
    Wants=network-online.target
    
    [Service]
    Type=simple
    User=mcp
    Group=mcp
    SupplementaryGroups=docker
    EnvironmentFile=/etc/mcp/my-agent.env
    Environment=HOME=/var/lib/mcp/zig
    WorkingDirectory=/var/lib/mcp/zig
    ExecStart=/opt/mcp/my-agent/bin/zig.sh
    Restart=on-failure
    RestartSec=5
    NoNewPrivileges=true
    ProtectSystem=strict
    ProtectHome=true
    PrivateTmp=true
    ReadWritePaths=/var/lib/mcp/zig
    
    [Install]
    WantedBy=multi-user.target
    
    verified 2026-10-18 · r-20261018T085637Z-c6ec5e392346
    The repository has no Dockerfile that builds here: this build uses one the hub wrote (hub-llm:hub-coder@p6), which its worker built and ran, checked by hub-llm:gpt-oss:120b@r2.
    docker build -t zig -f - https://github.com/openSVM/zig-mcp-server.git#703cf894624802caa887aa3ab5a50a973ecb3062 <<'DOCKERFILE'
    # based on Dockerfile at 703cf8946248 (MIT)
    FROM node:22.12.0-alpine
    WORKDIR /app
    COPY . .
    RUN npm ci
    RUN npm run build
    RUN npm install -g supergateway@4
    USER node
    EXPOSE 8000
    CMD ["supergateway", "--stdio", "node build/index.js", "--outputTransport", "streamableHttp", "--stateful", "--port", "8000", "--streamableHttpPath", "/mcp"]
    DOCKERFILE
    docker run --rm -p 127.0.0.1:8101:8000 zig
    
    verified 2026-10-18 · r-20261018T085637Z-c6ec5e392346
    The repository has no Dockerfile that builds here: this build uses one the hub wrote (hub-llm:hub-coder@p6), which its worker built and ran, checked by hub-llm:gpt-oss:120b@r2.
    # Generated by Hub for toolset "my-agent" (2026-10-18T10:11:36+00:00).
    # Each package server runs behind a stdio->HTTP bridge and listens on localhost only.
    #   cp .env.example .env    # fill the ${VAR}s
    #   docker compose up -d && bash smoke.sh
    # Remote servers are not here: clients reach them directly (see clients/).
    name: mcp-my-agent
    services:
      zig:
        build:
          context: https://github.com/openSVM/zig-mcp-server.git#703cf894624802caa887aa3ab5a50a973ecb3062
          dockerfile_inline: |
            # based on Dockerfile at 703cf8946248 (MIT)
            FROM node:22.12.0-alpine
            WORKDIR /app
            COPY . .
            RUN npm ci
            RUN npm run build
            RUN npm install -g supergateway@4
            USER node
            EXPOSE 8000
            CMD ["supergateway", "--stdio", "node build/index.js", "--outputTransport", "streamableHttp", "--stateful", "--port", "8000", "--streamableHttpPath", "/mcp"]
        x-dockerfile: written by the hub (hub-llm:hub-coder@p6), checked by hub-llm:gpt-oss:120b@r2, not taken
          from the repository
        ports:
        - 127.0.0.1:8101:8000
        restart: unless-stopped
    volumes:
      npm-cache: {}
      uv-cache: {}
    
    verified 2026-10-18 · r-20261018T085637Z-c6ec5e392346
    The repository has no Dockerfile that builds here: this build uses one the hub wrote (hub-llm:hub-coder@p6), which its worker built and ran, checked by hub-llm:gpt-oss:120b@r2.
    # Generated by Hub for toolset "my-agent" (2026-10-18T10:11:36+00:00).
    #   kubectl create namespace mcp
    #   kubectl -n mcp create secret generic mcp-credentials --from-env-file=.env
    #   kubectl apply -f kubernetes.yaml
    # Services are cluster-internal: <name>.mcp.svc.cluster.local:8000/mcp. Put an ingress
    # with auth in front before exposing any of them.
    apiVersion: v1
    kind: Namespace
    metadata:
      name: mcp
    ---
    apiVersion: apps/v1
    kind: Deployment
    metadata:
      name: zig
      namespace: mcp
      labels: &id001
        app: zig
    spec:
      replicas: 1
      selector:
        matchLabels: *id001
      template:
        metadata:
          labels: *id001
        spec:
          containers:
          - name: zig
            image: CHANGE_ME
            ports:
            - containerPort: 8000
              name: http
            env: []
    ---
    apiVersion: v1
    kind: Service
    metadata:
      name: zig
      namespace: mcp
    spec:
      selector:
        app: zig
      ports:
      - port: 8000
        targetPort: http
        name: http
    
    dockerfile
    # based on Dockerfile at 703cf8946248 (MIT)
    FROM node:22.12.0-alpine
    WORKDIR /app
    COPY . .
    RUN npm ci
    RUN npm run build
    RUN npm install -g supergateway@4
    USER node
    EXPOSE 8000
    CMD ["supergateway", "--stdio", "node build/index.js", "--outputTransport", "streamableHttp", "--stateful", "--port", "8000", "--streamableHttpPath", "/mcp"]
    
    verified 2026-10-18 · r-20261018T085637Z-c6ec5e392346
    The repository has no Dockerfile that builds here: this build uses one the hub wrote (hub-llm:hub-coder@p6), which its worker built and ran, checked by hub-llm:gpt-oss:120b@r2.
    # Generated by Hub for toolset "my-agent" (2026-10-18T10:11:36+00:00).
    # Credentials come from the Secret 'mcp-credentials' (kubectl create secret generic ... --from-env-file=.env).
    # Each server under `servers` is one Deployment + Service; the keys after it configure
    # upstream charts a worker verified.
    servers:
      zig:
        enabled: true
        replicas: 1
        port: 8000
        path: /mcp
        container:
          name: zig
          image: CHANGE_ME
          ports:
          - containerPort: 8000
            name: http
          env: []
    
    # helm install my-agent helm/my-agent -n mcp
    
    dockerfile
    # based on Dockerfile at 703cf8946248 (MIT)
    FROM node:22.12.0-alpine
    WORKDIR /app
    COPY . .
    RUN npm ci
    RUN npm run build
    RUN npm install -g supergateway@4
    USER node
    EXPOSE 8000
    CMD ["supergateway", "--stdio", "node build/index.js", "--outputTransport", "streamableHttp", "--stateful", "--port", "8000", "--streamableHttpPath", "/mcp"]
    

    Scanned github.com/opensvm/zig-mcp-server at 703cf8946248 with [email protected][email protected] on 2026-10-18 before the build: 27 dependencies, 151 known vulnerabilities (4 critical, 64 high, 75 medium, 8 low), nothing in the code that looks malicious.

    connect to it

    copy what your client needs
    {
      "mcpServers": {
        "zig": {
          "command": "CHANGE_ME",
          "args": []
        }
      }
    }
    #!/usr/bin/env bash
    # Registers every server with Claude Code (run once; `claude mcp list` to check).
    set -euo pipefail
    set -a; [ -f .env ] && source .env; set +a
    claude mcp add zig -- CHANGE_ME
    
    {
      "mcpServers": {
        "zig": {
          "command": "CHANGE_ME",
          "args": []
        }
      }
    }
    {
      "servers": {
        "zig": {
          "type": "stdio",
          "command": "CHANGE_ME",
          "args": []
        }
      }
    }
    name: my-agent
    target: local
    servers:
    - hub: io.github.opensvm/zig-mcp-server
    
    • no tested recipe for target 'local' yet: build it from https://github.com/openSVM/zig-mcp-server by hand, or wait for the worker

    tools · 7

    • analyze_build_zigAnalyze a build.zig file and provide modernization recommendations

      Analyze a build.zig file and provide modernization recommendations

      pin 554a55701b7272b14751ae738517b9c4cac667717dac220e126dcc55674acc3d
    • estimate_compute_unitsEstimate computational complexity and resource usage with detailed analysis

      Estimate computational complexity and resource usage with detailed analysis

      pin 43c5aecb1337017e97128424534d759deddc0b02d1625da15ea5d64ff4401cc5
    • generate_build_zigGenerate a modern build.zig file with best practices

      Generate a modern build.zig file with best practices

      pin 3851168fd0de74ed84e2e0fe8e17f46a6cb49b89cec75731dbd69fa722ac6272
    • generate_build_zonGenerate a build.zig.zon file for dependency management

      Generate a build.zig.zon file for dependency management

      pin b39d3779b38d24c0e7c94075a3ec9613b2633c136f7c98ed6d5aa7c885cd2560
    • generate_codeGenerate modern Zig code from natural language descriptions

      Generate modern Zig code from natural language descriptions

      pin 0ef9002a67486e944e6794e94219d1bc2ac58c2c2196463b5fca74ae511b6b95
    • get_recommendationsGet comprehensive, multi-dimensional code analysis with 10+ specialized analyzers covering style, safety, performance, concurrency, metaprogramming, testing, build systems, interop, metrics, and modern Zig patterns

      Get comprehensive, multi-dimensional code analysis with 10+ specialized analyzers covering style, safety, performance, concurrency, metaprogramming, testing, build systems, interop, metrics, and modern Zig patterns

      pin b480c3f86959eed13c991dce769a67dc7d985da7f09a0563e6118c7cd9b765fe
    • optimize_codeOptimize Zig code for better performance with modern patterns

      Optimize Zig code for better performance with modern patterns

      pin 66fac8b28b963bfba6caa03eff6dd4203393b9f99cb540422c9cf4c3b197b9d3

    runs · 2

    the latest tests of this entry by the hub and its workers, newest first
    dateworkermethodstatussandboxreason
    2026-10-18 08:56 local-mac-vm dockermcp 2025-11-25 ok7 tools gvisor —
    2026-10-17 20:02 local-mac-vm docker failed gvisor docker: sandbox: docker build: Dockerfile:32 -------------------- 30 | 31 | # Install only production dependencies 32 | >>> RUN npm ci --omit=dev 33 | 34 | # Se…