0.1.15 • Published 6 months ago
@probolabs/mcp-server v0.1.15
MCP Server
A Model Context Protocol server implementation for the Probo Labs ecosystem.
Installation
Since this is part of a monorepo, you can install dependencies from the root:
cd probo-js
pnpm installDevelopment
To build the package:
pnpm --filter @probolabs/mcp-server buildTo run in development mode:
pnpm --filter @probolabs/mcp-server devUsage
The MCP server provides tools that can be used by MCP clients:
run_step
run a single browser interaction step such as navigate to a url, fill a form, click a button, etc.
Input Parameters
step(string): a single, atomic browser interaction step to be executed. example: goto url, fill username, fill password, click login, select option from dropdown, etc.
highlight_elements
Highlight interactive elements of a given type on the page for debugging purposes.
Input Parameters
element_type(string): Which type of element to highlight on the page
interact-with-element-number
Highlight interactive elements of a given type on the page. this tool is useful only for debugging purposes and should use only if the user explicitly asks for it by providing the element number
Input Parameters
interaction_type(string): The type of interaction to performelement_number(number): The number of the element to interact withvalue(string): The value to fill in or select from the dropdown. for clicks pass an empty string
Testing
You can test the server using the MCP CLI tool or any other MCP client.