rest-api v1.30.2

PlaceOS control and management API.

PlaceOS REST API

Build CI Changelog

PlaceOS service that provides a real-time control API.

API Docs

https://placeos.github.io/rest-api-swagger-ui/

MCP Server

The API is also available to LLM clients (Claude Code, Claude Desktop, VS Code, Cursor, ...) as an MCP server at /api/engine/v2/mcp, using the Streamable HTTP transport.

claude mcp add --transport http placeos https://<your-placeos-domain>/api/engine/v2/mcp
  • Signing in: the client signs the user in through PlaceOS (OAuth with PKCE and a consent screen, served by auth). Tokens are refreshed automatically. Headless agents can send an API key instead, e.g. --header "X-API-Key: <key>".
  • Tools: each API resource (systems, zones, modules, ...) is a toolbox. The model opens the toolboxes it needs, which keeps its context small. Calls run as the signed in user, with their permissions.
  • Exposure: webhooks, health checks, streaming, signalling and AI generation endpoints are not exposed (@[AC::MCP(hide: true)]).
  • Tool descriptions: they come from the source code comments. The Docker build generates mcp.yml and ships it with the binary (rest-api --mcp=mcp.yml; override the location with MCP_DESCRIPTION_PATH).

Contributing

See CONTRIBUTING.md.

Repository

rest-api

Owner
Statistic
  • 6
  • 1
  • 34
  • 0
  • 27
  • about 8 hours ago
  • January 29, 2019
License

Other

Links
Synced at

Thu, 15 Oct 2026 13:31:19 GMT

Languages