mcp: add Model Context Protocol server support

Adds a new `mcp` run mode to start an MCP server over stdio.
Implements tools for navigation and JS evaluation, along with
resources for HTML and Markdown page content.
This commit is contained in:
Adrià Arrufat
2026-02-22 22:32:14 +09:00
parent 18e63df01e
commit a27339b954
10 changed files with 619 additions and 16 deletions

View File

@@ -38,6 +38,7 @@ pub const Scope = enum {
not_implemented,
telemetry,
unknown_prop,
mcp,
};
const Opts = struct {