@agentcall/mcp-server 0.16.2 → 0.16.3
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 +1 -1
- package/dist/tools/calls.d.ts.map +1 -1
- package/dist/tools/calls.js +4 -2
- package/dist/tools/calls.js.map +1 -1
- package/package.json +61 -61
package/dist/index.js
CHANGED
|
@@ -60,7 +60,7 @@ async function main() {
|
|
|
60
60
|
// hover/inspection; keep in sync with package.json on every release.
|
|
61
61
|
const server = new McpServer({
|
|
62
62
|
name: "agentcall",
|
|
63
|
-
version: "0.16.
|
|
63
|
+
version: "0.16.3",
|
|
64
64
|
});
|
|
65
65
|
// Register all tools
|
|
66
66
|
registerNumberTools(server, client);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"calls.d.ts","sourceRoot":"","sources":["../../src/tools/calls.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,yCAAyC,CAAC;AACzE,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,WAAW,CAAC;AAS3C,wBAAgB,iBAAiB,CAAC,MAAM,EAAE,SAAS,EAAE,MAAM,EAAE,SAAS,
|
|
1
|
+
{"version":3,"file":"calls.d.ts","sourceRoot":"","sources":["../../src/tools/calls.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,yCAAyC,CAAC;AACzE,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,WAAW,CAAC;AAS3C,wBAAgB,iBAAiB,CAAC,MAAM,EAAE,SAAS,EAAE,MAAM,EAAE,SAAS,QAgWrE"}
|
package/dist/tools/calls.js
CHANGED
|
@@ -3,7 +3,9 @@ import { callOutputSchema, callListOutputSchema, callTranscriptOutputSchema, ack
|
|
|
3
3
|
export function registerCallTools(server, client) {
|
|
4
4
|
server.registerTool("initiate_call", {
|
|
5
5
|
title: "Initiate Phone Call",
|
|
6
|
-
description: "Start an outbound phone call from one of your provisioned numbers. Optionally enable call recording (Pro plan only, $0.01/min)."
|
|
6
|
+
description: "Start an outbound phone call from one of your provisioned numbers. Optionally enable call recording (Pro plan only, $0.01/min). " +
|
|
7
|
+
"A 403 with code `destination_not_verified` means the account is still restricted (Free, or Pro under 7 days old) and can only call numbers it owns, numbers that contacted it first, or individually verified numbers. Do not retry or probe other destinations. " +
|
|
8
|
+
"To fix it on Pro, submit a business verification (POST /v1/business-verification, or the Verification page in the dashboard); that lifts the restriction in minutes.",
|
|
7
9
|
inputSchema: {
|
|
8
10
|
from: z
|
|
9
11
|
.string()
|
|
@@ -143,7 +145,7 @@ export function registerCallTools(server, client) {
|
|
|
143
145
|
});
|
|
144
146
|
server.registerTool("initiate_ai_call", {
|
|
145
147
|
title: "Initiate AI Voice Call",
|
|
146
|
-
description: "Start an AI-powered voice call where AI handles the conversation autonomously. The AI will speak using the specified voice and follow the system prompt instructions. Pro plan only ($0.40/min). Available on US and Canada numbers. Pass `language` to make the AI speak a specific language for the call (useful for booking on behalf of someone in another language). Before writing systemPrompt from scratch, fetch GET https://api.agentcall.co/v1/calls/prompt-templates?direction=outbound (no auth) for outbound-flavored templates (appointment booker on behalf of, info request, callback) with placeholders to fill in.\n\nFor CSV / batch calling, pass `useSavedAgent: true` to hydrate systemPrompt + voice + language + firstMessage + maxDurationSecs + record from the saved outbound agent on the from-number (set via set_outbound_defaults). The agent will use the saved persona for every call from that number without re-typing the prompt. Per-call overrides still win, so you can pass firstMessage='Hi Dr. Smith' to personalize while inheriting the saved prompt + voice. Pass `idempotencyKey` to make retries safe: a duplicate request with the same key replays the original response and does NOT place a second carrier call. The canonical Hermes CSV row pattern is `{from, to, useSavedAgent: true, idempotencyKey: 'batch-id:row-id'}`.",
|
|
148
|
+
description: "Start an AI-powered voice call where AI handles the conversation autonomously. The AI will speak using the specified voice and follow the system prompt instructions. Pro plan only ($0.40/min). Available on US and Canada numbers. Pass `language` to make the AI speak a specific language for the call (useful for booking on behalf of someone in another language). Before writing systemPrompt from scratch, fetch GET https://api.agentcall.co/v1/calls/prompt-templates?direction=outbound (no auth) for outbound-flavored templates (appointment booker on behalf of, info request, callback) with placeholders to fill in.\n\nA 403 with code `destination_not_verified` means the account is still restricted (Free, or Pro under 7 days old) and can only call numbers it owns, numbers that contacted it first, or individually verified numbers. Do not retry or probe other destinations. To fix it on Pro, submit a business verification (POST /v1/business-verification, or the Verification page in the dashboard); that lifts the restriction in minutes.\n\nFor CSV / batch calling, pass `useSavedAgent: true` to hydrate systemPrompt + voice + language + firstMessage + maxDurationSecs + record from the saved outbound agent on the from-number (set via set_outbound_defaults). The agent will use the saved persona for every call from that number without re-typing the prompt. Per-call overrides still win, so you can pass firstMessage='Hi Dr. Smith' to personalize while inheriting the saved prompt + voice. Pass `idempotencyKey` to make retries safe: a duplicate request with the same key replays the original response and does NOT place a second carrier call. The canonical Hermes CSV row pattern is `{from, to, useSavedAgent: true, idempotencyKey: 'batch-id:row-id'}`.",
|
|
147
149
|
inputSchema: {
|
|
148
150
|
from: z
|
|
149
151
|
.string()
|
package/dist/tools/calls.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"calls.js","sourceRoot":"","sources":["../../src/tools/calls.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EACL,gBAAgB,EAChB,oBAAoB,EACpB,0BAA0B,EAC1B,eAAe,GAChB,MAAM,eAAe,CAAC;AAEvB,MAAM,UAAU,iBAAiB,CAAC,MAAiB,EAAE,MAAiB;IACpE,MAAM,CAAC,YAAY,CACjB,eAAe,EACf;QACE,KAAK,EAAE,qBAAqB;QAC5B,WAAW,EACT,
|
|
1
|
+
{"version":3,"file":"calls.js","sourceRoot":"","sources":["../../src/tools/calls.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EACL,gBAAgB,EAChB,oBAAoB,EACpB,0BAA0B,E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Y,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC,MAAM,CAAC,KAAK,CAAC,EAAE;qBAC7F;iBACF;aACF,CAAC;QACJ,CAAC;IACH,CAAC,CACF,CAAC;AACJ,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,61 +1,61 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@agentcall/mcp-server",
|
|
3
|
-
"version": "0.16.
|
|
4
|
-
"description": "MCP server for AgentCall: phone numbers, SMS, OTP, AI voice (inbound + outbound) with 31 languages plus auto-detect, saved outbound agents per number (set/get/clear), retry-safe outbound calls via useSavedAgent + idempotencyKey for CSV runners, BYOK (bring your own OpenAI key) voice billing, Premium Voice (enable/disable a brandable higher-quality voice per number for inbound + outbound calls, $0.59/min Pro add-on), two-way AI SMS plus relay mode (text your own agent on a real number), proactive scheduling (have a number's agent text first: appointment reminders + recurring digests via create_schedule), AND Auditable Call Memory tools (contacts, structured call reports, the next-call context block, owner edits, approve/reject candidates, brief inbox) for AI agents via Model Context Protocol. 60 tools, 5 prompts, 10 AI voices, 31 languages plus auto-detect. AgentFM: request_agentfm_callback queues a podcast guest callback (no auth needed). The killer tool is get_next_call_context: ask AgentCall what it knows about a caller before placing the next call. The follow-up-on-call prompt walks the agent through calling a previous caller back with stitched context from their original report.",
|
|
5
|
-
"type": "module",
|
|
6
|
-
"main": "dist/index.js",
|
|
7
|
-
"bin": {
|
|
8
|
-
"agentcall-mcp": "dist/index.js"
|
|
9
|
-
},
|
|
10
|
-
"files": [
|
|
11
|
-
"dist"
|
|
12
|
-
],
|
|
13
|
-
"scripts": {
|
|
14
|
-
"build": "tsc",
|
|
15
|
-
"dev": "tsc --watch",
|
|
16
|
-
"start": "node dist/http.js",
|
|
17
|
-
"start:http": "node dist/http.js",
|
|
18
|
-
"test": "vitest run",
|
|
19
|
-
"prepublishOnly": "npm run build"
|
|
20
|
-
},
|
|
21
|
-
"keywords": [
|
|
22
|
-
"mcp",
|
|
23
|
-
"model-context-protocol",
|
|
24
|
-
"agentcall",
|
|
25
|
-
"phone",
|
|
26
|
-
"sms",
|
|
27
|
-
"otp",
|
|
28
|
-
"ai-agent",
|
|
29
|
-
"claude",
|
|
30
|
-
"cursor",
|
|
31
|
-
"voice",
|
|
32
|
-
"call",
|
|
33
|
-
"mcp-server"
|
|
34
|
-
],
|
|
35
|
-
"author": "AgentCall <hello@agentcall.co> (https://agentcall.co)",
|
|
36
|
-
"license": "MIT",
|
|
37
|
-
"repository": {
|
|
38
|
-
"type": "git",
|
|
39
|
-
"url": "https://github.com/Kintupercy/AgentCall.git",
|
|
40
|
-
"directory": "packages/mcp-server"
|
|
41
|
-
},
|
|
42
|
-
"homepage": "https://agentcall.co/docs/mcp",
|
|
43
|
-
"bugs": {
|
|
44
|
-
"url": "https://github.com/Kintupercy/AgentCall/issues"
|
|
45
|
-
},
|
|
46
|
-
"engines": {
|
|
47
|
-
"node": ">=18"
|
|
48
|
-
},
|
|
49
|
-
"mcpName": "agentcall",
|
|
50
|
-
"dependencies": {
|
|
51
|
-
"@modelcontextprotocol/sdk": "^1.27.0",
|
|
52
|
-
"agentcall": "^0.9.0",
|
|
53
|
-
"zod": "^3.25.0"
|
|
54
|
-
},
|
|
55
|
-
"devDependencies": {
|
|
56
|
-
"@types/node": "^22.0.0",
|
|
57
|
-
"esbuild": "^0.27.4",
|
|
58
|
-
"typescript": "^5.7.0",
|
|
59
|
-
"vitest": "^3.2.4"
|
|
60
|
-
}
|
|
61
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "@agentcall/mcp-server",
|
|
3
|
+
"version": "0.16.3",
|
|
4
|
+
"description": "MCP server for AgentCall: phone numbers, SMS, OTP, AI voice (inbound + outbound) with 31 languages plus auto-detect, saved outbound agents per number (set/get/clear), retry-safe outbound calls via useSavedAgent + idempotencyKey for CSV runners, BYOK (bring your own OpenAI key) voice billing, Premium Voice (enable/disable a brandable higher-quality voice per number for inbound + outbound calls, $0.59/min Pro add-on), two-way AI SMS plus relay mode (text your own agent on a real number), proactive scheduling (have a number's agent text first: appointment reminders + recurring digests via create_schedule), AND Auditable Call Memory tools (contacts, structured call reports, the next-call context block, owner edits, approve/reject candidates, brief inbox) for AI agents via Model Context Protocol. 60 tools, 5 prompts, 10 AI voices, 31 languages plus auto-detect. AgentFM: request_agentfm_callback queues a podcast guest callback (no auth needed). The killer tool is get_next_call_context: ask AgentCall what it knows about a caller before placing the next call. The follow-up-on-call prompt walks the agent through calling a previous caller back with stitched context from their original report.",
|
|
5
|
+
"type": "module",
|
|
6
|
+
"main": "dist/index.js",
|
|
7
|
+
"bin": {
|
|
8
|
+
"agentcall-mcp": "dist/index.js"
|
|
9
|
+
},
|
|
10
|
+
"files": [
|
|
11
|
+
"dist"
|
|
12
|
+
],
|
|
13
|
+
"scripts": {
|
|
14
|
+
"build": "tsc",
|
|
15
|
+
"dev": "tsc --watch",
|
|
16
|
+
"start": "node dist/http.js",
|
|
17
|
+
"start:http": "node dist/http.js",
|
|
18
|
+
"test": "vitest run",
|
|
19
|
+
"prepublishOnly": "npm run build"
|
|
20
|
+
},
|
|
21
|
+
"keywords": [
|
|
22
|
+
"mcp",
|
|
23
|
+
"model-context-protocol",
|
|
24
|
+
"agentcall",
|
|
25
|
+
"phone",
|
|
26
|
+
"sms",
|
|
27
|
+
"otp",
|
|
28
|
+
"ai-agent",
|
|
29
|
+
"claude",
|
|
30
|
+
"cursor",
|
|
31
|
+
"voice",
|
|
32
|
+
"call",
|
|
33
|
+
"mcp-server"
|
|
34
|
+
],
|
|
35
|
+
"author": "AgentCall <hello@agentcall.co> (https://agentcall.co)",
|
|
36
|
+
"license": "MIT",
|
|
37
|
+
"repository": {
|
|
38
|
+
"type": "git",
|
|
39
|
+
"url": "https://github.com/Kintupercy/AgentCall.git",
|
|
40
|
+
"directory": "packages/mcp-server"
|
|
41
|
+
},
|
|
42
|
+
"homepage": "https://agentcall.co/docs/mcp",
|
|
43
|
+
"bugs": {
|
|
44
|
+
"url": "https://github.com/Kintupercy/AgentCall/issues"
|
|
45
|
+
},
|
|
46
|
+
"engines": {
|
|
47
|
+
"node": ">=18"
|
|
48
|
+
},
|
|
49
|
+
"mcpName": "agentcall",
|
|
50
|
+
"dependencies": {
|
|
51
|
+
"@modelcontextprotocol/sdk": "^1.27.0",
|
|
52
|
+
"agentcall": "^0.9.0",
|
|
53
|
+
"zod": "^3.25.0"
|
|
54
|
+
},
|
|
55
|
+
"devDependencies": {
|
|
56
|
+
"@types/node": "^22.0.0",
|
|
57
|
+
"esbuild": "^0.27.4",
|
|
58
|
+
"typescript": "^5.7.0",
|
|
59
|
+
"vitest": "^3.2.4"
|
|
60
|
+
}
|
|
61
|
+
}
|