npm.io
0.1.13 • Published 4h agoCLI

@hasna/telephony

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

npm License

Install

npm install -g @hasna/telephony

CLI Usage

telephony --help
  • telephony sms send
  • telephony sms list
  • telephony whatsapp send
  • telephony call make
  • telephony call list

MCP Server

telephony-mcp

39 tools available.

HTTP mode

Shared Streamable HTTP transport (stateless, localhost only):

telephony-mcp --http
# or: MCP_HTTP=1 telephony-mcp

Default port 8839 (--port / MCP_HTTP_PORT). Endpoints: GET /health, POST /mcp.

REST API

telephony-serve

Data 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

Keywords