S22 Web Agent MCP Server
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@S22 Web Agent MCP Serverscan example.com"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
S22 Web Agent
A mobile-first web automation and MCP portfolio project running on a Samsung S22 using Termux, Node.js, SQLite, Express, MCP, and Debian proot Playwright.
This project explores whether an Android phone can act as a lightweight AI automation development environment, local tool server, and browser automation node.
Project Goal
The goal of this project is to build a practical AI automation agent that runs from a Samsung S22 instead of a VPS or laptop.
It demonstrates how a phone can host:
CLI automation
HTTP API tools
MCP tools
SQLite-backed local memory
Markdown report generation
Browser inspection through Chromium and Playwright inside Debian proot
Related MCP server: Playwright MCP
Why Samsung S22?
This project is intentionally built on Samsung S22 through Termux.
Instead of using a VPS or laptop as the main runtime, the phone acts as the local development and execution environment.
This makes the project useful as a portfolio demonstration for:
AI automation engineering
MCP tool development
Applied AI workflow prototyping
Mobile Linux experimentation
Browser automation with constrained hardware
Current Features
Scan a webpage URL from CLI
Scan a webpage URL through HTTP API
Normalize simple domain inputs such as
example.comintohttps://example.com/Extract page title, description, headings, and links
Save scan result into SQLite
List saved scan records
Show full scan detail by ID
Delete unwanted scan records
Generate markdown report from saved scan data
Run an MCP server
Expose scan/list/page/report functions as MCP tools
Inspect browser-rendered pages through MCP using a Debian proot Playwright worker
Track development progress using Git
Tech Stack
Samsung S22
Termux
Debian proot
Node.js
npm
Cheerio
Express
SQLite
MCP SDK
playwright-core
Chromium
Git
Architecture
Current working flow:
ChatGPT / MCP Inspector
|
v
MCP Server on Samsung S22
|
v
HTTP API Server on port 3001
|
v
Scanner + SQLite databaseBrowser inspection flow:
MCP browser_inspect_url
|
v
Debian proot Playwright worker on port 3002
|
v
Chromium headless browserThe CLI and HTTP API share the same scanner module.
CLI scan -> src/scanner.js
API POST /scan -> src/scanner.jsThe browser inspection tool uses a separate Playwright worker running inside Debian proot.
CLI Usage
Install dependencies:
npm installScan a webpage:
node src/index.js scan https://example.comSimple domain input is also supported:
node src/index.js scan example.comList saved scans:
node src/index.js listShow scan detail:
node src/index.js show 1Delete scan record:
node src/index.js delete 1Generate markdown report:
node src/index.js report 1Show help:
node src/index.js helpExample CLI Flow
node src/index.js scan example.com
node src/index.js list
node src/index.js show 1
node src/index.js report 1HTTP API Server
The project includes an Express-based HTTP API server running inside Termux on the Samsung S22.
Start the server:
npm run serverDefault API port:
3001Available endpoints:
GET /health
GET /pages
GET /pages/:id
POST /scan
GET /report/:idExample health check:
curl http://localhost:3001/healthExample scan request:
curl -X POST http://localhost:3001/scan \
-H "Content-Type: application/json" \
-d '{"url":"https://example.com"}'Simple domain input is also supported:
curl -X POST http://localhost:3001/scan \
-H "Content-Type: application/json" \
-d '{"url":"example.com"}'Example LAN access from PC:
http://<S22-IP>:3001/health
http://<S22-IP>:3001/pagesThis confirms the S22 can act as a local network-accessible tool server.
MCP Tools
The project includes an MCP server that exposes the scanner and browser inspection features as tools.
Tested MCP tools:
job_radar_scanjob_radar_list_pagesjob_radar_get_pagejob_radar_get_reportbrowser_inspect_url
Start the MCP server:
npm run mcpExample MCP Inspector usage:
npx @modelcontextprotocol/inspector npm run mcpDebian Proot Playwright Worker
Some websites require browser-rendered inspection instead of static HTML scanning.
For that case, the project uses a Debian proot worker running Chromium through Playwright.
Default worker port:
3002The proot Playwright setup is documented here:
docs/proot-playwright.mdWorker source files are stored here:
tools/proot-playwright-workerURL Normalization
The scanner supports simple domain input.
Example:
example.comis normalized to:
https://example.com/This works through:
CLI
HTTP API
MCP tool calls
Documentation
Additional project notes:
docs/progress.md
docs/portfolio-polish.md
docs/proot-playwright.mdLimitations
Some websites may block simple HTTP requests with 403 Forbidden.
The CLI and HTTP API scanner currently use static HTML extraction.
JavaScript-heavy websites require the separate Debian proot Playwright worker.
The browser worker must be started separately inside Debian proot.
Termux or proot may slow down when the phone screen is off.
The project is built for learning and portfolio demonstration, not production use.
Roadmap
Planned improvements:
Add architecture diagram image
Add screenshots for GitHub demo
Add
.env.exampleAdd license file
Add sample scan output
Add screenshot capture metadata from Playwright
Improve classifier scoring notes
Improve error handling for failed scans
Save browser inspection result to database
Add portfolio demo report export
Portfolio Summary
Built a Samsung S22-hosted web automation and MCP prototype using Termux, Node.js, SQLite, Express, Debian proot, Chromium, and Playwright.
The system scans web pages, extracts structured page data, stores results locally, exposes results through CLI, HTTP API, and MCP tools, and generates markdown reports.
This demonstrates practical AI automation workflow development without relying on VPS infrastructure.
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
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/amir89hamzah/s22-web-agent'
If you have feedback or need assistance with the MCP directory API, please join our Discord server