{"id":28824686,"url":"https://github.com/yasu89/switch-bot-mcp-server","last_synced_at":"2026-04-02T01:47:59.087Z","repository":{"id":288937816,"uuid":"969583472","full_name":"yasu89/switch-bot-mcp-server","owner":"yasu89","description":"SwitchBot MCP Server","archived":false,"fork":false,"pushed_at":"2025-06-21T14:28:07.000Z","size":4963,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-21T15:29:22.208Z","etag":null,"topics":["go","golang","mcp","mcp-server","switchbot"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/yasu89.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-04-20T13:38:20.000Z","updated_at":"2025-06-21T14:28:03.000Z","dependencies_parsed_at":"2025-06-21T15:23:36.237Z","dependency_job_id":"0b31055f-0667-4d31-a5dc-0f9e419494dc","html_url":"https://github.com/yasu89/switch-bot-mcp-server","commit_stats":null,"previous_names":["yasu89/switch-bot-mcp-server"],"tags_count":5,"template":false,"template_full_name":null,"purl":"pkg:github/yasu89/switch-bot-mcp-server","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yasu89%2Fswitch-bot-mcp-server","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yasu89%2Fswitch-bot-mcp-server/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yasu89%2Fswitch-bot-mcp-server/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yasu89%2Fswitch-bot-mcp-server/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/yasu89","download_url":"https://codeload.github.com/yasu89/switch-bot-mcp-server/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yasu89%2Fswitch-bot-mcp-server/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28039984,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-12-25T02:00:05.988Z","response_time":58,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["go","golang","mcp","mcp-server","switchbot"],"created_at":"2025-06-19T01:34:12.091Z","updated_at":"2025-12-25T23:06:36.110Z","avatar_url":"https://github.com/yasu89.png","language":"Go","funding_links":[],"categories":["🛠️ Developer Productivity \u0026 Utilities","🔧 Utilities"],"sub_categories":[],"readme":"# SwitchBot MCP Server\n\n[![Go Report Card](https://goreportcard.com/badge/github.com/yasu89/switch-bot-mcp-server)](https://goreportcard.com/report/github.com/yasu89/switch-bot-mcp-server)\n![Coverage](https://raw.githubusercontent.com/yasu89/octocovs/main/badges/yasu89/switch-bot-mcp-server/coverage.svg)\n![Code to Test Ratio](https://raw.githubusercontent.com/yasu89/octocovs/main/badges/yasu89/switch-bot-mcp-server/ratio.svg)\n![Test Execution Time](https://raw.githubusercontent.com/yasu89/octocovs/main/badges/yasu89/switch-bot-mcp-server/time.svg)\n\n[日本語はこちら](README_ja.md)\n\nThe SwitchBot MCP Server is a [Model Context Protocol (MCP)](https://modelcontextprotocol.io/introduction) server that provides a feature to control SwitchBot devices interactively using [SwitchBotAPI](https://github.com/OpenWonderLabs/SwitchBotAPI).\n\n## Use Cases\n\n- Operate SwitchBot devices interactively\n- Perform operations on multiple devices at once\n- Use data retrieved from a device to operate another device\n\n## Installation\n\n### Prepare secret and token\n\nFollow the [Getting Started guide of SwitchBotAPI](https://github.com/OpenWonderLabs/SwitchBotAPI?tab=readme-ov-file#getting-started) to obtain the token and secret for SwitchBotAPI.\n\n### Setting for Claude Desktop\n\n#### Using Docker (recommended)\n\n```json\n{\n  \"mcpServers\": {\n    \"switchbot\": {\n      \"command\": \"docker\",\n      \"args\": [\n        \"run\",\n        \"-i\",\n        \"--rm\",\n        \"--name\",\n        \"switch-bot-mcp-server\",\n        \"-e\",\n        \"SWITCH_BOT_TOKEN\",\n        \"-e\",\n        \"SWITCH_BOT_SECRET\",\n        \"yasu89/switch-bot-mcp-server:latest\"\n      ],\n      \"env\": {\n        \"SWITCH_BOT_TOKEN\": \"YOUR_SWITCH_BOT_TOKEN\",\n        \"SWITCH_BOT_SECRET\": \"YOUR_SWITCH_BOT_SECRET\"\n      }\n    }\n  }\n}\n```\n\n#### Using binary\n\n\u003cdetails\u003e\n\n\u003csummary\u003eDetails\u003c/summary\u003e\n\nDownload binary from [release page](https://github.com/yasu89/switch-bot-mcp-server/releases).\n\n```json\n{\n  \"mcpServers\": {\n    \"switchbot\": {\n      \"command\": \"~/Downloads/switch-bot-mcp-server\",\n      \"env\": {\n        \"SWITCH_BOT_TOKEN\": \"YOUR_SWITCH_BOT_TOKEN\",\n        \"SWITCH_BOT_SECRET\": \"YOUR_SWITCH_BOT_SECRET\"\n      }\n    }\n  }\n}\n```\n\n\u003c/details\u003e\n\n## Available Tools\n\nRetrieving devices, retrieving statuses, and executing commands on devices are available.\n\n| Tool Name                      | Description                   |\n|--------------------------------|-------------------------------|\n| `get_switch_bot_devices`       | Get SwitchBot devices         |\n| `get_switch_bot_device_status` | Get SwitchBot device status   |\n| `execute_command`              | Execute a command on a device |\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyasu89%2Fswitch-bot-mcp-server","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fyasu89%2Fswitch-bot-mcp-server","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyasu89%2Fswitch-bot-mcp-server/lists"}