Agent Web
MCP server by dudko-dev Verified · dev.npm:@dudko
Agent Web is a headless, configurable LLM agent library that runs in the browser on the Vercel AI SDK. It supports cloud models with the user's own key and local WebGPU models, for developers building browser apps.
Install Agent Web
Built from the published package, never by AI.
claude mcp add agent-web -- npx -y @dudko.dev/agent-webRun in your terminal. Add --scope user to use it in every project.
{
"mcpServers": {
"agent-web": {
"args": [
"-y",
"@dudko.dev/agent-web"
],
"command": "npx"
}
}
}Settings, Developer, Edit config. Paste into claude_desktop_config.json and restart.
{
"mcpServers": {
"agent-web": {
"args": [
"-y",
"@dudko.dev/agent-web"
],
"command": "npx"
}
}
}Add to ~/.cursor/mcp.json (all projects) or .cursor/mcp.json (this project).
{
"servers": {
"agent-web": {
"args": [
"-y",
"@dudko.dev/agent-web"
],
"command": "npx"
}
}
}Add to .vscode/mcp.json. VS Code uses "servers", not "mcpServers".
codex mcp add agent-web -- npx -y @dudko.dev/agent-web{
"mcpServers": {
"agent-web": {
"args": [
"-y",
"@dudko.dev/agent-web"
],
"command": "npx"
}
}
}Add to ~/.gemini/config/mcp_config.json (all projects) or .agents/mcp_config.json (this project).
gemini mcp add agent-web npx -y @dudko.dev/agent-webGemini CLI was replaced by Antigravity CLI in June 2026 and remains only for enterprise licences and paid API keys.
MCP servers run with your permissions and can read what you give them access to. Some need an API key: check the README and add it under env in the agent-web block.
About
Agent Web is a headless, configurable LLM agent that runs in the browser, built on the Vercel AI SDK. It works with cloud providers using a user's own key, including OpenAI, Anthropic, Google, xAI, DeepSeek, any OpenAI-compatible server and the Vercel AI Gateway. It can also run local models on WebGPU through WebLLM, with no server and no key.
The package offers text generation, streaming, native tool-calling and structured output, plus a plan, execute, replan and synthesize agent loop. Developers define their own tools, can connect HTTP MCP servers, and store API keys in an encrypted vault. It is UI-agnostic and streams typed events, so it suits developers building browser apps with AI features.
Written from the project's README and checked against it.
What you need
- npm and the ai and zod packages
- A user's own API key for cloud providers
- WebGPU support in the browser for local models
Try asking
- Add a centered title and a totals line to the page
- Summarize the current page and add a heading
- Suggest a title and tags for this article
Good to know
- Browsers support only the HTTP (StreamableHTTP) MCP transport, since stdio is Node-only
- WebLLM loads with a 4096 token window unless configured otherwise
- Local models require WebGPU
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: README.md, package.json. This looks for known risky patterns and is not a full audit. How grades work
What you can do with it
- Adding AI actions to browser apps
- Running local models in the browser offline
- Connecting browser apps to HTTP MCP servers
Alternatives to Agent Web
All alternatives →Browser Use runs an AI model in a real browser, where it completes web tasks by writing Python against Chrome DevTools Protocol. It is for developers who want to fill forms, navigate sites and extract data locally or on Browser Use Cloud.
Pomerado builds MCP integrations for websites, including sites without an API, from a plain language task description. It is for people who want their agent to use a site reliably without computer use.
Selenide MCP server runs browser automation for AI assistants. It is built on the Selenide Java testing framework, which wraps Selenium WebDriver 4.0+. It suits developers who want AI agents to drive UI tests.
SeleniumBase is a Python browser automation framework for stealth browsing, end-to-end testing and web scraping. It uses CDP Mode to work with Chromium-based browsers, and it is aimed at software teams.
Camofox Browser MCP exposes the camofox-browser REST API as MCP tools for AI coding assistants. It proxies to an already-running camofox-browser server, so agents can browse sites that block standard automation.
Cline is an open source coding agent that edits files, runs commands, and uses the browser. It works in a terminal CLI, a macOS and Windows desktop app, VS Code, JetBrains IDEs, and an SDK for developers building their own agents.
Compare with browser-use, Pomerado or Selenide
Agent Web: common questions
Does Agent Web need a server to run local models?
No. Local WebGPU models run in the browser through WebLLM, with no server and no key, and the data never leaves the device.
How are API keys stored?
Keys are stored encrypted at rest using WebCrypto in IndexedDB and are referenced by id rather than inlined into the config.
Can Agent Web connect to MCP servers?
Yes, over HTTP (StreamableHTTP) through the ./mcp subpath. Stdio MCP is not supported in the browser, and OAuth 2.1 with dynamic client registration is described.
How do I install Agent Web?
In Claude Code run claude mcp add agent-web -- npx -y @dudko.dev/agent-web. For Claude Desktop, Cursor and VS Code, paste the config shown above and restart. See the install guides.
Is Agent Web the official server?
Agent Web is published by dev.npm:@dudko from its verified domain in the official MCP Registry.
Is Agent Web free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is Agent Web safe to use?
It scores 87 of 100. Grades: maintenance A, licence A, quality C. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to Agent Web?
Similar MCP servers: browser-use, Pomerado, Selenide, SeleniumBase MCP.
Does Agent Web work with ChatGPT?
Not directly. It runs locally, and ChatGPT only connects to remote servers with a URL. Use it in Claude Code, Claude Desktop, Cursor, VS Code or Codex.
