feat: voice + TTS voice message MCP tools #89
No reviewers
Labels
No labels
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
jlxq0/matrix-mcp!89
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "feat/tts-voice-message"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
send_voice_message: posts m.audio with the MSC3245 voice flag + MSC1767 audio block from a caller-supplied HTTPS URL, so Element renders it as a voice-memo bubble.send_tts_voice_message: POSTs caller text to a configured OpenAI-compatible TTS endpoint (e.g. Chatterbox at https://tts.oddie.media/v1), parses the returned WAV for duration, uploads to the homeserver media repo, and posts the same voice-message envelope.ruma'sunstable-msc3245-v1-compatfeature for the typedvoice/audiofields onAudioMessageEventContent.MATRIX_MCP_TTS_BASE_URLandMATRIX_MCP_TTS_BEARER_TOKEN— both required together, or both unset (in which casesend_tts_voice_messagereturnsinvalid_params). No existing tool changes behaviour.Test plan
cargo fmtcargo clippy --all-targets -- -D warningscargo test(164 passed including 2 new WAV-parser tests)send_tts_voice_messageagainst the live server in a small test room.🤖 Generated with Claude Code