轩辕镜像 官方专业版
轩辕镜像
专业版
轩辕镜像 官方专业版
轩辕镜像
专业版
首页个人中心搜索镜像
交易
充值流量¥7起我的订单
文档
工具
提交工单页面收录
universal-mcp-stable

ezezzjzsh/universal-mcp-stable

ezezzjzsh

MCP Runner - Minimalist orchestrator for Model Context Protocol servers

下载次数: 0状态:社区镜像维护者:ezezzjzsh仓库类型:镜像最近更新:11 个月前
让 AI 帮你使用轩辕镜像? · 展开查看说明 · 点击收起说明

如果你使用 DeepSeek、元宝 AI、Copilot、ChatGPT 等 AI 工具,协助配置轩辕镜像、编写 docker pull 命令、修改 Docker Compose 镜像地址、配置镜像加速、排查镜像拉取失败、分析报错日志等问题,请先让 AI 阅读并遵守轩辕镜像的规则文档。

只需在 AI 对话中先发送下面这句话即可:

请先完整阅读并严格遵守以下文档中的全部规则与要求:

https://xuanyuan.cloud/agents.md

在未充分阅读并理解该文档前,不要生成任何命令、配置、修改建议、故障排查方案或技术回答。后续所有输出都必须严格以该文档中的规范为最高优先级执行。

查看 agents.md 用法指南与完整示范。国内用户首推 元宝 AI、DeepSeek 的深度思考模式,不推荐豆包 AI;Cursor 等编辑器可在对话 @ 该链接,或加入 User Rules。 若 AI 无法访问外链,可 打开说明文档 复制全文粘贴。文档会随站点更新,复制内容可能过期,建议定期检查。

镜像简介
下载命令
镜像标签列表与下载命令
轩辕镜像,快一点,稳很多。
点击查看

MCP Runner - Universal MCP Server Orchestrator

The stable, production-ready orchestrator for Model Context Protocol (MCP) servers
Transform any MCP server into a unified SSE gateway with proven reliability across TypeScript, Python, and other implementations.

🚀 Overview

MCP Runner (formerly MCP Gateway Orchestrator) is a minimalist, stateless orchestrator that transforms any MCP server into a production-grade SSE (Server-Sent Events) gateway. Built on John Carmack's engineering principles: every line justified, complexity eliminated, robustness through radical simplicity.

🏆 Key Features

  • ✅ Universal Protocol Support - STDIO, SSE, StreamableHTTP → Unified SSE output
  • ⚡ Reactive Auto-Healing - Automatic detection and fixing of common deployment issues
  • 🛡️ Production Hardened - Node.js 22, Alpine Linux, enterprise-grade supervision
  • 🎭 Stateless Architecture - Pure functions, immutable environment, zero configuration drift
  • 📊 Battle-Tested - Proven with DataForSEO (52 tools), language servers, and complex integrations

https://img.shields.io/badge/Docker-ezezzjzsh%2Funiversal--mcp--stable-blue?logo=docker](https://hub.docker.com/r/ezezzjzsh/universal-mcp-stable) https://img.shields.io/badge/Node.js-22%20LTS-green?logo=node.js]([***] https://img.shields.io/badge/License-MIT-yellow.svg](https://opensource.org/licenses/MIT)


🎯 Quick Start

Using Docker Hub Image (Recommended)

bash
# Deploy DataForSEO MCP Server (52 SEO/SERP tools)
docker run -d -p 8765:8765 \
  -e REPO_URL="https://github.com/dataforseo/mcp-server-typescript" \
  -e PREFLIGHT_COMMANDS="npm install && npm run build" \
  -e MCP_GATEWAY_CONFIG='{"input":{"type":"repo","protocol":"stdio","runCommand":"npx dataforseo-mcp-server"},"output":{"protocol":"sse","port":8765}}' \
  ezezzjzsh/universal-mcp-stable:latest

# Verify deployment
curl http://localhost:8765/sse

Build From Source

bash
# Clone and build
git clone https://github.com/thinkbuddyai/mcp-runner.git
cd mcp-runner
docker build -t mcp-runner:local .

# Run with local image
docker run -d -p 8765:8765 \
  -e REPO_URL="https://github.com/alexwohletz/language-server-mcp" \
  -e PREFLIGHT_COMMANDS="npm install" \
  -e MCP_GATEWAY_CONFIG='{"input":{"type":"repo","protocol":"stdio","runCommand":"npx @languages/language-server-mcp"},"output":{"protocol":"sse","port":8765}}' \
  mcp-runner:local

🏗️ Architecture

Universal Pattern: Any Input → SSE Output

mermaid
graph LR
    A[MCP Server] -->|STDIO/SSE/HTTP| B[MCP Runner]
    B --> C[SSE Port 8765]
    
    subgraph "Input Sources"
        D[Git Repository]
        E[Remote URL] 
        F[Local Command]
    end
    
    subgraph "Core Components"
        G[index.ts - Orchestrator]
        H[entrypoint.sh - Supervisor]
        I[known-fixes.ts - Auto-healing]
        J[types.ts - Validation]
    end
    
    D --> A
    E --> A
    F --> A
    
    B -.-> G
    B -.-> H
    B -.-> I
    B -.-> J

Three-Phase Execution

  1. 🏗️ Build Phase - Clone repository (if needed), run preflight commands, resolve dependencies
  2. 🚀 Runtime Phase - Start background servers (for network protocols), configure environment
  3. 🎯 Gateway Phase - Launch supergateway with protocol bridging to SSE

🛠️ Configuration

Environment Variables

VariableRequiredDescriptionExample
MCP_GATEWAY_CONFIG✅Main configuration JSONSee examples below
REPO_URL⚠️Git repository URL (required for repo inputs)https://github.com/user/repo
PREFLIGHT_COMMANDS❌Setup commands to run before startingnpm install && npm run build
LOG_LEVEL❌Logging verbositydebug, info

Configuration Schema

typescript
interface Config {
  input: {
    type: "repo" | "url"
    protocol: "stdio" | "sse" | "streamableHttp"
    runCommand?: string  // For repo inputs
    target?: string      // For URL inputs
    port?: number        // For network protocols
    options?: {          // For URL inputs
      headers?: Record<string, string>
      oauth2Bearer?: string
    }
  }
  output: {
    protocol: "sse"  // Always SSE
    port: number     // Default: 8765
    options?: {
      cors?: boolean | string | string[]
      healthEndpoint?: string | string[]
      baseUrl?: string
      ssePath?: string
      messagePath?: string
    }
  }
}

📚 Deployment Patterns

Pattern 1: Repository STDIO (Most Common)

Perfect for CLI-based MCP servers that communicate via standard input/output.

bash
docker run -d -p 8765:8765 \
  -e REPO_URL="https://github.com/username/mcp-server" \
  -e PREFLIGHT_COMMANDS="npm install && npm run build" \
  -e MCP_GATEWAY_CONFIG='{
    "input": {
      "type": "repo",
      "protocol": "stdio",
      "runCommand": "npm start"
    },
    "output": {
      "protocol": "sse",
      "port": 8765
    }
  }' \
  ezezzjzsh/universal-mcp-stable:latest

Pattern 2: Repository Network Server

For MCP servers that run as HTTP/SSE servers themselves.

bash
docker run -d -p 8765:8765 \
  -e REPO_URL="https://github.com/username/sse-server" \
  -e PREFLIGHT_COMMANDS="npm install" \
  -e MCP_GATEWAY_CONFIG='{
    "input": {
      "type": "repo",
      "protocol": "sse",
      "runCommand": "npm start",
      "port": 3001
    },
    "output": {
      "protocol": "sse",
      "port": 8765
    }
  }' \
  ezezzjzsh/universal-mcp-stable:latest

Pattern 3: Remote URL Proxy

Connect to external MCP services.

bash
docker run -d -p 8765:8765 \
  -e MCP_GATEWAY_CONFIG='{
    "input": {
      "type": "url",
      "protocol": "sse",
      "target": "https://api.example.com/mcp",
      "options": {
        "oauth2Bearer": "token",
        "headers": {
          "X-API-Key": "key"
        }
      }
    },
    "output": {
      "protocol": "sse",
      "port": 8765,
      "options": {
        "cors": true,
        "healthEndpoint": ["/health", "/status"]
      }
    }
  }' \
  ezezzjzsh/universal-mcp-stable:latest

🔧 Reactive Auto-Healing

MCP Runner includes intelligent auto-healing that detects and fixes common deployment issues automatically:

Auto-Fixed Issues

