nixflex-mcp 0.1.0 → 0.2.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/README.md +2 -0
- package/index.js +109 -134
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -8,4 +8,6 @@ MCP server for the [Nixflex](https://nixflex.com) voice AI platform. Manage agen
|
|
|
8
8
|
|
|
9
9
|
Or, with the Nixflex CLI installed: `nixflex mcp setup claude`.
|
|
10
10
|
|
|
11
|
+
35 tools: agents, calls, campaigns, numbers, caller context, SMS, webhooks, bring-your-own. Every destructive tool previews unless `confirm: true`.
|
|
12
|
+
|
|
11
13
|
Docs: https://docs.nixflex.com/mcp/overview
|
package/index.js
CHANGED
|
@@ -2,17 +2,21 @@
|
|
|
2
2
|
// ============================================
|
|
3
3
|
// nixflex-mcp - the Nixflex MCP server (stdio).
|
|
4
4
|
//
|
|
5
|
-
// Claude Desktop / Cursor / VS Code
|
|
6
|
-
//
|
|
7
|
-
//
|
|
8
|
-
// or: nixflex mcp setup claude
|
|
5
|
+
// Claude Desktop / Cursor / VS Code: nixflex mcp setup claude (needs `nixflex login` first)
|
|
6
|
+
// or by hand:
|
|
7
|
+
// { "mcpServers": { "nixflex": { "command": "npx", "args": ["-y", "nixflex-mcp"] } } }
|
|
9
8
|
//
|
|
10
9
|
// ONE DOOR: every tool is a call into the official `nixflex` SDK - the same code the CLI
|
|
11
|
-
// and the docs use, so a tool can never do something the API does not.
|
|
10
|
+
// and the docs use, so a tool can never do something the API does not. Coverage mirrors
|
|
11
|
+
// the CLI 1:1; tests/tools.test.mjs pins the tool count.
|
|
12
12
|
// STDIO RULE: never write to stdout. stdout IS the protocol. All logging goes to stderr.
|
|
13
|
-
// SAFETY:
|
|
14
|
-
//
|
|
15
|
-
//
|
|
13
|
+
// SAFETY: every destructive tool requires confirm: true and returns a preview otherwise.
|
|
14
|
+
// There is no delete-all tool. Spending tools (create_call, create_campaign, send_sms,
|
|
15
|
+
// create_sms_campaign) say so in their description and need every field spelled out.
|
|
16
|
+
// GENERIC FIELDS: update/create tools take a `fields` object passed straight to the API,
|
|
17
|
+
// so a new API field needs no server update (same rule as the CLI's --set).
|
|
18
|
+
// LISTS ARE SUMMARIES: list_calls strips transcripts and analysis - use get_call for one
|
|
19
|
+
// call in full. Full transcripts in a list blew the context in the first live audit.
|
|
16
20
|
// ============================================
|
|
17
21
|
import { McpServer } from '@modelcontextprotocol/server';
|
|
18
22
|
import { StdioServerTransport } from '@modelcontextprotocol/server/stdio';
|
|
@@ -22,7 +26,7 @@ import { readFileSync } from 'node:fs';
|
|
|
22
26
|
import { homedir } from 'node:os';
|
|
23
27
|
import { join } from 'node:path';
|
|
24
28
|
|
|
25
|
-
const VERSION = '0.
|
|
29
|
+
const VERSION = '0.2.0';
|
|
26
30
|
const log = (...a) => process.stderr.write('[nixflex-mcp] ' + a.join(' ') + '\n');
|
|
27
31
|
|
|
28
32
|
// ---- key: env first, then the CLI's config file (so `nixflex login` is enough) ----
|
|
@@ -32,145 +36,116 @@ function resolveKey() {
|
|
|
32
36
|
}
|
|
33
37
|
const key = resolveKey();
|
|
34
38
|
if (!key || !/^nxf_[a-z0-9]+:nxfs_[a-z0-9]+$/i.test(key)) {
|
|
35
|
-
log('No API key.
|
|
39
|
+
log('No API key. Run `nixflex login`, or set NIXFLEX_API_KEY (nxf_xxx:nxfs_xxx) in the server env.');
|
|
36
40
|
process.exit(2);
|
|
37
41
|
}
|
|
38
|
-
const client = new Nixflex({ apiKey: key });
|
|
42
|
+
const client = new Nixflex({ apiKey: key, baseUrl: process.env.NIXFLEX_BASE_URL });
|
|
39
43
|
|
|
40
44
|
// ---- helpers ----
|
|
41
45
|
const text = (data) => ({ content: [{ type: 'text', text: typeof data === 'string' ? data : JSON.stringify(data, null, 2) }] });
|
|
42
46
|
const fail = (e) => {
|
|
43
47
|
const body = e instanceof NixflexError
|
|
44
48
|
? { error: { code: e.code, status: e.status, message: e.message, doc_url: e.docUrl } }
|
|
45
|
-
: { error: { message: String(e && e.message || e) } };
|
|
49
|
+
: { error: { message: String((e && e.message) || e) } };
|
|
46
50
|
return { content: [{ type: 'text', text: JSON.stringify(body, null, 2) }], isError: true };
|
|
47
51
|
};
|
|
48
|
-
const run = (fn) => async (args) => { try { return text(await fn(args)); } catch (e) { return fail(e); } };
|
|
52
|
+
const run = (fn) => async (args) => { try { return text(await fn(args || {})); } catch (e) { return fail(e); } };
|
|
49
53
|
const E164 = z.string().regex(/^\+[1-9]\d{6,14}$/, 'E.164 number, e.g. +447700900123');
|
|
54
|
+
const fields = z.record(z.string(), z.unknown()).describe('Any fields the API accepts, passed as-is. Unknown names are rejected by the API, never dropped silently.');
|
|
55
|
+
const confirmArg = z.boolean().optional().describe('Required true to actually do it. Without it the tool returns a preview and changes nothing.');
|
|
56
|
+
const preview = async (what, fetch) => { let current = null; try { current = await fetch(); } catch { /* preview */ } return { would_delete: what, current, hint: 'Call again with confirm: true.' }; };
|
|
57
|
+
const summariseCall = (c) => ({ call_id: c.call_id, direction: c.direction, from_number: c.from_number, to_number: c.to_number, agent_id: c.agent_id, call_status: c.call_status, ended_reason: c.ended_reason, duration_ms: c.duration_ms, started_at: c.start_timestamp || c.created_at, call_summary: c.call_summary, call_successful: c.call_successful, caller_sentiment: c.caller_sentiment, bookings: Array.isArray(c.bookings) ? c.bookings.length : undefined });
|
|
50
58
|
|
|
51
59
|
const server = new McpServer({ name: 'nixflex', version: VERSION });
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
},
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
},
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
}),
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
}),
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
}));
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
},
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
preference: z.string().nullable().optional(),
|
|
140
|
-
}),
|
|
141
|
-
}, run(({ phone_number, caller_number, ...fields }) => client.callers.set(phone_number, caller_number, fields)));
|
|
142
|
-
|
|
143
|
-
server.registerTool('import_caller_context', {
|
|
144
|
-
description: 'Load up to 1,000 caller records onto one of your numbers in one go.',
|
|
145
|
-
inputSchema: z.object({
|
|
146
|
-
phone_number: E164.describe('Your number'),
|
|
147
|
-
callers: z.array(z.object({
|
|
148
|
-
caller_number: E164, name: z.string().optional(), email: z.string().optional(), phone: z.string().optional(),
|
|
149
|
-
location: z.string().optional(), reference_id: z.string().optional(), preference: z.string().optional(),
|
|
150
|
-
})).min(1).max(1000),
|
|
151
|
-
}),
|
|
152
|
-
}, run(({ phone_number, callers }) => client.callers.import(phone_number, callers)));
|
|
153
|
-
|
|
154
|
-
server.registerTool('delete_caller_context', {
|
|
155
|
-
description: 'Erase everything known about a caller on one of your numbers. Without confirm: true this only returns what would be deleted.',
|
|
156
|
-
inputSchema: z.object({ phone_number: E164, caller_number: E164, confirm: z.boolean().optional() }),
|
|
157
|
-
}, run(async ({ phone_number, caller_number, confirm }) => {
|
|
158
|
-
if (!confirm) { const r = await client.callers.get(phone_number, caller_number); return { would_delete: r.caller, hint: 'Call again with confirm: true to delete.' }; }
|
|
159
|
-
return client.callers.delete(phone_number, caller_number);
|
|
160
|
-
}));
|
|
161
|
-
|
|
162
|
-
// ---- sms + account ----
|
|
163
|
-
server.registerTool('send_sms', {
|
|
164
|
-
description: 'Send one text message from one of your numbers. This spends carrier credit.',
|
|
165
|
-
inputSchema: z.object({ agent_id: z.string(), from_number: E164, to: E164, message: z.string().max(600) }),
|
|
166
|
-
}, run((args) => client.sms.send(args)));
|
|
167
|
-
|
|
168
|
-
server.registerTool('get_usage', {
|
|
169
|
-
description: 'Usage and balance for this account.',
|
|
170
|
-
inputSchema: z.object({}),
|
|
171
|
-
}, run(() => client.usage.get()));
|
|
60
|
+
const T = (name, description, schema, fn) => server.registerTool(name, { description, inputSchema: schema }, run(fn));
|
|
61
|
+
|
|
62
|
+
// ============ account ============
|
|
63
|
+
T('get_usage', 'Usage and balance for this account.', z.object({}), () => client.usage.get());
|
|
64
|
+
T('rotate_api_key', 'Replace the API secret. The current secret stops working immediately - every integration must be updated. Requires confirm: true.',
|
|
65
|
+
z.object({ confirm: confirmArg }), async ({ confirm }) => confirm ? client.keys.rotate() : { would_rotate: key.split(':')[0], warning: 'The current secret stops working the moment this runs.', hint: 'Call again with confirm: true.' });
|
|
66
|
+
|
|
67
|
+
// ============ agents ============
|
|
68
|
+
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.',
|
|
69
|
+
z.object({ limit: z.number().int().min(1).max(100).optional() }), ({ limit }) => client.agents.list(limit ? { limit } : {}));
|
|
70
|
+
T('get_agent', 'One agent with its prompt and settings.', z.object({ agent_id: z.string() }), ({ agent_id }) => client.agents.get(agent_id));
|
|
71
|
+
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.',
|
|
72
|
+
z.object({ name: z.string(), system_prompt: z.string(), fields: fields.optional() }), ({ name, system_prompt, fields: f }) => client.agents.create({ name, system_prompt, ...(f || {}) }));
|
|
73
|
+
T('update_agent', 'Update an agent. Only the fields you pass change. Pass null to clear a nullable field.',
|
|
74
|
+
z.object({ agent_id: z.string(), fields }), ({ agent_id, fields: f }) => client.agents.update(agent_id, f));
|
|
75
|
+
T('delete_agent', 'Delete an agent. Requires confirm: true; otherwise returns a preview.',
|
|
76
|
+
z.object({ agent_id: z.string(), confirm: confirmArg }), async ({ agent_id, confirm }) => confirm ? client.agents.delete(agent_id) : preview('agent ' + agent_id, () => client.agents.get(agent_id)));
|
|
77
|
+
|
|
78
|
+
// ============ calls ============
|
|
79
|
+
T('create_call', 'Place an outbound phone call now. SPENDS credit. prompt is the purpose of this call in full; variables fill {{placeholders}}.',
|
|
80
|
+
z.object({ agent_id: z.string(), to_number: E164, prompt: z.string(), from_number: E164.optional().describe('One of your numbers; defaults to the agent number'), variables: z.record(z.string(), z.string()).optional() }),
|
|
81
|
+
(a) => client.calls.create(a));
|
|
82
|
+
T('list_calls', 'Recent calls as SUMMARIES (no transcript). Use get_call for the full record of one call.',
|
|
83
|
+
z.object({ limit: z.number().int().min(1).max(100).optional(), agent_id: z.string().optional() }),
|
|
84
|
+
async ({ limit, agent_id }) => (await client.calls.list({ ...(limit ? { limit } : {}), ...(agent_id ? { agent_id } : {}) })).map(summariseCall));
|
|
85
|
+
T('get_call', 'One call in full: transcript, analysis, events, bookings, recording URL.', z.object({ call_id: z.string() }), ({ call_id }) => client.calls.get(call_id));
|
|
86
|
+
T('delete_call', 'Delete one call record and its recording (GDPR). Requires confirm: true.',
|
|
87
|
+
z.object({ call_id: z.string(), confirm: confirmArg }), async ({ call_id, confirm }) => confirm ? client.calls.delete(call_id) : preview('call ' + call_id + ' and its recording', async () => summariseCall(await client.calls.get(call_id))));
|
|
88
|
+
|
|
89
|
+
// ============ campaigns (voice batch) ============
|
|
90
|
+
T('create_campaign', 'Create an outbound voice campaign - many calls, one prompt. SPENDS credit when launched. Each recipient: { phone, variables?, prompt_override? }. Scheduling fields go in fields.',
|
|
91
|
+
z.object({ agent_id: z.string(), from_number: E164, prompt: z.string(), recipients: z.array(z.object({ phone: E164, variables: z.record(z.string(), z.string()).optional(), prompt_override: z.string().optional() })).min(1), name: z.string().optional(), fields: fields.optional() }),
|
|
92
|
+
({ fields: f, ...rest }) => client.campaigns.create({ ...rest, ...(f || {}) }));
|
|
93
|
+
T('launch_campaign', 'Launch a created campaign (starts dialling).', z.object({ campaign_id: z.string() }), ({ campaign_id }) => client.campaigns.launch(campaign_id));
|
|
94
|
+
|
|
95
|
+
// ============ phone numbers ============
|
|
96
|
+
T('list_phone_numbers', 'Phone numbers on this account and which agent each one uses. Webhooks, calendar and custom functions are configured per number.',
|
|
97
|
+
z.object({ agent_id: z.string().optional() }), ({ agent_id }) => client.phoneNumbers.list(agent_id ? { agent_id } : {}));
|
|
98
|
+
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).',
|
|
99
|
+
z.object({ phone_number: E164, agent_id: z.string(), fields }), ({ fields: f, ...rest }) => client.phoneNumbers.import({ ...rest, ...f }));
|
|
100
|
+
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.',
|
|
101
|
+
z.object({ phone_number: E164, fields }), ({ phone_number, fields: f }) => client.phoneNumbers.update(phone_number, f));
|
|
102
|
+
T('delete_phone_number', 'Disconnect a number from Nixflex (the carrier keeps it and keeps billing it). Requires confirm: true.',
|
|
103
|
+
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.' });
|
|
104
|
+
T('set_number_monitor', 'Turn live call monitoring on or off for a number. On bills that number at the premium rate.',
|
|
105
|
+
z.object({ phone_number: E164, enabled: z.boolean() }), ({ phone_number, enabled }) => client.phoneNumbers.setMonitor(phone_number, enabled));
|
|
106
|
+
T('set_number_web_calls', 'Turn browser (web) calls on or off for a number.',
|
|
107
|
+
z.object({ phone_number: E164, enabled: z.boolean() }), ({ phone_number, enabled }) => client.phoneNumbers.setWebCalls(phone_number, enabled));
|
|
108
|
+
|
|
109
|
+
// ============ caller context ============
|
|
110
|
+
T('get_caller_context', 'What the agent knows about a caller on one of your numbers. phone_number is YOUR number; caller_number is the customer.',
|
|
111
|
+
z.object({ phone_number: E164, caller_number: E164 }), ({ phone_number, caller_number }) => client.callers.get(phone_number, caller_number));
|
|
112
|
+
T('set_caller_context', 'Set what the agent should know about a caller: name (full), email, phone, location, reference_id, preference. Omitted fields are kept; null removes one. last_call and open_item are engine-only.',
|
|
113
|
+
z.object({ phone_number: E164, caller_number: E164, name: z.string().nullable().optional(), email: z.string().nullable().optional(), phone: z.string().nullable().optional(), location: z.string().nullable().optional(), reference_id: z.string().nullable().optional(), preference: z.string().nullable().optional() }),
|
|
114
|
+
({ phone_number, caller_number, ...f }) => client.callers.set(phone_number, caller_number, f));
|
|
115
|
+
T('import_caller_context', 'Load up to 1,000 caller records onto one of your numbers in one go. Every row is validated before any is written.',
|
|
116
|
+
z.object({ phone_number: E164, callers: z.array(z.object({ caller_number: E164, name: z.string().optional(), email: z.string().optional(), phone: z.string().optional(), location: z.string().optional(), reference_id: z.string().optional(), preference: z.string().optional() })).min(1).max(1000) }),
|
|
117
|
+
({ phone_number, callers }) => client.callers.import(phone_number, callers));
|
|
118
|
+
T('delete_caller_context', 'Erase everything known about a caller on one of your numbers. Requires confirm: true.',
|
|
119
|
+
z.object({ phone_number: E164, caller_number: E164, confirm: confirmArg }), async ({ phone_number, caller_number, confirm }) => confirm ? client.callers.delete(phone_number, caller_number) : preview('caller ' + caller_number + ' on ' + phone_number, async () => (await client.callers.get(phone_number, caller_number)).caller));
|
|
120
|
+
|
|
121
|
+
// ============ sms ============
|
|
122
|
+
T('send_sms', 'Send one text from one of your numbers. SPENDS carrier credit.',
|
|
123
|
+
z.object({ agent_id: z.string(), from_number: E164, to: E164, message: z.string().max(600) }), (a) => client.sms.send(a));
|
|
124
|
+
T('create_sms_campaign', 'Create a bulk SMS campaign. SPENDS carrier credit when launched. Each recipient: { phone, variables? } - variables fill {{placeholders}} in the message.',
|
|
125
|
+
z.object({ agent_id: z.string(), from_number: E164, message: z.string(), recipients: z.array(z.object({ phone: E164, variables: z.record(z.string(), z.string()).optional() })).min(1), name: z.string().optional(), fields: fields.optional() }),
|
|
126
|
+
({ fields: f, ...rest }) => client.sms.campaigns.create({ ...rest, ...(f || {}) }));
|
|
127
|
+
T('launch_sms_campaign', 'Launch a created SMS campaign.', z.object({ campaign_id: z.string() }), ({ campaign_id }) => client.sms.campaigns.launch(campaign_id));
|
|
128
|
+
T('list_sms_campaigns', 'SMS campaigns, newest first.', z.object({ status: z.string().optional(), limit: z.number().int().min(1).max(100).optional() }), ({ status, limit }) => client.sms.campaigns.list({ ...(status ? { status } : {}), ...(limit ? { limit } : {}) }));
|
|
129
|
+
T('get_sms_campaign', 'One SMS campaign with its delivery counts.', z.object({ campaign_id: z.string() }), ({ campaign_id }) => client.sms.campaigns.get(campaign_id));
|
|
130
|
+
T('delete_sms_campaign', 'Delete an SMS campaign - pending recipients will not be messaged; sent messages cannot be recalled. Requires confirm: true.',
|
|
131
|
+
z.object({ campaign_id: z.string(), confirm: confirmArg }), async ({ campaign_id, confirm }) => confirm ? client.sms.campaigns.delete(campaign_id) : preview('sms campaign ' + campaign_id, () => client.sms.campaigns.get(campaign_id)));
|
|
132
|
+
|
|
133
|
+
// ============ webhooks (per number) ============
|
|
134
|
+
T('set_webhook', 'Set the post-call webhook URL on a number (slot 1 or 2). Payloads are signed with your key secret.',
|
|
135
|
+
z.object({ phone_number: E164, url: z.string().url(), slot: z.union([z.literal(1), z.literal(2)]).optional() }), ({ phone_number, url, slot }) => client.webhooks.set(phone_number, url, slot || 1));
|
|
136
|
+
T('get_webhook', 'The webhook URL configured on a number.', z.object({ phone_number: E164, slot: z.union([z.literal(1), z.literal(2)]).optional() }), ({ phone_number, slot }) => client.webhooks.get(phone_number, slot || 1));
|
|
137
|
+
T('delete_webhook', 'Remove the webhook URL from a number. Requires confirm: true.',
|
|
138
|
+
z.object({ phone_number: E164, slot: z.union([z.literal(1), z.literal(2)]).optional(), confirm: confirmArg }), async ({ phone_number, slot, confirm }) => confirm ? client.webhooks.delete(phone_number, slot || 1) : preview('webhook slot ' + (slot || 1) + ' on ' + phone_number, () => client.webhooks.get(phone_number, slot || 1)));
|
|
139
|
+
|
|
140
|
+
// ============ bring your own: storage / llm / tts ============
|
|
141
|
+
const BYO = z.enum(['storage', 'llm', 'tts']);
|
|
142
|
+
T('get_byo_config', 'Your own storage / LLM / TTS configuration (secrets are never returned).', z.object({ kind: BYO }), ({ kind }) => client[kind].get());
|
|
143
|
+
T('set_byo_config', 'Connect your own storage bucket, LLM endpoint or TTS provider. The API verifies the connection with a real probe before saving. See docs.nixflex.com/advanced/your-own-<kind>.',
|
|
144
|
+
z.object({ kind: BYO, fields }), ({ kind, fields: f }) => client[kind].set(f));
|
|
145
|
+
T('delete_byo_config', 'Disconnect your own storage / LLM / TTS - calls fall back to Nixflex. Requires confirm: true.',
|
|
146
|
+
z.object({ kind: BYO, confirm: confirmArg }), async ({ kind, confirm }) => confirm ? client[kind].delete() : preview('your own ' + kind + ' configuration', () => client[kind].get()));
|
|
172
147
|
|
|
173
148
|
// ---- start ----
|
|
174
149
|
const transport = new StdioServerTransport();
|
|
175
150
|
await server.connect(transport);
|
|
176
|
-
log('ready - ' + key.split(':')[0]);
|
|
151
|
+
log('ready v' + VERSION + ' - ' + key.split(':')[0]);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "nixflex-mcp",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.2.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",
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
},
|
|
17
17
|
"dependencies": {
|
|
18
18
|
"@modelcontextprotocol/server": "^2.0.0",
|
|
19
|
-
"nixflex": "^0.
|
|
19
|
+
"nixflex": "^0.8.0",
|
|
20
20
|
"zod": "^4.0.0"
|
|
21
21
|
}
|
|
22
22
|
}
|