
A directory listing describing a cancellation-letter and mailing-address service. The configured public GitHub repository returned 404 during source verification.

An MCP server that lets AI assistants query and adjust display brightness, contrast, and RGB gain information over DDC/CI on Windows.
MCP server for controlling monitor brightness and contrast is cataloged as an MCP server attributed to mingdedi. An MCP server that lets AI assistants query and adjust display brightness, contrast, and RGB gain information over DDC/CI on Windows. It is categorized under developer tools. See the capability inspector for recorded interfaces and their independent review status; consult upstream documentation for the current interface.
Installation configuration is not reviewed. No executable setup is offered for this entry; inspect the source repository before proceeding.
Catalog license label: MIT. Check the source repository's current license and terms before using, modifying or distributing this software.
能力定义尚未审核。未核验的采集内容不会作为可信接口展示。
暂无可展示的已审核记录。这不表示上游不支持此能力。
暂无可展示的已审核记录。这不表示上游不支持此能力。
暂无可展示的已审核记录。这不表示上游不支持此能力。
Email delivery is not connected. This page does not collect email addresses or create subscriptions.
Browse the registry for current listings instead.
Reviews for MCP server for controlling monitor brightness and contrast are not available yet
Review publishing and storage are not connected. This page does not collect or publish ratings or comments, including after sign-in.
It requires Windows 10 or 11.
No, the set_gain tool is temporarily disabled; gain values can only be queried.
Some laptop built-in screens do not support DDC/CI; the tool is mainly for external monitors.
README.md · 98152167933c · 采集于 2026-11-13 11:57:39 UTC
保留上游原文,不做 AI 改写。为安全起见过滤脚本、表单和不安全链接。
当前显示最后一次成功采集的文档快照,请以来源页面为准。
基于 MCP (Model Context Protocol) 的屏幕亮度控制工具,让 AI 助手可以智能调节你的显示器亮度。
本项目全程使用Qwen Code CLI程序Qwen3.5-Plus模型生成
# 克隆仓库
git clone https://github.com/your-username/monitor-control-mcp.git
cd monitor-control-mcp
# 安装依赖
uv sync
# 克隆仓库
git clone https://github.com/your-username/monitor-control-mcp.git
cd monitor-control-mcp
# 创建虚拟环境
python -m venv .venv
.venv\Scripts\activate # Windows
# 安装依赖
pip install -e .
# 直接运行测试
uv run python monitor_brightness.py
# 或使用 pip 安装后
python monitor_brightness.py
Windows (%APPDATA%\Claude\claude_desktop_config.json):
{
"mcpServers": {
"monitor-control": {
"command": "uv",
"args": ["run", "monitor-control-mcp"],
"cwd": "C:\\path\\to\\monitor-control-mcp"
}
}
}
macOS (~/Library/Application Support/Claude/claude_desktop_config.json):
⚠️ 注意:此工具仅支持 Windows 系统。macOS 用户需要使用其他方法。
在 Cursor 的设置中,找到 MCP 配置,添加:
{
"mcpServers": {
"monitor-control": {
"command": "uv",
"args": ["run", "monitor-control-mcp"],
"cwd": "C:\\path\\to\\monitor-control-mcp"
}
}
}
使用以下通用配置:
uv (或 Python 可执行文件路径)["run", "monitor-control-mcp"]get_monitor_info - 获取显示器信息获取所有显示器的详细信息和当前亮度。
参数: 无
返回示例:
{
"success": true,
"monitor_count": 2,
"monitors": [
{
"description": "Dell U2720Q",
"current_brightness": 60,
"min_brightness": 0,
"max_brightness": 100,
"raw_current": 60
},
{
"description": "LG UltraFine",
"current_brightness": 45,
"min_brightness": 0,
"max_brightness": 100,
"raw_current": 45
}
]
}
set_brightness - 设置亮度将显示器亮度设置为指定百分比。
参数:
| 参数名 | 类型 | 必填 | 描述 |
|---|---|---|---|
brightness | integer | ✅ | 目标亮度百分比 (0-100) |
monitor_description | string | ❌ | 显示器描述关键字,用于指定特定显示器 |
示例:
// 将所有显示器设置为 50% 亮度
{"brightness": 50}
// 仅设置 Dell 显示器
{"brightness": 70, "monitor_description": "Dell"}
adjust_brightness - 相对调节亮度在当前亮度基础上增加或减少亮度。
参数:
| 参数名 | 类型 | 必填 | 描述 |
|---|---|---|---|
delta | integer | ✅ | 亮度调整幅度 (-100 到 100) |
monitor_description | string | ❌ | 显示器描述关键字 |
示例:
// 增加 10% 亮度
{"delta": 10}
// 降低 20% 亮度
{"delta": -20}
// 仅调节特定显示器
{"delta": 5, "monitor_description": "LG"}
set_contrast - 设置对比度将显示器对比度设置为指定百分比。
参数:
| 参数名 | 类型 | 必填 | 描述 |
|---|---|---|---|
contrast | integer | ✅ | 目标对比度百分比 (0-100) |
monitor_description | string | ❌ | 显示器描述关键字,用于指定特定显示器 |
示例:
// 将所有显示器对比度设置为 70%
{"contrast": 70}
// 仅设置 Dell 显示器
{"contrast": 80, "monitor_description": "Dell"}
get_contrast - 获取对比度信息获取显示器的当前对比度信息。
参数:
| 参数名 | 类型 | 必填 | 描述 |
|---|---|---|---|
monitor_description | string | ❌ | 显示器描述关键字,用于指定特定显示器 |
返回示例:
{
"success": true,
"monitor_count": 1,
"monitors": [
{
"description": "Dell U2720Q",
"success": true,
"current": 70,
"min": 0,
"max": 100,
"percent": 70
}
]
}
get_gain - 获取指定颜色增益获取显示器指定颜色通道的增益信息。
参数:
| 参数名 | 类型 | 必填 | 描述 |
|---|---|---|---|
color | string | ✅ | 颜色通道:red、green 或 blue |
monitor_description | string | ❌ | 显示器描述关键字 |
返回示例:
{
"success": true,
"monitor_count": 1,
"monitors": [
{
"description": "Dell U2720Q",
"success": true,
"current": 50,
"min": 1,
"max": 100,
"percent": 49
}
]
}
get_all_gains - 获取所有颜色增益一次性获取显示器所有 RGB 增益信息。
参数:
| 参数名 | 类型 | 必填 | 描述 |
|---|---|---|---|
monitor_description | string | ❌ | 显示器描述关键字 |
返回示例:
{
"success": true,
"monitor_count": 1,
"monitors": [
{
"description": "Dell U2720Q",
"success": true,
"gains": {
"red": {
"current": 50,
"min": 1,
"max": 100,
"percent": 49
},
"green": {
"current": 50,
"min": 1,
"max": 100,
"percent": 49
},
"blue": {
"current": 50,
"min": 1,
"max": 100,
"percent": 49
}
}
}
]
}
set_gain 工具已暂时禁用,原因如下:
如果未来需要启用此功能,请确保:
用户:我现在的显示器亮度是多少?
AI: 让我帮你查询一下。 [使用
get_monitor_info工具] 你目前有 2 台显示器:
- Dell U2720Q: 亮度 60%
- LG UltraFine: 亮度 45%
用户:太亮了,调暗一点
AI: 好的,我来帮你降低亮度。 [使用
adjust_brightness工具,delta: -20] 已将亮度降低 20%,现在更舒适了。
用户:把亮度设为 50%
AI: 没问题。 [使用
set_brightness工具,brightness: 50] 已将所有显示器亮度设置为 50%。
用户:只调暗主显示器
AI: 好的。 [使用
set_brightness工具,brightness: 30, monitor_description: "Dell"] 已将 Dell 显示器亮度设置为 30%。
用户:把对比度调高一些
AI: 好的,我来帮你调整对比度。 [先使用
get_contrast查询当前值,再使用set_contrast设置为 75%] 已将对比度从 60% 调整为 75%。
用户:我的显示器 RGB 增益设置怎么样?
AI: 让我帮你检查一下。 [使用
get_all_gains工具] 你的显示器 RGB 增益设置如下:
- 红色:50%
- 绿色:50%
- 蓝色:50% 色彩平衡正常。
可能原因:
解决方案:
可能原因:
解决方案:
说明: 某些笔记本的内置屏幕不支持 DDC/CI 协议,这是正常现象。此工具主要适用于外接显示器。
替代方案: 使用 Windows 内置的亮度调节功能或笔记本厂商提供的控制软件。
检查步骤:
uv syncmonitor-control-mcp/
├── mcp_server.py # MCP 服务器主程序
├── monitor_brightness.py # 显示器亮度控制模块
├── pyproject.toml # 项目配置和依赖
├── README.md # 项目文档
├── LICENSE # 开源许可证
├── .gitignore # Git 忽略文件
└── tests/ # 测试目录(待添加)
└── test_server.py
# 克隆仓库
git clone https://github.com/your-username/monitor-control-mcp.git
cd monitor-control-mcp
# 安装开发依赖
uv sync --extra dev
# 运行测试
uv run pytest
# 测试亮度控制模块
uv run python monitor_brightness.py
# 测试 MCP 服务器(需要 MCP 客户端连接)
uv run python mcp_server.py
# 使用 uv 构建
uv build
# 或使用 pip
pip install build
python -m build
底层控制器类,管理显示器句柄和 DDC/CI 通信。
from monitor_brightness import MonitorController
controller = MonitorController()
controller.load_dll()
# 获取显示器列表
monitors = controller.get_monitor_handles()
# 设置亮度
success, message = controller.set_brightness_for_monitor(handle, 50)
# 获取当前亮度
current, min_val, max_val = controller.get_current_brightness(handle)
# 清理资源
controller.cleanup_monitors(monitors)
模块提供的便捷函数:
from monitor_brightness import (
control_monitor_brightness, # 控制亮度(高级 API)
get_monitor_handles, # 获取显示器句柄
get_current_brightness, # 获取当前亮度
set_brightness_for_monitor, # 设置单个显示器亮度
cleanup_monitors, # 清理资源
)
# 使用高级 API
result = control_monitor_brightness(50) # 设置所有显示器为 50%
result = control_monitor_brightness(50, "Dell") # 仅设置 Dell 显示器
欢迎贡献代码、报告问题或提出建议!
git checkout -b feature/AmazingFeature)git commit -m 'Add some AmazingFeature')git push origin feature/AmazingFeature)本项目采用 MIT 许可证 - 查看 LICENSE 文件了解详情。
感谢使用本项目!如果这个项目对你有帮助,请给一个 Star ⭐
注意: 本项目仅适用于 Windows 系统,需要显示器支持 DDC/CI 协议。
Claim this server with your GitHub account to request manual ownership verification.
Link to the catalog listing for MCP server for controlling monitor brightness and contrast from your README. This badge does not certify ownership, compatibility or security.
[](https://awesome-mcp.com/servers/monitor-control-mcp)Public repository statistics could not be verified. Check the configured source address; unavailable counts are not zero.
来源、范围和时段分别列出;不相加,不代表安装人数、活跃用户或安全审核。
尚无已审核的包 / 镜像标识,暂不展示下载统计。
Alternative and complementary servers in the same category

A directory listing describing a cancellation-letter and mailing-address service. The configured public GitHub repository returned 404 during source verification.

A hosted MCP service for browsing and searching through Singapore mobile-network proxies.

A directory listing describing a Markdown-to-PDF service. The configured public GitHub repository returned 404 during source verification.