Skip to main content

Crate dravr_canot_server

Crate dravr_canot_server 

Source
Expand description

§dravr-canot-server

Unified REST API + MCP server for multi-platform messaging channels.

§Endpoints

  • POST /api/messaging/webhook/:channel — receive inbound webhooks
  • POST /api/messaging/send — send outbound messages
  • GET /health — channel readiness check
  • POST /mcp — MCP Streamable HTTP (JSON-RPC 2.0, via dravr-canot-mcp)

§Modules

  • webhook — inbound webhook handler with signature verification
  • send — outbound message sending endpoint
  • health — channel health checks
  • auth — optional bearer token authentication
  • router — Axum router wiring all endpoints (REST + MCP)
  • state — re-export of unified state from dravr-canot-mcp

Modules§

auth
health
router
send
state
webhook

Type Aliases§

SharedState
Type alias for the shared state handle used across the server