Skip to main content
Glama

Browser Agent MCP

Dockerfile1.13 kB
# Generated by https://smithery.ai. See: https://smithery.ai/docs/config#dockerfile # Builder stage FROM node:lts AS builder WORKDIR /app # Copy project files COPY package.json tsconfig.json ./ COPY src ./src # Install dependencies and build TypeScript RUN npm install && \ npm run build # Final image FROM node:lts WORKDIR /app COPY --from=builder /app/dist ./dist COPY --from=builder /app/node_modules ./node_modules COPY package.json ./ # Install Playwright browser dependencies RUN apt-get update && apt-get install -y --no-install-recommends \ libglib2.0-0 \ libnss3 \ libnspr4 \ libatk1.0-0 \ libatk-bridge2.0-0 \ libcups2 \ libdrm2 \ libdbus-1-3 \ libxcb1 \ libxkbcommon0 \ libx11-6 \ libxcomposite1 \ libxdamage1 \ libxext6 \ libxfixes3 \ libxrandr2 \ libgbm1 \ libpango-1.0-0 \ libcairo2 \ libasound2 \ libatspi2.0-0 \ && rm -rf /var/lib/apt/lists/* # Install Playwright browsers RUN npx playwright install chromium firefox webkit --with-deps # Expose stdio (no ports) and run the MCP server CMD ["node", "dist/index.js"]

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/imprvhub/mcp-browser-agent'

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