MCP.so
登录

MCP Dark Mode Toggle

@felixweinberger

关于 MCP Dark Mode Toggle

🌓 A tiny MCP server to toggle dark mode on macOS

基本信息

分类

其他

运行时

python

传输方式

stdio

发布者

felixweinberger

配置

使用下面的配置,将此服务器添加到你的 MCP 客户端。

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

工具

未检测到工具

工具是从 README 中自动提取的。维护者可以在 ## Tools 标题下列出工具,即可填充这部分内容。

概览

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.

评论

其他 分类下的更多 MCP 服务器