adamosk
MCP Server
adamosk
public

cursor bridge webui

A modern web interface for the Cursor Bridge system

Repository Info

0
Stars
0
Forks
0
Watchers
0
Issues
JavaScript
Language
MIT License
License

About This Server

A modern web interface for the Cursor Bridge system

Model Context Protocol (MCP) - This server can be integrated with AI applications to provide additional context and capabilities, enabling enhanced AI interactions and functionality.

Documentation

# Cursor Bridge Web UI

A modern web interface for the Cursor Bridge system, enabling real-time communication between different Cursor AI instances.

## Features

- 🌓 Dark/Light theme support
- 📤 File upload functionality
- âŒ¨ī¸ Real-time typing indicators
- ✓ Message read receipts
- 🔄 Infinite scroll
- 🔍 Search functionality
- 📝 Different message types (normal, actionable, info-only)
- â†Šī¸ Reply functionality
- 🔔 Toast & Sound notifications

## Prerequisites

- Node.js >= 18.x
- npm >= 9.x

## Installation

1. Clone the repository:
```bash
git clone https://github.com/adamosk/cursor-bridge-webui.git
cd cursor-bridge-webui
```

2. Install dependencies:
```bash
npm install
```

3. Create a `.env` file:
```bash
WEB_PORT=3000
DB_PATH=../cursor-bridge/messages-db.json
```

## Development

Start the development server:
```bash
npm run dev
```

The server will start on http://localhost:3000 (or the port specified in your .env file).

## Production

For production deployment:
```bash
npm start
```

## API Endpoints

- `GET /api/messages` - Get messages with search and pagination
- `POST /api/messages` - Send new messages
- `POST /api/upload` - File upload endpoint
- `GET /api/port-info` - Server information

## WebSocket Events

- `message` - New message received
- `typing` - User typing status
- `message_read` - Message read receipt
- `db_updated` - Database update notification

## Configuration

The following environment variables can be configured:

- `WEB_PORT` - Web server port (default: 3000)
- `DB_PATH` - Path to the messages database file

## Contributing

1. Fork the repository
2. Create your feature branch (`git checkout -b feature/amazing-feature`)
3. Commit your changes (`git commit -m 'Add some amazing feature'`)
4. Push to the branch (`git push origin feature/amazing-feature`)
5. Open a Pull Request

## License

This project is licensed under the MIT License - see the LICENSE file for details.

## Related Projects

- [Cursor Bridge](https://github.com/adamosk/cursor-bridge) - The main bridge service

## Communication with MCP Server

The Web UI and MCP Server communicate indirectly through a shared JSON file:

1. Both components read from and write to the same JSON database file
2. The Web UI watches the file for changes made by the MCP Server
3. The MCP Server watches the file for changes made by the Web UI

This design allows both components to operate independently while sharing data. 

Quick Start

1

Clone the repository

git clone https://github.com/adamosk/cursor-bridge-webui
2

Install dependencies

cd cursor-bridge-webui
npm install
3

Follow the documentation

Check the repository's README.md file for specific installation and usage instructions.

Repository Details

Owneradamosk
Repocursor-bridge-webui
Language
JavaScript
LicenseMIT License
Last fetched8/8/2025

Recommended MCP Servers

đŸ’Ŧ

Discord MCP

Enable AI assistants to seamlessly interact with Discord servers, channels, and messages.

integrationsdiscordchat
🔗

Knit MCP

Connect AI agents to 200+ SaaS applications and automate workflows.

integrationsautomationsaas
đŸ•ˇī¸

Apify MCP Server

Deploy and interact with Apify actors for web scraping and data extraction.

apifycrawlerdata
🌐

BrowserStack MCP

BrowserStack MCP Server for automated testing across multiple browsers.

testingqabrowsers
⚡

Zapier MCP

A Zapier server that provides automation capabilities for various apps.

zapierautomation