@@ -8,6 +8,9 @@ Highlights:
88- Browser-first agent loop (observe → plan → act)
99- ** Skills** : prompt-based tools stored in the DOM (Codex skill markdown)
1010- Built-in DOM/JS tools (XPath helpers, event binding, interpreter)
11+ - Optional chat UI subpath (` browseragentkit/ui ` )
12+ - Static skill loader with Vite plugin (DOM-backed resources)
13+ - Minimal MCP HTTP tools adapter
1114- Streaming API (async generator)
1215
1316## Install
@@ -132,6 +135,22 @@ const skill = Skill.fromDomSelector("//script[@data-skill='canvas.render' and @d
132135The plugin injects ` script[type="text/plain"] ` nodes under ` #bak-skills-root ` with:
133136` data-skill ` , ` data-kind ` (` prompt | reference | script ` ), and ` data-path ` .
134137
138+ ## MCP tools (HTTP)
139+
140+ ``` ts
141+ import { createMcpHttpClient , mcpTools } from " browseragentkit" ;
142+
143+ const mcpClient = createMcpHttpClient ({
144+ baseUrl: " https://mcp.example.com" ,
145+ bearerToken: " token" ,
146+ });
147+
148+ const callables = [
149+ ... mcpTools (mcpClient ),
150+ // ...your other tools/skills
151+ ];
152+ ```
153+
135154## Concepts
136155
137156### Skills
@@ -254,6 +273,7 @@ npm run dev
254273```
255274
256275Vite will open the demo and refresh on source changes.
276+ The demo includes skill and tool toggles above the chat input.
257277
258278### GitHub Pages (static demo)
259279
0 commit comments