agent-browser

module
v1.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 19, 2025 License: MIT

README

Agent Browser

Version License macOS Windows Linux Twitter URL

Connect all your MCP clients to a single endpoint that manages all your MCP servers

InstallationClient IntegrationAPI DocumentationDevelopment


Overview

Agent Browser eliminates the need to configure each MCP server in every client. Connect your clients once to Agent Browser, and it will manage all your Server-Sent Events (SSE) MCP servers for you.

Without Agent Browser With Agent Browser
  • ✓ Add new server in Cursor
  • ✓ Add new server in Windsurf Client
  • ✓ Add new server in Claude Client
  • ✓ Repeat for each additional client
  • ✓ Update all clients when server changes
  • ✓ Add new server once in Agent Browser UI
  • ✓ Update once in Agent Browser when server changes

Usage

Access the web UI at http://localhost:8080/ui/ to:

  • View connection status of your MCP servers
  • Add new MCP server connections
  • Remove existing connections
  • Monitor connection health in real-time

Installation

Package Managers

macOS and Linux

brew tap cob-packages/homebrew-agent-browser
brew install cob-packages/agent-browser/agent-browser
agent-browser

Windows

scoop bucket add https://github.com/cob-packages/scoop-agent-browser
scoop install agent-browser
agent-browser
Direct Download

You can also download the latest release directly from GitHub Releases:

Platform Architecture Download
macOS Intel (x86_64) agent-browser-[version]-darwin-amd64.tar.gz
macOS Apple Silicon (M1/M2) agent-browser-[version]-darwin-arm64.tar.gz
Linux x86_64 (64-bit) agent-browser-[version]-linux-amd64.tar.gz
Linux ARM 64-bit agent-browser-[version]-linux-arm64.tar.gz
Linux ARM 32-bit agent-browser-[version]-linux-arm7.tar.gz
Windows 64-bit agent-browser-[version]-windows-amd64.zip
Windows 32-bit agent-browser-[version]-windows-386.zip
Windows ARM 64-bit agent-browser-[version]-windows-arm64.zip

After downloading, extract the archive and run the executable.


Client Integration

Cursor

After installing and running Agent Browser, Cursor will automatically detect and connect to it. No additional configuration needed.

Other MCP Clients

Add Agent Browser as an SSE endpoint in your MCP client configuration:

{
  "Agent Browser": {
    "url": "http://localhost:8087/sse"
  }
}

Once your client is connected to Agent Browser, you can add or remove MCP servers without touching your client configurations.


Project Structure

View Project Structure
/cmd             - Application entry points
/internal
  /app           - Core application setup with Fx
  /backend       - Database and persistence layer
  /config        - Configuration management
  /cursor        - Cursor integration
  /events        - Event bus for internal communication
  /log           - Logging utilities
  /mcp           - MCP server implementation
  /web           - Web server and UI
/scripts         - Build and utility scripts
/out             - Compiled binaries (git-ignored)

API Documentation

The Agent Browser exposes a REST API for integration. For details on accessing the API documentation, using Swagger UI, or integrating with tools like Postman, see API.md.


Future Direction

We plan to expand Agent Browser to support additional protocols like A2A and ACP, alongside MCP.

      Client
         │
         ▼
   Agent Browser
    /    │    \
   /     │     \
  ▼      ▼      ▼
 MCP    A2A    ACP  ...

Development

Prerequisites
  • Go 1.21 or later
  • Bash (for setup scripts)
Setup and Run
# Clone the repository
git clone https://github.com/co-browser/agent-browser.git
cd agent-browser

# Install development tools
make setup

# Build and run
make run

The application will be available at http://localhost:8080.


Support

For issues or inquiries: cobrowser.xyz

Directories

Path Synopsis
cmd
agent-browser command
Package main is the entry point for the agent-browser application.
Package main is the entry point for the agent-browser application.
internal
app
Package app provides the core application setup using Fx.
Package app provides the core application setup using Fx.
backend/database
Package database provides database interactions using sqlx.
Package database provides database interactions using sqlx.
backend/models
Package models defines the data structures used by the agent-browser application.
Package models defines the data structures used by the agent-browser application.
events
Package events provides an event bus implementation for internal application events.
Package events provides an event bus implementation for internal application events.
log
Package log provides an adapter for Fx logging using zerolog.
Package log provides an adapter for Fx logging using zerolog.
mcp
Package mcp implements the MCP server logic for Agent Browser.
Package mcp implements the MCP server logic for Agent Browser.
mcp/client
Package client implements the MCP client logic.
Package client implements the MCP client logic.
mcp/config
Package config provides configuration structures for the MCP component.
Package config provides configuration structures for the MCP component.
mcp/connection
Package connection implements MCP connection handling.
Package connection implements MCP connection handling.
mcp/handlers
Package handlers provides event handler functionality for MCP.
Package handlers provides event handler functionality for MCP.
mcp/health
Package health provides health check functionality for MCP connections.
Package health provides health check functionality for MCP connections.
mcp/manager
Package manager provides the ConnectionManager implementation.
Package manager provides the ConnectionManager implementation.
mcp/tools
Package tools provides functionality for managing MCP tools.
Package tools provides functionality for managing MCP tools.
web
Package web provides the web server setup and HTTP utilities.
Package web provides the web server setup and HTTP utilities.
web/client
Package client provides HTTP client functionality for API interactions.
Package client provides HTTP client functionality for API interactions.
web/config
Package config provides configuration structures for the web server.
Package config provides configuration structures for the web server.
web/handlers
Package handlers provides API endpoints and HTTP request handlers.
Package handlers provides API endpoints and HTTP request handlers.
web/middleware
Package middleware provides HTTP middleware components for the web server.
Package middleware provides HTTP middleware components for the web server.
web/server
Package server provides HTTP server setup and lifecycle management.
Package server provides HTTP server setup and lifecycle management.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL