MCP.so
ログイン

LIFX API MCP Server

@furey

基本情報

カテゴリ

開発者ツール

ライセンス

MIT

トランスポート

stdio

作者

furey

LIFX API MCP Server について

🤖💡 MCP Server for LIFX API

LIFX API MCP Server の設定

以下の設定を使って、このサーバーを MCP 対応クライアントに追加してください。

{
  "mcpServers": {
    "lifx-api-mcp-server": {
      "command": "npx",
      "args": [
        "-y",
        "lifx-api-mcp-server@latest"
      ]
    }
  }
}

LIFX API MCP Server のツール

ツール一覧はまだありません

この掲載には表示できるツール一覧がまだありません。サーバーにツールがないという意味ではありません。対応機能はプロジェクトのドキュメントをご確認ください。

上のボタンで一時的なサンドボックスでこのサーバーを実行し、ツール一覧を取得できます。

概要

What is LIFX API MCP Server?

LIFX API MCP Server is a local Model Context Protocol (MCP) server that provides access to LIFX smart devices using natural language via LLMs. It allows users to list lights, set states, activate scenes, and trigger effects through the LIFX HTTP API.

How to use LIFX API MCP Server?

Obtain a LIFX API token from the LIFX Cloud settings page. Install the server via npx (npx -y lifx-api-mcp-server@latest) or Docker (docker run --rm -i --network=host furey/lifx-api-mcp-server). Configure the token using a config file (~/.lifx-api-mcp-server.jsonc), environment variable (CONFIG_API_TOKEN), or command-line argument. Set up an MCP client (e.g., Claude Desktop) and control lights using natural language. Use resources like lifx://lights and prompts like effect-creator.

Key features of LIFX API MCP Server

  • 18 tools for LIFX device control and scene management
  • Live resources: light list, light state, and scenes
  • Prompts: effect-creator, troubleshooter, selector-helper
  • Config file customization with component disabling
  • Supports Docker, NPX, and source-based installation
  • Uses standard LIFX selectors and color strings

Use cases of LIFX API MCP Server

  • Control LIFX lights using natural language through an LLM client.
  • Automate scene activation or light effects without manual scripting.
  • Diagnose connectivity issues for specific lights with the troubleshooter prompt.
  • Build custom light states and cycles for home automation.
  • Integrate LIFX control into AI-driven workflows and assistants.

よくある質問

1

What are the runtime requirements?

Node.js v18+ (for NPX/source install) or Docker (for Docker install). A LIFX API token is required.

2

How do I configure the API token?

Set it via the config file (`apiToken` field in `~/.lifx-api-mcp-server.jsonc`), environment variable (`CONFIG_API_TOKEN`), or command-line argument (least recommended). Priority follows that order.

3

Does the server store any data?

No. The server does not store or cache information permanently; all device data remains in the LIFX cloud.

4

What transport does the server use?

It uses stdio transport, as shown in the startup log output ("Creating stdio transport").

5

Can I disable specific tools, resources, or prompts?

Yes. Use the `disabled` or `enabled` keys in the config file to selectively disable or limit components.

コメント

「開発者ツール」の他のコンテンツ