@chamade/mcp-server 1.1.7 → 1.1.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +7 -3
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -273,11 +273,15 @@ server.tool("chamade_say", "Speak text aloud in the meeting via TTS. Write natur
|
|
|
273
273
|
};
|
|
274
274
|
});
|
|
275
275
|
// -- Tool: chat -------------------------------------------------------------
|
|
276
|
-
server.tool("chamade_chat", "Send a text chat message in the meeting.", {
|
|
276
|
+
server.tool("chamade_chat", "Send a text chat message in the meeting. Set sender_name to identify yourself (e.g. your name or 'AI Assistant').", {
|
|
277
277
|
call_id: z.string().describe("Call ID from chamade_join"),
|
|
278
278
|
text: z.string().describe("Chat message to send"),
|
|
279
|
-
|
|
280
|
-
|
|
279
|
+
sender_name: z.string().optional().describe("Display name shown in the chat (e.g. 'Claude', 'AI Assistant')"),
|
|
280
|
+
}, async ({ call_id, text, sender_name }) => {
|
|
281
|
+
const body = { text };
|
|
282
|
+
if (sender_name)
|
|
283
|
+
body.sender_name = sender_name;
|
|
284
|
+
await chamadePost(`/api/call/${call_id}/chat`, body);
|
|
281
285
|
return {
|
|
282
286
|
content: [{ type: "text", text: `Chat sent: "${text}"` }],
|
|
283
287
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@chamade/mcp-server",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.8",
|
|
4
4
|
"description": "MCP server for Chamade — voice gateway for AI agents. Join Discord, Teams, Meet, Telegram, SIP, Zoom meetings and interact via speech and text. Supports Claude Code channel mode for push events.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|