Skip to content

Make external capabilities usable for a browser server - #40

Merged
daniel-rossier merged 1 commit into
mainfrom
mcp-frictions
Nov 27, 2026
Merged

daniel-rossier merged 1 commit into
mainfrom
mcp-frictions

Conversation

@daniel-rossier

Copy link
Copy Markdown
Contributor

Frictions seen driving a local web app through Playwright MCP: invoke without a prior describe when the arguments fit, linked_files to show a linked snapshot, deny list, configurable max_result_chars, and a note that the terminal sandbox cannot reach 127.0.0.1.

Driving a local web application through Playwright MCP showed where
the capability path cost turns or misled the model:

- an indexed capability had to be described before every first call;
  an invoke whose arguments fit the schema now runs, and one that does
  not is answered with the description;
- the server links the page snapshot it wrote after an action, in a
  directory no turn may read, so the model asked for the snapshot again
  after every click; linked_files names that directory and a linked
  file in it is shown with the result;
- every tool not declared read was offered as a WRITE, including
  browser_run_code_unsafe; deny lists tools never offered;
- the 20000-character result cap is now max_result_chars, and the cut
  says to ask for less;
- the terminal sandbox cannot reach the host's loopback, so curl said
  the application was down while the browser reached it; the
  capabilities section says so.
@daniel-rossier
daniel-rossier merged commit 70a5ac1 into main Nov 27, 2026
2 checks passed
@daniel-rossier
daniel-rossier deleted the mcp-frictions branch November 27, 2026 13:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant