Skip to content

vignarajj/mcp-quickbar

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

1 Commit
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

๐Ÿš€ MCP QuickBar

A beautiful, lightweight system tray application that integrates Claude AI with powerful tools via the Model Context Protocol (MCP). Built with Tauri for native performance and modern web technologies.

MCP QuickBar License Platform


โœจ Features

  • ๐Ÿค– Claude AI Integration - Chat with Claude directly from your system tray
  • ๐Ÿ”ง MCP Tools - Access to multiple powerful tools:
    • ๐Ÿ” Web Search - Search the web using Serper API
    • ๐Ÿ“ GitHub - List and manage your repositories
    • ๐Ÿ“ธ Screenshot - Capture screenshots instantly
    • โ˜๏ธ Local Files - Access and manage Local files
  • ๐ŸŽจ Beautiful UI - Modern, clean interface with dark mode support
  • โšก Native Performance - Built with Tauri for speed and efficiency
  • ๐Ÿ”’ Secure - API keys stored locally in .env file
  • ๐Ÿ–ฅ๏ธ System Tray - Quick access from your menu bar/system tray

๐Ÿ“‹ Prerequisites

Before you begin, ensure you have the following installed:

Platform-Specific Requirements

macOS

xcode-select --install

Windows

  • Microsoft Visual Studio C++ Build Tools
  • WebView2 (usually pre-installed on Windows 10/11)

Linux (Debian/Ubuntu)

sudo apt update
sudo apt install libwebkit2gtk-4.0-dev \
    build-essential \
    curl \
    wget \
    file \
    libssl-dev \
    libgtk-3-dev \
    libayatana-appindicator3-dev \
    librsvg2-dev

๐Ÿš€ Installation & Setup

Step 1: Clone the Repository

git clone https://github.com/yourusername/mcp-quickbar.git
cd mcp-quickbar

Step 2: Install Dependencies

npm install

This will install all required Node.js dependencies.

Step 3: Configure Environment Variables

  1. Copy the example environment file:

    cp .env.example .env
  2. Edit .env and add your API keys:

    # Anthropic API Key - Get from https://console.anthropic.com/
    ANTHROPIC_API_KEY=sk-ant-api03-your-key-here
    
    # GitHub Personal Access Token - Generate from https://github.com/settings/tokens
    GITHUB_TOKEN=ghp_your-token-here
    
    # Serper API Key - Get from https://serper.dev/ (2,500 free searches/month)
    SERPER_API_KEY=your-serper-key-here
    
    # For Vite (frontend access)
    VITE_ANTHROPIC_API_KEY=sk-ant-api03-your-key-here
    VITE_GITHUB_TOKEN=ghp_your-token-here
    VITE_SERPER_API_KEY=your-serper-key-here

โš ๏ธ IMPORTANT: Never commit your .env file to version control! It's already in .gitignore.


๐ŸŽฎ Running the Application

Development Mode

Start the development server with hot-reload:

npm run dev

This will:

  • Start the Vite dev server on port 5173
  • Launch the Tauri application
  • Enable hot-reload for both frontend and backend changes

The app window will open automatically. You can also access it from the system tray icon.

Production Build

Build the application for production:

npm run build

The built application will be located in:

  • macOS: src-tauri/target/release/bundle/macos/
  • Windows: src-tauri/target/release/bundle/msi/
  • Linux: src-tauri/target/release/bundle/appimage/

๐Ÿ“– How to Use

1. Launch the App

Run npm run dev or double-click the built application.

2. Access from System Tray

  • macOS: Click the icon in the menu bar
  • Windows: Click the icon in the system tray
  • Linux: Click the icon in the system tray

3. Use Quick Actions

Click on any tool button:

  • ๐Ÿ” Web Search - Enter a search query and get results
  • ๐Ÿ“ GitHub Repos - List your repositories
  • ๐Ÿ“ธ Screenshot - Capture your screen
  • โ˜๏ธ Drive Files - Access Google Drive

4. Minimize Window

Click "Minimize" to minimize the window to the Dock. You can restore it by:

  • Clicking the app icon in the Dock
  • Clicking the tray icon in the menu bar (macOS) or system tray

