kagg886
MCP Serverkagg886public

browser agent

基于无头浏览器的内嵌MCP搜索助手

Repository Info

0
Stars
0
Forks
0
Watchers
0
Issues
Kotlin
Language
-
License

About This Server

基于无头浏览器的内嵌MCP搜索助手

Model Context Protocol (MCP) - This server can be integrated with AI applications to provide additional context and capabilities, enabling enhanced AI interactions and functionality.

Documentation

Browser-Agent

是一个 AI搜索 工具,通过 MCP 和 无头浏览器以获得与外界交互的能力。

接口列表

所有接口的响应时间预计在5分钟以内

1. 流式聊天接口

  • 路径: /chat/sse
  • 方法: GET
  • 参数:
    • message (String, 必填): 用户发送的消息内容
  • 响应类型: Server-Sent Events (SSE)
  • 事件类型:
    • chat: 正常聊天消息
    • error: 错误消息
  • 超时时间: 15分钟
  • 描述: 通过SSE流式返回聊天响应,适合需要实时显示的场景

2. 阻塞式聊天接口

  • 路径: /chat/blocked
  • 方法: POST
  • 参数:
    • 请求体: 原始消息字符串 (UTF-8编码)
  • 响应类型: String
  • 描述: 同步返回完整的聊天响应,适合不需要实时显示的场景
  • 注意: 请求体会自动进行URL解码

配置项

关于EdgeDriver的驱动表如图

属性名类型默认值必填描述
edge.versionStringnullEdgeDriver的版本号
edge.edgePathStringnullEdge浏览器的可执行文件路径
edge.headlessBooleanfalse是否以无头模式运行浏览器
edge.poolSizeString"1"浏览器驱动池大小

关于Spring AI的配置表如图(以DeepSeek为例)

spring.ai.openai.base-url=https://api.deepseek.com
spring.ai.openai.api-key=sk-tokens
spring.ai.openai.chat.options.model=deepseek-chat

Quick Start

1

Clone the repository

git clone https://github.com/kagg886/browser-agent
2

Install dependencies

cd browser-agent
npm install
3

Follow the documentation

Check the repository's README.md file for specific installation and usage instructions.

Repository Details

Ownerkagg886
Repobrowser-agent
LanguageKotlin
License-
Last fetched8/10/2025

Recommended MCP Servers

💬

Discord MCP

Enable AI assistants to seamlessly interact with Discord servers, channels, and messages.

integrationsdiscordchat
🔗

Knit MCP

Connect AI agents to 200+ SaaS applications and automate workflows.

integrationsautomationsaas
🕷️

Apify MCP Server

Deploy and interact with Apify actors for web scraping and data extraction.

apifycrawlerdata
🌐

BrowserStack MCP

BrowserStack MCP Server for automated testing across multiple browsers.

testingqabrowsers

Zapier MCP

A Zapier server that provides automation capabilities for various apps.

zapierautomation