nixflex-mcp 0.2.1 → 0.3.0
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/index.js +2 -2
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -76,7 +76,7 @@ T('rotate_api_key', 'Replace the API secret. The current secret stops working im
|
|
|
76
76
|
T('list_agents', 'List the agents on this account. Phone numbers, webhooks and integrations are attached per NUMBER, not per agent - use list_phone_numbers to see them.',
|
|
77
77
|
z.object({ limit: z.number().int().min(1).max(100).optional() }), ({ limit }) => client.agents.list(limit ? { limit } : {}));
|
|
78
78
|
T('get_agent', 'One agent with its prompt and settings.', z.object({ agent_id: z.string() }), ({ agent_id }) => client.agents.get(agent_id));
|
|
79
|
-
T('create_agent', 'Create an agent. name and system_prompt are required; any other agent field (voice_id, language, incall_sms_enabled, silence_hangup_seconds, ...) goes in fields.',
|
|
79
|
+
T('create_agent', 'Create an agent. name and system_prompt are required; any other agent field (voice_id, language, incall_sms_enabled, silence_hangup_seconds, record_call, recording_source = provider or nixflex, ...) goes in fields.',
|
|
80
80
|
z.object({ name: z.string(), system_prompt: z.string(), fields: fields.optional() }), ({ name, system_prompt, fields: f }) => client.agents.create({ name, system_prompt, ...(f || {}) }));
|
|
81
81
|
T('update_agent', 'Update an agent. Only the fields you pass change. Pass null to clear a nullable field.',
|
|
82
82
|
z.object({ agent_id: z.string(), fields }), ({ agent_id, fields: f }) => client.agents.update(agent_id, f));
|
|
@@ -105,7 +105,7 @@ T('list_phone_numbers', 'Phone numbers on this account and which agent each one
|
|
|
105
105
|
z.object({ agent_id: z.string().optional() }), ({ agent_id }) => client.phoneNumbers.list(agent_id ? { agent_id } : {}));
|
|
106
106
|
T('import_phone_number', 'Attach a number you own at Twilio or Telnyx to an agent. Needs carrier credentials in fields (twilio_account_sid + twilio_auth_token, or telnyx_api_key + telnyx_connection_id).',
|
|
107
107
|
z.object({ phone_number: E164, agent_id: z.string(), fields }), ({ fields: f, ...rest }) => client.phoneNumbers.import({ ...rest, ...f }));
|
|
108
|
-
T('update_phone_number', 'Update per-number settings: custom_prompt, sms_prompt, sms_reply_enabled, web_prompt, dtmf_enabled, record_call, voice_id, speaking_rate, ... Only passed fields change; null clears.',
|
|
108
|
+
T('update_phone_number', 'Update per-number settings: custom_prompt, sms_prompt, sms_reply_enabled, web_prompt, dtmf_enabled, record_call, recording_source (provider | nixflex | null = inherit), voice_id, speaking_rate, ... Only passed fields change; null clears.',
|
|
109
109
|
z.object({ phone_number: E164, fields }), ({ phone_number, fields: f }) => client.phoneNumbers.update(phone_number, f));
|
|
110
110
|
T('delete_phone_number', 'Disconnect a number from Nixflex (the carrier keeps it and keeps billing it). Requires confirm: true.',
|
|
111
111
|
z.object({ phone_number: E164, confirm: confirmArg }), async ({ phone_number, confirm }) => confirm ? client.phoneNumbers.delete(phone_number) : { would_delete: 'number ' + phone_number + ' from Nixflex', hint: 'Call again with confirm: true.' });
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "nixflex-mcp",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.3.0",
|
|
4
4
|
"description": "MCP server for the Nixflex voice AI platform - manage agents, calls, numbers and caller context from Claude Desktop, Cursor or any MCP client.",
|
|
5
5
|
"keywords": ["nixflex", "mcp", "model-context-protocol", "voice-ai", "phone", "claude"],
|
|
6
6
|
"homepage": "https://docs.nixflex.com/mcp/overview",
|