Logitech Sync MCP

Logitech Sync MCP

A read-only MCP server for the Logitech Sync Cloud API, providing tools to inspect rooms, desks, devices, health, occupancy, coverage, environmental readings, and network information.

Category
访问服务器

README

Logitech Sync MCP

English | Français

CI Python 3.12+ License: MIT

<p align="center"> <img src="docs/assets/logitech-sync-mcp-bouchecousue-hero.webp" alt="BoucheCousue character holding a secured cable that connects an AI assistant to Logitech Sync meeting-room equipment" width="1200"> </p>

A read-only Model Context Protocol server for the Logitech Sync Cloud API. It turns the API's place inventory endpoint into nine focused tools that AI clients can use to inspect rooms, desks, devices, health, occupancy, coverage, environmental readings, and network information.

The server is written in Python, managed with UV, and connects to Logitech Sync with mutual TLS (mTLS). Certificate material stays on the local machine and is never accepted as a tool argument or returned in a tool response.

This is an independent integration and is not affiliated with or endorsed by Logitech. See Notices.

[!IMPORTANT] This integration is strictly read-only. Logitech Sync Cloud API 0.1.4 exposes the inventory operation GET /org/{orgId}/place; this project does not provide write, update, or delete operations. Authorized administrators can obtain the vendor API documentation from Sync Portal.

Tools

Tool Purpose
logitech_sync_check_connection Validate the configuration, mTLS connection, license, and organisation access with a minimal request.
logitech_sync_list_places Read a native page of rooms or desks with explicit projection and cursor controls.
logitech_sync_search_inventory Search places and devices by name, ID, serial number, version, contract, IP address, MAC address, or hostname.
logitech_sync_get_inventory_summary Summarise places, coverage, device types, models, versions, statuses, and health.
logitech_sync_list_device_issues Find offline, warning, error, stale, or incomplete devices.
logitech_sync_get_occupancy_report Report occupancy, known capacity, utilisation, and over-capacity places.
logitech_sync_get_environment_report Read and filter available Spot and Rally Board sensor measurements without inventing health thresholds.
logitech_sync_get_coverage_report Audit contracts, licences, and warranties as of a given date.
logitech_sync_list_network_inventory Inventory IP addresses, MAC addresses, hostnames, and wired or Wi-Fi interfaces.

All tools declare readOnlyHint=true, destructiveHint=false, idempotentHint=true, and openWorldHint=true.

Requirements

  • UV
  • A Logitech Sync organisation ID from Sync Portal → Settings → Sync Cloud API
  • A PEM client certificate and its matching private key
  • A compatible Logitech Select, Essential, or Sync Plus license

Quick start

git clone https://github.com/bouchecousue/logitech-sync-mcp.git
cd logitech-sync-mcp
cp .env.example .env

Place your credentials at the default paths:

client-certificate/certificate.pem
client-certificate/privateKey.pem

Set LOGITECH_SYNC_ORG_ID in .env, restrict the private key, then install and start the server:

chmod 600 client-certificate/privateKey.pem
uv sync --all-groups --no-editable
uv run --no-editable python run_server.py

The last command starts a stdio MCP server and waits for protocol messages on standard input. See the complete Getting Started guide for certificate setup, client configuration, validation, and troubleshooting.

MCP client configuration

Generic stdio configuration:

{
  "mcpServers": {
    "logitech-sync": {
      "command": "uv",
      "args": [
        "--directory",
        "/path/to/logitech-sync-mcp",
        "run",
        "--no-editable",
        "python",
        "/path/to/logitech-sync-mcp/run_server.py"
      ]
    }
  }
}

The server loads .env from the project directory. Keep credentials out of the MCP client configuration when possible so they are not duplicated across configuration files.

Configuration

