Skip to main content
Glama

MCP Server

MCP (Machine Control Protocol) Server that provides browser automation capabilities through a simple API.

Description

This server creates an API endpoint that allows you to run browser automation tasks using natural language commands. It utilizes:

  • FastMCP: For creating a simple API server

  • browser-use: For browser automation capabilities

  • OpenAI's GPT models: To interpret natural language commands

Related MCP server: browser-use MCP server

Prerequisites

  • Python 3.11+

  • Poetry for dependency management

  • OpenAI API key

Setup

1. Install dependencies

poetry install

2. Configure environment variables

Create a .env file in the root directory with:

OPENAI_API_KEY=your_openai_api_key_here

Run

poetry run python main.py

The server will start with SSE (Server-Sent Events) transport on the default port.

Features

Browser Automation

Use the /run_browser_task endpoint to execute browser automation tasks using natural language. For example:

-
security - not tested
F
license - not found
-
quality - not tested

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/jonnyhoff/mcp-browser-use'

If you have feedback or need assistance with the MCP directory API, please join our Discord server