IssueDetectionAutomatic Fix
Missing npm start scriptMissing script: "start"Uses node dist/index.js or node build/index.js
Missing npm build scriptMissing script: "build"Uses npx tsc or removes build step
Python environment restrictionsexternally-managed-environmentAdds --break-system-packages flag
Missing TypeScripttsc: command not foundInstalls TypeScript automatically
Missing package-lock.jsonBuild optimizationUses npm install instead of npm ci
UV package manager missinguv: command not foundFalls back to python -m or installs UV

Manual Interventions Required

Some issues require manual configuration:

  • Authentication: API keys, tokens, credentials
  • Binary incompatibility: Use bookworm image instead of alpine for glibc requirements
  • Repository not found: Use alternative repositories

🏭 Production Deployment

Railway Deployment

Deploy to Railway with automatic scaling and monitoring:

yaml
# railway.toml
[build]
builder = "dockerfile"
dockerfilePath = "Dockerfile"

[deploy]
startCommand = "/entrypoint.sh"
healthcheckPath = "/health"
healthcheckTimeout = 10
restartPolicyType = "on-failure"
restartPolicyMaxRetries = 3

[[services]]
name = "mcp-runner"
port = 8765

Docker Compose

yaml
version: '3.8'
services:
  mcp-runner:
    image: ezezzjzsh/universal-mcp-stable:latest
    ports:
      - "8765:8765"
    environment:
      - MCP_GATEWAY_CONFIG=${MCP_CONFIG}
      - REPO_URL=${REPO_URL}
      - PREFLIGHT_COMMANDS=${PREFLIGHT}
    restart: unless-stopped
    healthcheck:
      test: ["CMD", "curl", "-f", "http://localhost:8765/sse"]
      interval: 30s
      timeout: 10s
      retries: 3
    resources:
      limits:
        memory: 1GB
        cpus: '0.5'

Kubernetes

yaml
apiVersion: apps/v1
kind: Deployment
metadata:
  name: mcp-runner
spec:
  replicas: 3
  selector:
    matchLabels:
      app: mcp-runner
  template:
    spec:
      containers:
      - name: mcp-runner
        image: ezezzjzsh/universal-mcp-stable:latest
        ports:
        - containerPort: 8765
        env:
        - name: MCP_GATEWAY_CONFIG
          valueFrom:
            configMapKeyRef:
              name: mcp-config
              key: config.json
        resources:
          requests:
            memory: "512Mi"
            cpu: "250m"
          limits:
            memory: "1Gi"
            cpu: "500m"

🧪 Local Development

Prerequisites

  • Docker 20.10+
  • Node.js 22+ (for local testing)
  • Git

Development Setup

bash
# Clone repository
git clone https://github.com/thinkbuddyai/mcp-runner.git
cd mcp-runner

# Install dependencies
npm install

# Run tests
npm test
npm run typecheck

# Build TypeScript
npm run build

# Test locally
MCP_GATEWAY_CONFIG='{"input":{"type":"repo","protocol":"stdio","runCommand":"echo test"},"output":{"protocol":"sse","port":8765}}' \
  node dist/index.js

Helper Script

Use the deployment helper for quick testing:

bash
# Create deployment config
cat > test-config.json << 'EOF'
{
  "name": "test-mcp",
  "port": 8765,
  "repo": {
    "url": "https://github.com/dataforseo/mcp-server-typescript",
    "preflight": "npm install && npm run build"
  },
  "config": {
    "input": {
      "type": "repo",
      "protocol": "stdio",
      "runCommand": "npx dataforseo-mcp-server"
    },
    "output": {
      "protocol": "sse",
      "port": 8765
    }
  }
}
EOF

# Deploy
./deploy.sh test-config.json

🚨 Troubleshooting

Container Won't Start

bash
# Check logs
docker logs <container-name>

# Verify configuration
echo $MCP_GATEWAY_CONFIG | jq .

# Test configuration locally
node dist/index.js

Port Already in Use

bash
# Find process using port
lsof -i :8765
netstat -tulpn | grep 8765

# Kill process
kill -9 <PID>

Authentication Errors

bash
# For Azure DevOps
-e AZURE_DEVOPS_ORG_URL="https://dev.azure.com/org" \
-e AZURE_DEVOPS_PAT="your_token"