๐Ÿ”‘ Getting API Keys

Anthropic API Key (Claude AI)

  1. Go to Anthropic Console
  2. Sign up or log in
  3. Navigate to API Keys
  4. Click Create Key
  5. Copy the key (starts with sk-ant-)

GitHub Personal Access Token

  1. Go to GitHub Settings > Tokens
  2. Click Generate new token (classic)
  3. Select scopes: repo, read:user
  4. Click Generate token
  5. Copy the token (starts with ghp_)

Serper API Key (Web Search)

  1. Go to Serper.dev
  2. Sign up for a free account
  3. Get 2,500 free searches per month
  4. Copy your API key from the dashboard

๐Ÿ› ๏ธ Development

Project Structure

mcp-quickbar/
โ”œโ”€โ”€ src/                    # Frontend source code
โ”‚   โ”œโ”€โ”€ index.html         # Main HTML file
โ”‚   โ”œโ”€โ”€ main.js            # UI logic and MCP integration
โ”‚   โ”œโ”€โ”€ mcp-setup.js       # MCP tools configuration
โ”‚   โ”œโ”€โ”€ styles.css         # Modern styling
โ”‚   โ””โ”€โ”€ assets/            # Images and icons
โ”œโ”€โ”€ src-tauri/             # Rust backend
โ”‚   โ”œโ”€โ”€ src/
โ”‚   โ”‚   โ””โ”€โ”€ main.rs        # Tauri app with system tray
โ”‚   โ”œโ”€โ”€ Cargo.toml         # Rust dependencies
โ”‚   โ”œโ”€โ”€ tauri.conf.json    # Tauri configuration
โ”‚   โ””โ”€โ”€ icons/             # App icons
โ”œโ”€โ”€ .env                   # API keys (DO NOT COMMIT!)
โ”œโ”€โ”€ .env.example           # Template for .env
โ”œโ”€โ”€ package.json           # Node.js dependencies
โ”œโ”€โ”€ vite.config.js         # Vite configuration
โ””โ”€โ”€ README.md              # This file

Available Scripts

npm run dev       # Start development server
npm run build     # Build for production
npm run tauri     # Run Tauri CLI commands

Adding New MCP Tools

  1. Define the tool in src/mcp-setup.js
  2. Add the tool handler in src-tauri/src/main.rs
  3. Update the UI in src/index.html and src/main.js

๐Ÿ› Troubleshooting

Port 5173 Already in Use

# Kill the process using the port
lsof -ti:5173 | xargs kill -9

Rust Compilation Errors

# Update Rust toolchain
rustup update

Missing Dependencies

# Clean install
rm -rf node_modules package-lock.json
npm install

System Tray Not Showing

  • macOS: Check System Preferences > Dock & Menu Bar
  • Windows: Check taskbar settings
  • Linux: Ensure you have a system tray (e.g., via GNOME Shell extension)

Build Fails

# Clean build
rm -rf dist src-tauri/target
npm run build

๐ŸŽจ Customization

Change Window Size

Edit src-tauri/tauri.conf.json:

{
  "app": {
    "windows": [{
      "width": 900,
      "height": 700
    }]
  }
}

Modify UI Theme

Edit CSS variables in src/styles.css:

:root {
  --primary: #6366f1;  /* Change primary color */
  --bg: #ffffff;       /* Change background */
}

๐Ÿšข Deployment

Building for Distribution

# Build for your current platform
npm run build

# The installer will be in src-tauri/target/release/bundle/

Code Signing (macOS)

For distribution on macOS, you'll need to sign the app:

# Set up in tauri.conf.json
{
  "bundle": {
    "macOS": {
      "signingIdentity": "Your Developer ID"
    }
  }
}

๐Ÿค Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

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

๐Ÿ“„ License

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


๐Ÿ™ Acknowledgments


๐Ÿ“ž Support


Loom Demo

Video Url

๐Ÿ—บ๏ธ Roadmap

  • Full Claude AI chat interface
  • More MCP tools (Calendar, Email, etc.)
  • Conversation history
  • Custom keyboard shortcuts
  • Multiple theme options
  • Plugin system for custom tools

Made with โค๏ธ using Tauri and MCP

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published