MCP.so
登录

Smart Bulb Control via MCP Server With Claude

@Arpitmahajan123

基本信息

分类

AI 与智能体

传输方式

stdio

作者

Arpitmahajan123

关于 Smart Bulb Control via MCP Server With Claude

This project creates an MCP server using Node.js and TypeScript to autonomously control a smart bulb via UDP communication. It integrates with AI interfaces like ChatGPT or Claude, enabling seamless, anonymous, and automated lighting control with color and brightness adjustments.

Smart Bulb Control via MCP Server With Claude 配置

暂无标准配置

该服务器的 README 中没有可解析的 MCP 配置块,请前往代码仓库查看安装说明。

代码仓库

Smart Bulb Control via MCP Server With Claude 工具

工具列表暂未提供

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

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

概览

What is Smart Bulb Control via MCP Server With Claude?

It is an MCP (Model Context Protocol) server built with Node.js and TypeScript that enables autonomous control of a smart bulb using AI-driven commands. It communicates with the bulb via UDP over a local Wi-Fi network and integrates with AI interfaces such as ChatGPT or Claude for seamless automated lighting management.

How to use Smart Bulb Control via MCP Server With Claude?

Install dependencies with pnpm install, build the TypeScript project with pnpm build, then run the server with npm start. Ensure the smart bulb is connected to the same network and configured with the correct IP address and UDP port. The server exposes MCP tools (e.g., turn_on, set_color) that AI clients can invoke.

Key features of Smart Bulb Control via MCP Server With Claude

  • Turn the bulb on/off via AI or command-line input
  • Set RGB color dynamically through structured JSON commands
  • Adjust brightness using a dimming percentage parameter
  • AI integration with MCP for automated lighting routines
  • Real-time color and brightness adjustments
  • Uses Node.js built-in dgram module for UDP communication

Use cases of Smart Bulb Control via MCP Server With Claude

  • Voice or text commands to turn lights on/off via an AI assistant
  • Automatically adjust bulb color and brightness based on time of day or mood
  • Create AI-driven routines that react to external events (e.g., coding activity, weather)
  • Integrate smart lighting control into broader IoT automation workflows

常见问题

1

What smart bulbs are compatible?

The project uses examples like Philips Hue bulbs that operate over a UDP server on a predefined port and connect via a private IP address on your Wi-Fi network.

2

How does the server communicate with the bulb?

Commands are sent as JSON-formatted UDP datagrams to the bulb’s IP address and port. The server uses Node.js’s built-in `dgram` module for socket communication.

3

What tools does the server provide?

Three primary tools: `turn_on` to turn the bulb on, `turn_off` to turn it off, and `set_color(r, g, b, dimming)` to adjust color and brightness. Each tool has a defined input schema.

4

How do I run the server?

Run `pnpm install`, then `pnpm build`, then `npm start`. The bulb must be on the same network with the correct IP and UDP port configured.

5

What transport does the MCP server use?

The server uses stdio transport to interface with AI platforms like Cursor or Claude for real-time control.

评论

AI 与智能体 分类下的更多 MCP 服务器