MCP Dark Mode Toggle

by felixweinberger

1 stars
336 downloads
Not rated
GitHub

About

πŸŒ“ A tiny MCP server to toggle dark mode on macOS

Details

Author
felixweinberger
GitHub stars
1
Downloads
336
Categories
Other

- Provides a toggle_dark_mode tool for macOS.
- Demonstrates a basic MCP server implementation.
- Integrates with Claude Desktop via configuration file.

Setting up with Highlight

This MCP is not yet compatible with Highlight’s one-click setup. However, you can still use it with Highlight by following these steps:

  1. Download and install Highlight from highlightai.com/download
  2. Navigate to the plugins tab and select "Add Custom Plugin"
  3. Configure the plugin with the settings below
    Plugin Name MCP Dark Mode Toggle
    Command (node, npx, python, etc.)

    Please refer to the README for specific instructions on how to obtain API keys or other required environment variables.

  4. Enable "Start Automatically" if you want the plugin to start when Highlight launches

From the repository

Clone the repository and run uv sync to install dependencies. Then add an entry to your Claude Desktop configuration file (~/Library/Application Support/Claude/claude_desktop_config.json) pointing to the server’s main.py script using the python command. Restart Claude Desktop to access the toggle_dark_mode tool.

Claude Desktop / Cursor

Paste into your MCP client config file to install this server.

{
    "mcpServers": {
        "mcp dark mode toggle": {
            "mcp-toggle-dark-mode": {
                "command": "uv",
                "args": [
                    "sync"
                ]
            }
        }
    }
}

McpServers

{
    "mcp-toggle-dark-mode": {
        "command": "uv",
        "args": [
            "sync"
        ]
    }
}

MCP Dark Mode Toggle

A toy MCP (Model Context Protocol) server that demonstrates how MCP works by providing a simple tool to toggle dark mode on macOS.

Installation

```bash

No reviews yet β€” be the first

Sign in to leave a review

Use Google, GitHub, or an email account so ratings stay tied to real people.

Email sign in

No reviews posted yet.