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.

コメント

「その他」の他のコンテンツ