@mcp-b/native-server
v1.0.47
Published
Chrome Native-Messaging host (Node)
Downloads
44
Readme
MCP-B Native Server
A Chrome Native Messaging host for bridging browser extensions to local MCP clients.
Attribution
This native server is based on mcp-chrome by hangwin. We've adapted it for MCP-B with additional features like dual extension ID support and automated registration workflows.
Features
- Bridges Chrome extensions to local MCP clients via Native Messaging
- HTTP server on port 12306 for MCP communication
- Supports both production and development extension IDs
- Automated manifest registration for development workflows
- Cross-platform support (macOS, Windows, Linux)
Development
This package is part of the MCP-B monorepo. For development setup, see the main README.md.
Key Scripts
pnpm run build- Build the native serverpnpm run register:dev- Register native messaging manifests for developmentpnpm run dev- Build and register for development (with file watching)
Extension ID Configuration
The server supports both production and development extension IDs:
- Production:
mhipkdochajohklmmjinmicahanmldbj - Development: Configurable via
native-server/.envfile
Architecture
The native server acts as a proxy between:
- Local MCP clients (Claude Desktop, Cursor, etc.)
- Browser extensions via Chrome Native Messaging
- Web pages with MCP servers via the extension
This enables desktop AI applications to interact with tools exposed by websites through the browser's security context.
License
MIT
Credits
Based on mcp-chrome by hangwin.
