Skip to content
PlaceOSPublic

About

PlaceOS control and management API.

Resources

Code of conduct

Contributing

Security policy

Stars

6 stars

Watchers

3 watching

Forks

Repository files navigation

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.

About

PlaceOS control and management API.

Resources

Code of conduct

Contributing

Security policy

Stars

6 stars

Watchers

3 watching

Forks

Releases

Used by

Contributors

Languages