# For DataForSEO
-e DATAFORSEO_LOGIN="your_login" \
-e DATAFORSEO_PASSWORD="your_password"

# For API services
-e API_KEY="your_key" \
-e API_SECRET="your_secret"

Build Failures

bash
# Increase timeout
-e PREFLIGHT_COMMANDS="npm install --timeout=600000"

# Use legacy peer deps
-e PREFLIGHT_COMMANDS="npm install --legacy-peer-deps"

# Skip optional dependencies
-e PREFLIGHT_COMMANDS="npm install --no-optional"

📈 Performance

Resource Usage

  • Docker Image: ~150MB (Alpine Linux + Node.js 22)
  • Memory: ~50MB baseline + server requirements
  • CPU: Minimal (process supervision only)
  • Startup Time: <2s for STDIO, <20s for network protocols

Benchmarks

bash
# Load testing
ab -n 1000 -c 10 http://localhost:8765/sse

# Memory monitoring
docker stats <container-name>

# Response time
time curl -s http://localhost:8765/sse | head -1

📚 Tested MCP Servers

Production Ready

ServerProtocolToolsRepository
DataForSEOSTDIO52dataforseo/mcp-server-typescript
Language ServerSTDIO3alexwohletz/language-server-mcp
DX MCPSTDIO2get-dx/dx-mcp-server
FilesystemSTDIO6@modelcontextprotocol/server-filesystem

Authentication Required

ServerStatusRequirements
Azure DevOps✅ Infrastructure readyOrganization URL + PAT
Agentset AI✅ Infrastructure readyAPI Key + Namespace
Paragon✅ Infrastructure readyProject ID + Signing Key

🤝 Contributing

We welcome contributions! Please see our Contributing Guide for details.

Development Workflow

  1. Fork the repository
  2. Create a feature branch (git checkout -b feature/amazing)
  3. Make your changes
  4. Run tests (npm test)
  5. Commit (git commit -m 'Add amazing feature')
  6. Push (git push origin feature/amazing)
  7. Open a Pull Request

Code Style

  • TypeScript with strict mode
  • ESLint for linting
  • Prettier for formatting
  • Conventional commits

📖 Documentation

  • CLAUDE.md - Technical deep-dive and architecture details
  • API Documentation - Configuration and API reference
  • Deployment Guide - Production deployment patterns
  • Security Guide - Security best practices

🙏 Acknowledgments

  • https://modelcontextprotocol.io team for the MCP specification
  • Supermachine AI for the supergateway tool
  • The MCP community for testing and feedback

📄 License

MIT License - see LICENSE for details.


MCP Runner
Universal MCP Server Orchestrator

⚡ Simple • 🛡️ Reliable • 🚀 Production Ready

https://hub.docker.com/r/ezezzjzsh/universal-mcp-stable • https://github.com/thinkbuddyai/mcp-runner • https://github.com/thinkbuddyai/mcp-runner/issues

镜像拉取方式

您可以使用以下命令拉取该镜像。请将 <标签> 替换为具体的标签版本。如需查看所有可用标签版本,请访问 标签列表页面。

轩辕镜像加速拉取命令点我查看更多 universal-mcp-stable 镜像标签

docker pull docker.xuanyuan.run/ezezzjzsh/universal-mcp-stable:<标签>

使用方法:

  • 登录认证方式
  • 免认证方式

DockerHub 原生拉取命令

docker pull ezezzjzsh/universal-mcp-stable:<标签>

轩辕镜像配置手册

按平台快速找到配置文档

一键安装

一键安装 Docker

Linux Docker 一键安装

AI

用 AI 使用轩辕镜像

agents.md · AI 对话 · 提示词

Docker

登录仓库拉取

登录认证 · 私有仓库

专属域名拉取

免登录 · 高速拉取

Linux

Docker 镜像配置

Windows / Mac

Docker Desktop 配置

MacOS OrbStack

OrbStack 容器

Apple Container

macOS 原生容器

Docker Compose

Compose 项目配置

NAS

群晖

Synology 配置

飞牛

fnOS 镜像配置

绿联

绿联 NAS

威联通

QNAP 配置

极空间

极空间 NAS

Unraid

Unraid NAS

企业仓库

其他仓库

ghcr · Quay · nvcr

Harbor 镜像源

Proxy Repository 对接

Portainer 镜像源

Registries 配置

Nexus 镜像源

