MCP.so
登录

MCP Dark Mode Toggle

@felixweinberger

基本信息

分类

其他

传输方式

stdio

作者

felixweinberger

关于 MCP Dark Mode Toggle

🌓 A tiny MCP server to toggle dark mode on macOS

#mcp#dark-mode#macos#toggle

MCP Dark Mode Toggle 配置

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

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

MCP Dark Mode Toggle 工具

工具列表暂未提供

当前收录暂时没有可展示的工具列表,不代表服务没有工具。请查阅项目文档了解支持的能力。

工具是从 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.

常见问题

1

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.

2

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.

3

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 服务器