Licence
Apache-2.0
Version
0.1.13
Deps
5
Size
576 kB
Vulns
0
Weekly
0
Install scriptsThis package runs scripts during installation (preinstall/install/postinstall)
@hasna/telephony
Telephony platform for AI agents — SMS, WhatsApp, voice calls, TTS/STT, real-time streaming
Install
npm install -g @hasna/telephonyCLI Usage
telephony --helptelephony sms sendtelephony sms listtelephony whatsapp sendtelephony call maketelephony call list
MCP Server
telephony-mcp39 tools available.
HTTP mode
Shared Streamable HTTP transport (stateless, localhost only):
telephony-mcp --http
# or: MCP_HTTP=1 telephony-mcpDefault port 8839 (--port / MCP_HTTP_PORT). Endpoints: GET /health, POST /mcp.
REST API
telephony-serveData Directory
Telephony owns its local SQLite store directly. By default data is stored in
~/.hasna/telephony/; set HASNA_TELEPHONY_DB_PATH or TELEPHONY_DB_PATH to
use a specific database file, or set TELEPHONY_DB_SCOPE=project to use
.telephony/telephony.db under the nearest git root.
Realtime voice streaming requires a public webhook URL for Twilio Media Streams.
External PostgreSQL deployments may reuse the exported PG_MIGRATIONS schema
with their own database adapter.
License
Apache-2.0 -- see LICENSE