Skip to main content
Glama

Streamable HTTP Bridge

by masx200
Mulan Permissive Software License, Version 2
2
  • Linux
  • Apple
dockerfile3.79 kB
from docker.cnb.cool/masx200/docker_mirror/mcp-streamable-http-bridge:2025-08-24-11-13-24 run cat <<EOF > /etc/apt/sources.list # 默认注释了源码镜像以提高 apt update 速度,如有需要可自行取消注释 deb https://mirrors.tuna.tsinghua.edu.cn/debian/ trixie main contrib non-free non-free-firmware deb-src https://mirrors.tuna.tsinghua.edu.cn/debian/ trixie main contrib non-free non-free-firmware deb https://mirrors.tuna.tsinghua.edu.cn/debian/ trixie-updates main contrib non-free non-free-firmware deb-src https://mirrors.tuna.tsinghua.edu.cn/debian/ trixie-updates main contrib non-free non-free-firmware deb https://mirrors.tuna.tsinghua.edu.cn/debian/ trixie-backports main contrib non-free non-free-firmware deb-src https://mirrors.tuna.tsinghua.edu.cn/debian/ trixie-backports main contrib non-free non-free-firmware # 以下安全更新软件源包含了官方源与镜像站配置,如有需要可自行修改注释切换 deb https://mirrors.tuna.tsinghua.edu.cn/debian-security trixie-security main contrib non-free non-free-firmware deb-src https://mirrors.tuna.tsinghua.edu.cn/debian-security trixie-security main contrib non-free non-free-firmwarey main non-free-firmware EOF copy ./sources.list /etc/apt/sources.list run cat <<EOF > /etc/apt/sources.list.d/debian.sources Types: deb URIs: https://mirrors.tuna.tsinghua.edu.cn/debian Suites: trixie trixie-updates trixie-backports Components: main contrib non-free non-free-firmware Signed-By: /usr/share/keyrings/debian-archive-keyring.gpg # 默认注释了源码镜像以提高 apt update 速度,如有需要可自行取消注释 Types: deb-src URIs: https://mirrors.tuna.tsinghua.edu.cn/debian Suites: trixie trixie-updates trixie-backports Components: main contrib non-free non-free-firmware Signed-By: /usr/share/keyrings/debian-archive-keyring.gpg # 以下安全更新软件源包含了官方源与镜像站配置,如有需要可自行修改注释切换 Types: deb URIs: https://mirrors.tuna.tsinghua.edu.cn/debian-security Suites: trixie-security Components: main contrib non-free non-free-firmware Signed-By: /usr/share/keyrings/debian-archive-keyring.gpg Types: deb-src URIs: https://mirrors.tuna.tsinghua.edu.cn/debian-security Suites: trixie-security Components: main contrib non-free non-free-firmware Signed-By: /usr/share/keyrings/debian-archive-keyring.gpg EOF copy ./debian.sources /etc/apt/sources.list.d/debian.sources run apt update -y && apt clean run apt install apt-transport-https ca-certificates -y && apt clean run apt install python3 python3-pip nano sudo -y && apt clean run npm config set registry https://registry.npmmirror.com env HOME=/root run mkdir -pv /root/.config/uv/ run cat <<EOF > /root/.config/uv/config.toml [[index]] url = "https://pypi.tuna.tsinghua.edu.cn/simple" default = true EOF copy ./config.toml /root/.config/uv/config.toml run pip config set install.trusted-host 'https://pypi.tuna.tsinghua.edu.cn' run pip config set global.index-url https://pypi.tuna.tsinghua.edu.cn/simple run pip install uv --break-system-packages WORKDIR /root/mcp-streamable-http-bridge copy . . run rm -frv '/usr/local/bin/pnpm' run rm -frv '/usr/local/bin/pnpx' run rm -frv '/usr/local/bin/yarn' run rm -frv '/usr/local/bin/yarnpkg' run corepack enable run corepack up run yarn install run yarn run build ENTRYPOINT ["docker-entrypoint.sh"] CMD [ "node","/root/mcp-streamable-http-bridge/main.js" ] run uv venv run pip install "mcp-server-time" --break-system-packages env UV_INDEX_URL=https://mirrors.aliyun.com/pypi/simple/ run uv pip install "mcp-server-time" run npm install -g cnpm --registry=https://registry.npmmirror.com run npm i -g @mcpcn/mcp-daily-hot-list run cnpm i -g "@mcpcn/mcp-daily-hot-list"

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/masx200/mcp-demo-streamable-http-bridge'

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