Variable Default Description
LOGITECH_SYNC_ORG_ID none Required organisation ID from Logitech Sync Portal.
LOGITECH_SYNC_API_BASE_URL https://api.sync.logitech.com/v1 Documented API server; override only for administration or testing.
LOGITECH_SYNC_CERT_FILE client-certificate/certificate.pem Client certificate path; an absolute path is recommended.
LOGITECH_SYNC_KEY_FILE client-certificate/privateKey.pem Private key path; an absolute path is recommended.
LOGITECH_SYNC_CA_FILE public CA bundle Optional custom CA bundle.
LOGITECH_SYNC_TIMEOUT_SECONDS 30 Overall timeout for one attempt.
LOGITECH_SYNC_CACHE_TTL_SECONDS 60 Short in-memory cache to reduce quota usage.
LOGITECH_SYNC_MAX_RETRIES 3 Bounded retries for 429/502/503/504 and transport errors.
LOGITECH_SYNC_MIN_REQUEST_INTERVAL_SECONDS 1 Minimum interval between network attempts.
LOGITECH_SYNC_TRUST_ENV false Explicitly allow HTTPX environment proxies and CA settings.
LOGITECH_SYNC_FIXTURE_FILE none Offline fixture mode for tests and evaluations.

The organisation ID is a separate value: the server never attempts to infer it from the X.509 certificate subject.

Pagination, quotas, and output

According to the supplied Logitech documentation, the API allows 14,400 requests per day, supports a sustained rate of one request per second, and recommends exponential backoff. The client therefore:

  • serialises network attempts at a minimum one-second interval;
  • honours Retry-After without retrying early;
  • applies bounded exponential backoff with jitter;
  • caches pages briefly and caps the cache at 256 pages;
  • detects cursor loops;
  • bounds workflows with page_size, max_pages, and max_results;
  • exposes nextResultOffset when an aggregated result has another local page;
  • keeps text and structuredContent within a combined MCP response budget and reports truncation explicitly.

Tools support markdown and json text rendering and return schema-validated structuredContent. An omitted projection preserves Logitech's default projection, while [] requests place IDs only. Device child projections automatically include their required parent projection.

Security model

  • .env, client-certificate/, private-key formats, caches, and local tooling files are excluded from Git.
  • On POSIX systems, startup fails if the private key is readable by the group or other users.
  • Server certificate verification remains enabled; the implementation has no verify=False path.
  • HTTP redirects are disabled so the client certificate is not presented to another host.
  • PEM data is never exposed through MCP arguments or results.
  • Application logs never use stdout, which is reserved for the stdio protocol.
  • API-provided strings are treated as untrusted data and escaped in Markdown output.
  • The API URL and secret paths are administrator configuration, not model-controlled tool inputs.

Before publishing a fork or opening a pull request, run:

git status --short
git check-ignore -v .env client-certificate/privateKey.pem

Never commit an organisation ID, certificate, private key, captured API response, or real inventory fixture.

Development

uv sync --all-groups --no-editable
uv run --no-editable ruff check .
uv run --no-editable ruff format --check .
PYTHONPATH=src uv run --no-sync pytest --cov=logitech_sync_mcp
uv run --no-editable python -m compileall -q src

The live test consumes API quota and is disabled by default:

LOGITECH_SYNC_RUN_LIVE=1 uv run --no-editable pytest -m live tests/test_live.py

The deterministic evaluation set uses the versioned synthetic fixture, never a live inventory.

Documentation

License

Released under the MIT License.

推荐服务器

Baidu Map

Baidu Map

百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。

官方
精选
JavaScript
Playwright MCP Server

Playwright MCP Server

一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。

官方
精选
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。

官方
精选
本地
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。

官方
精选
本地
TypeScript
VeyraX

VeyraX

一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。

官方
精选
本地
graphlit-mcp-server

graphlit-mcp-server

模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。

官方
精选
TypeScript
Kagi MCP Server

Kagi MCP Server

一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。

官方
精选
Python
e2b-mcp-server

e2b-mcp-server

使用 MCP 通过 e2b 运行代码。

官方
精选
Neon MCP Server

Neon MCP Server

用于与 Neon 管理 API 和数据库交互的 MCP 服务器

官方
精选
Exa MCP Server

Exa MCP Server

模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。

官方
精选