Docker Proxy 缓存

开发工具

Dev Containers

VS Code 开发容器

Podman

Podman 配置指南

Singularity / Apptainer

HPC 科学计算容器

Kubernetes

K8s Containerd

Kubernetes · Containerd

K3s

轻量级集群

面板 / 网络

爱快路由

爱快 4.0 · iKuai 镜像加速

宝塔面板

一键配置镜像源

需要其他帮助?请查看我们的 常见问题Docker 镜像访问常见问题解答 或 提交工单

镜像拉取常见问题

功能

版本功能对比

功能对比 · 版本选择

支持的镜像仓库

Docker Hub · GCR · GHCR

专属域名用法

专属域名 · 开启停用 · 多仓库

新手拉取配置

登录 · 专属域名 · 配置

docker search 限制

专属域名 · Hub 搜索

不支持 push

仅支持 pull · 不支持

拉取速度原因

带宽 · 缓存 · 冷热镜像

错误码

402 与流量用尽

402 · 流量包 · 充值

401 认证失败

401 · docker login

manifest unknown

标签错误 · 镜像不存在

410 Gone 排查

410 · Docker 升级

429 限流

免费版 · 专业版 · 企业版 · 请求频率

其他报错

DNS 超时

DNS 解析 · 网络超时

TLS 证书失败

no matching manifest(架构)

账号

失败是否计费

manifest · blob · 计费

申请开发票(企业 / 个人)

企业 · 个人 · 工单

修改登录密码

网站 · 仓库 · 重置

注销账户

工单 · 数据 · 注销

原理

mirrors 不生效

daemon.json · 重启

去掉域名前缀

docker tag · 重命名

指定架构拉取

ARM64 · AMD64 · 多架构

latest 与「最新」

digest · 版本号 · 标签

查看全部问题→

用户好评

来自真实用户的反馈,见证轩辕镜像的优质服务

用户头像

oldzhang

运维工程师

Linux服务器

5

"Docker访问体验非常流畅,大镜像也能快速完成下载。"

轩辕镜像
镜像详情
...
ezezzjzsh/universal-mcp-stable
定价查看流量套餐与价格
博客Docker 镜像公告与技术博客
专业版 · 高速稳定拉取镜像
高速镜像下载·在线技术支持·99.95% SLA 保障·付费会员免广告
50GB 仅 ¥7/年
专业版 · 高速稳定拉取镜像
50GB 仅 ¥7/年
高速镜像下载·在线技术支持·99.95% SLA 保障·付费会员免广告
用户协议·隐私政策·增值电信业务经营许可证:浙B2-20261007·©2024-2026 源码跳动©2024-2026 杭州源码跳动科技有限公司·商务合作:点击复制邮箱

更多 universal-mcp-stable 镜像推荐

rocker/rstudio-stable logo

rocker/rstudio-stable

rocker
基于debian:stable(来自rocker-versioned的debian:jessie镜像)构建的RStudio镜像
16 次收藏10万+ 次下载
7 年前更新
ai/stable-diffusion logo

ai/stable-diffusion

Docker AI 官方镜像
SD-XL 1.0-base是基于潜在扩散模型的文本到图像生成模型,采用基础模型生成含噪潜变量,可配合精炼模型进行最终去噪处理,也可作为独立模块使用,支持通过文本提示生成和修改图像。
7 次收藏1万+ 次下载
5 个月前更新
universalresolver/universal-resolver-didcomm-demo logo

universalresolver/universal-resolver-didcomm-demo

universalresolver
暂无描述
803 次下载
5 年前更新
universalregistrar/universal-registrar-frontend logo

universalregistrar/universal-registrar-frontend

universalregistrar
该镜像为去中心化身份基金会(DIF)通用注册器的前端,提供去中心化身份注册的可视化交互界面,支持通过Docker快速部署并访问。
873 次下载
5 个月前更新
squidcache/buildfarm-debian-stable logo

squidcache/buildfarm-debian-stable

squidcache
Userspace used to build Squid on Debian Stable
1万+ 次下载
19 天前更新
universalresolver/uni-resolver-web logo

universalresolver/uni-resolver-web

universalresolver
Universal Resolver可跨多种DID方法解析去中心化标识符(DIDs)。
10万+ 次下载
12 天前更新

查看更多 universal-mcp-stable 相关镜像