mcpserver

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Jun 19, 2026 License: MIT Imports: 7 Imported by: 0

Documentation

Overview

Package mcpserver wires the browser.Session into an MCP server: 15 tools (navigate, see, find, read, click, fill, select, scroll, wait, screenshot, eval, tabs, upload, press_key, hover) served over stdio.

Index

Constants

View Source
const Version = "1.0.0"

Version is the server version reported to MCP clients.

Variables

This section is empty.

Functions

func New

func New(sess *browser.Session, opts *mcp.ServerOptions) (*mcp.Server, error)

New builds an MCP server with all tools bound to a Session.

func Run

func Run(ctx context.Context, srv *mcp.Server) error

Run serves the MCP server over stdio until ctx is cancelled.

Types

This section is empty.

Jump to

Keyboard shortcuts

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