Skip to main content
Placet supports four connection types for agent integration. You can use them independently or combine them.

Comparison

FeatureMCPREST APIWebSocketWebhooks
Best forAI coding agentsScripts & appsPersistent agentsBackground jobs
LatencyReal-time (poll)Up to 30s (poll)Real-time (push)Near real-time (push)
Persistent connectionPer-sessionNoYesNo
Agent needs public URLNoNoNoYes
ProtocolMCP over HTTP/stdioHTTP RESTSocket.IOHTTP callback

Choosing a Connection

Use MCP. The Placet MCP server exposes all capabilities as tools that AI assistants can call directly. Configure your IDE with a one-line config.
Use the REST API. Send messages via HTTP, poll for responses with long-polling. Works from any language with zero dependencies.
Use WebSocket. Connect via Socket.IO, subscribe to channels, and receive instant push events when humans respond.
Use Webhooks. Set a webhook URL and let Placet push responses to your server — your automation doesn’t block while waiting.
Use fire-and-forget via the REST API: POST /api/v1/messages without a review field. No response mechanism needed.

Push Notifications

All connection types benefit from browser push notifications. When an agent sends a message, users receive a notification even when the browser tab is in the background. Push notifications are powered by the Web Push API (VAPID) and can be enabled per user in Settings > Appearance.