MCP Catalogs
首页

sample-agentic-ai-web

by aws-samples·50·综合分 45

Amazon Bedrock 网页自动化助手,具有 MCP 服务器支持浏览器自动化和视觉功能。

browser-automationweb-scrapingai-llm
14
Forks
8
活跃 Issue
3 个月前
最近提交
2 天前
收录于

概述

这个仓库提供了一个完整的 MCP 服务器实现,用于使用 Amazon Bedrock 与 Anthropic Claude 和 Amazon Nova 模型进行网页自动化。它展示了从基本 API 调用到高级功能的渐进式开发方法,包括基于视觉的元素交互、表单提交和对话历史管理。实现使用 FastMCP 框架进行结构化工具定义和适当的资源生命周期管理。

试试问 AI

装完之后,这里有 3 个你可以让 AI 做的事:

:网页抓取和数据提取
:自动化电子商务产品搜索
:UI测试和网站自动化

什么时候选它

如果您需要一个生产就绪的网页自动化解决方案,且已使用 AWS Bedrock,请选择此 MCP 服务器。

什么时候不要选它

如果您需要供应商无关的解决方案或不使用 AWS Bedrock,请不要选择它,因为它与 AWS 紧密集成。

此 server 暴露的工具

从 README 抽取出 7 个工具
  • navigate

    Navigate to a specified URL using Playwright

  • screenshot

    Capture screenshots of web pages

  • ask_human

    Ask the user questions during execution

  • click

    Click on elements based on visual analysis

  • type

    Type text into previously clicked elements

  • scroll

    Scroll up or down to see more content on long pages

  • write_file

    Save search results and findings to markdown files

可对比工具

browserless-mcpscrapingbee-mcpplaywright-mcp

安装

# 克隆仓库
git clone https://github.com/aws-samples/sample-agentic-ai-web.git

cd sample-agentic-ai-web

# 安装依赖
pip install -r requirements.txt

# 运行 MCP 服务器
python 10-mcp-server.py

对于 Claude Desktop 配置,添加到 claude_desktop_config.json:

{
  "mcpServers": {
    "bedrock-web-tools": {
      "command": "python",
      "args": ["10-mcp-server.py 的路径"]
    }
  }
}

sample-agentic-ai-web 对比

GitHub →

最后更新于 · 由 README + GitHub 公开数据自动生成。