How does MCP-CLIENT-BROSWER run without a backend?
It operates entirely in the browser, communicating directly with MCP-compatible servers via SSE (Server-Sent Events) as shown in the configuration example.
@autoexpect
基本信息
TypeScript SDK for using large language models with an MCP server directly in the browser, powered by Cherry Studio's prompt templates.
工具列表暂未提供
当前收录暂时没有可展示的工具列表,不代表服务没有工具。请查阅项目文档了解支持的能力。
工具是从 README 中自动提取的。维护者可以在 ## Tools 标题下列出工具,即可填充这部分内容。
MCP-CLIENT-BROSWER is a TypeScript library that brings MCP (Model Control Protocol) support to the browser, enabling interaction with large language models (LLMs) through an MCP server. It leverages Cherry Studio's prompt templates and communication logic and is designed for use in modern web applications.
Install via npm i @autoexpect/mcp-sseclient-browser. Instantiate the MCPClient class with an array of server configurations and an options object (containing base URL, API key, and model), then call connect() and processQueryStream() with system and user prompts, a boolean flag, and callback functions for chunks and the full response.
It operates entirely in the browser, communicating directly with MCP-compatible servers via SSE (Server-Sent Events) as shown in the configuration example.
No. The library does not store user data; all interactions happen directly between the browser and the configured MCP server.
The MCP server must support CORS and the Cherry prompt specification. The library is TypeScript-based and works with OpenAI-compatible or custom MCP servers.
It uses SSE for transport and supports API key authentication via the `apiKey` option in the client configuration.
MCP server for fetch web page content using Playwright headless browser.

Model Context Protocol Servers
Playwright MCP server
Browse the web, directly from Cursor etc.
评论