MCP.so
Sign In

MCP Dark Mode Toggle

@felixweinberger

About MCP Dark Mode Toggle

🌓 A tiny MCP server to toggle dark mode on macOS

Basic information

Category

Other

Runtime

python

Transports

stdio

Publisher

felixweinberger

Config

Add this server to your MCP-compatible client using the configuration below.

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

Tools

No tools detected

We auto-extract tools from the README. The maintainer can list them under a ## Tools heading to populate this section.

Overview

What is MCP Dark Mode Toggle?

It is a toy MCP (Model Context Protocol) server that demonstrates how MCP works by providing a simple tool to toggle dark mode on macOS. It is intended for developers learning to build MCP servers.

How to use MCP Dark Mode Toggle?

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.

Key features of MCP Dark Mode Toggle

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

Use cases of MCP Dark Mode Toggle

  • Developers learning how to build and test MCP servers.
  • Quickly toggling dark mode on macOS from within Claude Desktop.

FAQ from MCP Dark Mode Toggle

What does the MCP Dark Mode Toggle server do?

It exposes a single tool, toggle_dark_mode, that toggles the dark mode appearance setting on macOS.

How do I install and configure it?

You clone the repository, run uv sync to install dependencies, then add a configuration entry to Claude Desktop’s config file that points to the server’s main.py using the python command.

What are the system requirements?

The server runs on macOS (to toggle dark mode) and requires Python (invoked via the python command in the config) and the dependencies installed by uv sync.

Comments

More Other MCP servers