klamdo-mcp 1.1.0 → 1.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/dist/tools.d.ts +30 -0
- package/dist/tools.d.ts.map +1 -1
- package/dist/tools.js +38 -4
- package/dist/tools.js.map +1 -1
- package/package.json +3 -1
- package/smithery.yaml +13 -5
- package/src/tools.ts +38 -4
package/dist/tools.d.ts
CHANGED
|
@@ -8,6 +8,12 @@ export declare function klamdo<T>(path: string, apiKey: string, body?: Record<st
|
|
|
8
8
|
export declare const TOOLS: ({
|
|
9
9
|
name: string;
|
|
10
10
|
description: string;
|
|
11
|
+
annotations: {
|
|
12
|
+
readOnlyHint: boolean;
|
|
13
|
+
destructiveHint: boolean;
|
|
14
|
+
idempotentHint: boolean;
|
|
15
|
+
openWorldHint: boolean;
|
|
16
|
+
};
|
|
11
17
|
inputSchema: {
|
|
12
18
|
type: string;
|
|
13
19
|
properties: {
|
|
@@ -29,6 +35,12 @@ export declare const TOOLS: ({
|
|
|
29
35
|
} | {
|
|
30
36
|
name: string;
|
|
31
37
|
description: string;
|
|
38
|
+
annotations: {
|
|
39
|
+
readOnlyHint: boolean;
|
|
40
|
+
destructiveHint: boolean;
|
|
41
|
+
idempotentHint: boolean;
|
|
42
|
+
openWorldHint: boolean;
|
|
43
|
+
};
|
|
32
44
|
inputSchema: {
|
|
33
45
|
type: string;
|
|
34
46
|
properties: {
|
|
@@ -45,6 +57,12 @@ export declare const TOOLS: ({
|
|
|
45
57
|
} | {
|
|
46
58
|
name: string;
|
|
47
59
|
description: string;
|
|
60
|
+
annotations: {
|
|
61
|
+
readOnlyHint: boolean;
|
|
62
|
+
destructiveHint: boolean;
|
|
63
|
+
idempotentHint: boolean;
|
|
64
|
+
openWorldHint: boolean;
|
|
65
|
+
};
|
|
48
66
|
inputSchema: {
|
|
49
67
|
type: string;
|
|
50
68
|
properties: {
|
|
@@ -61,6 +79,12 @@ export declare const TOOLS: ({
|
|
|
61
79
|
} | {
|
|
62
80
|
name: string;
|
|
63
81
|
description: string;
|
|
82
|
+
annotations: {
|
|
83
|
+
readOnlyHint: boolean;
|
|
84
|
+
destructiveHint: boolean;
|
|
85
|
+
idempotentHint: boolean;
|
|
86
|
+
openWorldHint: boolean;
|
|
87
|
+
};
|
|
64
88
|
inputSchema: {
|
|
65
89
|
type: string;
|
|
66
90
|
properties: {
|
|
@@ -74,6 +98,12 @@ export declare const TOOLS: ({
|
|
|
74
98
|
} | {
|
|
75
99
|
name: string;
|
|
76
100
|
description: string;
|
|
101
|
+
annotations: {
|
|
102
|
+
readOnlyHint: boolean;
|
|
103
|
+
destructiveHint: boolean;
|
|
104
|
+
idempotentHint: boolean;
|
|
105
|
+
openWorldHint: boolean;
|
|
106
|
+
};
|
|
77
107
|
inputSchema: {
|
|
78
108
|
type: string;
|
|
79
109
|
properties: {
|
package/dist/tools.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tools.d.ts","sourceRoot":"","sources":["../src/tools.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAUH,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,2CAA2C,CAAC;AAExE,eAAO,MAAM,QAAQ,QAAsD,CAAC;AAE5E,wBAAsB,MAAM,CAAC,CAAC,EAC5B,IAAI,EAAE,MAAM,EACZ,MAAM,EAAE,MAAM,EACd,IAAI,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAC7B,OAAO,CAAC,CAAC,CAAC,CAyBZ;AAED,eAAO,MAAM,KAAK
|
|
1
|
+
{"version":3,"file":"tools.d.ts","sourceRoot":"","sources":["../src/tools.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAUH,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,2CAA2C,CAAC;AAExE,eAAO,MAAM,QAAQ,QAAsD,CAAC;AAE5E,wBAAsB,MAAM,CAAC,CAAC,EAC5B,IAAI,EAAE,MAAM,EACZ,MAAM,EAAE,MAAM,EACd,IAAI,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAC7B,OAAO,CAAC,CAAC,CAAC,CAyBZ;AAED,eAAO,MAAM,KAAK;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAoGjB,CAAC;AAEF,wBAAgB,gBAAgB,CAAC,MAAM,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM,MAAM,QAsKvE"}
|
package/dist/tools.js
CHANGED
|
@@ -32,6 +32,12 @@ exports.TOOLS = [
|
|
|
32
32
|
name: "generate_image",
|
|
33
33
|
description: "Generate a 4K identity-locked image using the user's reference photo on Klamdo. " +
|
|
34
34
|
"Returns a job ID — use check_job to poll for the result. Costs 3 credits.",
|
|
35
|
+
annotations: {
|
|
36
|
+
readOnlyHint: false,
|
|
37
|
+
destructiveHint: false,
|
|
38
|
+
idempotentHint: false,
|
|
39
|
+
openWorldHint: true
|
|
40
|
+
},
|
|
35
41
|
inputSchema: {
|
|
36
42
|
type: "object",
|
|
37
43
|
properties: {
|
|
@@ -53,6 +59,12 @@ exports.TOOLS = [
|
|
|
53
59
|
name: "generate_video",
|
|
54
60
|
description: "Generate a 5-second vertical identity-locked video from the user's reference photo on Klamdo. " +
|
|
55
61
|
"Returns a job ID — use check_job to poll. Aspect ratio locked to 9:16. Costs 6 credits.",
|
|
62
|
+
annotations: {
|
|
63
|
+
readOnlyHint: false,
|
|
64
|
+
destructiveHint: false,
|
|
65
|
+
idempotentHint: false,
|
|
66
|
+
openWorldHint: true
|
|
67
|
+
},
|
|
56
68
|
inputSchema: {
|
|
57
69
|
type: "object",
|
|
58
70
|
properties: {
|
|
@@ -67,26 +79,48 @@ exports.TOOLS = [
|
|
|
67
79
|
{
|
|
68
80
|
name: "check_job",
|
|
69
81
|
description: "Check the status of a Klamdo generation job. Returns status and download URLs when complete.",
|
|
82
|
+
annotations: {
|
|
83
|
+
readOnlyHint: true,
|
|
84
|
+
destructiveHint: false,
|
|
85
|
+
idempotentHint: true,
|
|
86
|
+
openWorldHint: true
|
|
87
|
+
},
|
|
70
88
|
inputSchema: {
|
|
71
89
|
type: "object",
|
|
72
90
|
properties: {
|
|
73
|
-
jobId: { type: "string", description: "The job ID returned from generate_image or generate_video" }
|
|
91
|
+
jobId: { type: "string", description: "The job ID returned from generate_image or generate_video." }
|
|
74
92
|
},
|
|
75
93
|
required: ["jobId"]
|
|
76
94
|
}
|
|
77
95
|
},
|
|
78
96
|
{
|
|
79
97
|
name: "get_account",
|
|
80
|
-
description: "Get current Klamdo account status: credit balance, plan, and free sample eligibility.",
|
|
98
|
+
description: "Get current Klamdo account status: credit balance, plan tier, and free sample eligibility.",
|
|
99
|
+
annotations: {
|
|
100
|
+
readOnlyHint: true,
|
|
101
|
+
destructiveHint: false,
|
|
102
|
+
idempotentHint: true,
|
|
103
|
+
openWorldHint: true
|
|
104
|
+
},
|
|
81
105
|
inputSchema: { type: "object", properties: {} }
|
|
82
106
|
},
|
|
83
107
|
{
|
|
84
108
|
name: "list_jobs",
|
|
85
|
-
description: "List recent Klamdo generation jobs for this account.",
|
|
109
|
+
description: "List recent Klamdo generation jobs for this account, ordered newest first.",
|
|
110
|
+
annotations: {
|
|
111
|
+
readOnlyHint: true,
|
|
112
|
+
destructiveHint: false,
|
|
113
|
+
idempotentHint: true,
|
|
114
|
+
openWorldHint: true
|
|
115
|
+
},
|
|
86
116
|
inputSchema: {
|
|
87
117
|
type: "object",
|
|
88
118
|
properties: {
|
|
89
|
-
limit: {
|
|
119
|
+
limit: {
|
|
120
|
+
type: "number",
|
|
121
|
+
description: "Maximum number of jobs to return. Default: 10, max: 50.",
|
|
122
|
+
default: 10
|
|
123
|
+
}
|
|
90
124
|
}
|
|
91
125
|
}
|
|
92
126
|
}
|
package/dist/tools.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tools.js","sourceRoot":"","sources":["../src/tools.ts"],"names":[],"mappings":";AAAA;;;GAGG;;;AAcH,wBA6BC;
|
|
1
|
+
{"version":3,"file":"tools.js","sourceRoot":"","sources":["../src/tools.ts"],"names":[],"mappings":";AAAA;;;GAGG;;;AAcH,wBA6BC;AAwGD,4CAsKC;AAvTD,iEAO4C;AAG/B,QAAA,QAAQ,GAAG,OAAO,CAAC,GAAG,CAAC,eAAe,IAAI,oBAAoB,CAAC;AAErE,KAAK,UAAU,MAAM,CAC1B,IAAY,EACZ,MAAc,EACd,IAA8B;IAE9B,MAAM,GAAG,GAAG,MAAM,KAAK,CAAC,GAAG,gBAAQ,WAAW,IAAI,EAAE,EAAE;QACpD,MAAM,EAAE,IAAI,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,KAAK;QAC7B,OAAO,EAAE;YACP,cAAc,EAAE,kBAAkB;YAClC,aAAa,EAAE,UAAU,MAAM,EAAE;SAClC;QACD,IAAI,EAAE,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,SAAS;KAC9C,CAAC,CAAC;IAEH,IAAI,CAAC,GAAG,CAAC,EAAE,EAAE,CAAC;QACZ,MAAM,IAAI,GAAG,MAAM,GAAG,CAAC,IAAI,EAAE,CAAC,KAAK,CAAC,GAAG,EAAE,CAAC,EAAE,CAAC,CAAC;QAC9C,IAAI,GAAG,CAAC,MAAM,KAAK,GAAG,EAAE,CAAC;YACvB,MAAM,IAAI,mBAAQ,CAChB,oBAAS,CAAC,cAAc,EACxB,6DAA6D,CAC9D,CAAC;QACJ,CAAC;QACD,MAAM,IAAI,mBAAQ,CAChB,oBAAS,CAAC,aAAa,EACvB,oBAAoB,GAAG,CAAC,MAAM,KAAK,IAAI,CAAC,KAAK,CAAC,CAAC,EAAE,GAAG,CAAC,EAAE,CACxD,CAAC;IACJ,CAAC;IAED,OAAO,GAAG,CAAC,IAAI,EAAg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AG,EAAE,CAAC,CAAC;IAC5F,CAAC,CAAC,CAAC;AACL,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "klamdo-mcp",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.2.0",
|
|
4
4
|
"description": "MCP server for Klamdo — AI content generation for coaches and creator-founders. Generate 4K images and 5-second vertical videos from a reference photo via Claude Desktop or any MCP-compatible client.",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"bin": {
|
|
@@ -13,6 +13,8 @@
|
|
|
13
13
|
"dev": "ts-node src/index.ts",
|
|
14
14
|
"dev:http": "ts-node src/http.ts"
|
|
15
15
|
},
|
|
16
|
+
"homepage": "https://klamdo.app",
|
|
17
|
+
"author": "Klamdo <hello@klamdo.app> (https://klamdo.app)",
|
|
16
18
|
"keywords": ["mcp", "klamdo", "ai-content", "image-generation", "video-generation", "creator-tools"],
|
|
17
19
|
"license": "MIT",
|
|
18
20
|
"dependencies": {
|
package/smithery.yaml
CHANGED
|
@@ -15,8 +15,16 @@ documentationUrl: https://klamdo.app/answers
|
|
|
15
15
|
startCommand:
|
|
16
16
|
type: http
|
|
17
17
|
url: https://mcp.klamdo.app/mcp
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
18
|
+
configSchema:
|
|
19
|
+
type: object
|
|
20
|
+
properties:
|
|
21
|
+
apiKey:
|
|
22
|
+
type: string
|
|
23
|
+
title: Klamdo API Key
|
|
24
|
+
description: >
|
|
25
|
+
Your Klamdo API key. Sign up free at https://klamdo.app and copy
|
|
26
|
+
your key from the Profile page (https://klamdo.app/profile).
|
|
27
|
+
required:
|
|
28
|
+
- apiKey
|
|
29
|
+
headers:
|
|
30
|
+
Authorization: "Bearer {{config.apiKey}}"
|
package/src/tools.ts
CHANGED
|
@@ -52,6 +52,12 @@ export const TOOLS = [
|
|
|
52
52
|
description:
|
|
53
53
|
"Generate a 4K identity-locked image using the user's reference photo on Klamdo. " +
|
|
54
54
|
"Returns a job ID — use check_job to poll for the result. Costs 3 credits.",
|
|
55
|
+
annotations: {
|
|
56
|
+
readOnlyHint: false,
|
|
57
|
+
destructiveHint: false,
|
|
58
|
+
idempotentHint: false,
|
|
59
|
+
openWorldHint: true
|
|
60
|
+
},
|
|
55
61
|
inputSchema: {
|
|
56
62
|
type: "object",
|
|
57
63
|
properties: {
|
|
@@ -75,6 +81,12 @@ export const TOOLS = [
|
|
|
75
81
|
description:
|
|
76
82
|
"Generate a 5-second vertical identity-locked video from the user's reference photo on Klamdo. " +
|
|
77
83
|
"Returns a job ID — use check_job to poll. Aspect ratio locked to 9:16. Costs 6 credits.",
|
|
84
|
+
annotations: {
|
|
85
|
+
readOnlyHint: false,
|
|
86
|
+
destructiveHint: false,
|
|
87
|
+
idempotentHint: false,
|
|
88
|
+
openWorldHint: true
|
|
89
|
+
},
|
|
78
90
|
inputSchema: {
|
|
79
91
|
type: "object",
|
|
80
92
|
properties: {
|
|
@@ -89,26 +101,48 @@ export const TOOLS = [
|
|
|
89
101
|
{
|
|
90
102
|
name: "check_job",
|
|
91
103
|
description: "Check the status of a Klamdo generation job. Returns status and download URLs when complete.",
|
|
104
|
+
annotations: {
|
|
105
|
+
readOnlyHint: true,
|
|
106
|
+
destructiveHint: false,
|
|
107
|
+
idempotentHint: true,
|
|
108
|
+
openWorldHint: true
|
|
109
|
+
},
|
|
92
110
|
inputSchema: {
|
|
93
111
|
type: "object",
|
|
94
112
|
properties: {
|
|
95
|
-
jobId: { type: "string", description: "The job ID returned from generate_image or generate_video" }
|
|
113
|
+
jobId: { type: "string", description: "The job ID returned from generate_image or generate_video." }
|
|
96
114
|
},
|
|
97
115
|
required: ["jobId"]
|
|
98
116
|
}
|
|
99
117
|
},
|
|
100
118
|
{
|
|
101
119
|
name: "get_account",
|
|
102
|
-
description: "Get current Klamdo account status: credit balance, plan, and free sample eligibility.",
|
|
120
|
+
description: "Get current Klamdo account status: credit balance, plan tier, and free sample eligibility.",
|
|
121
|
+
annotations: {
|
|
122
|
+
readOnlyHint: true,
|
|
123
|
+
destructiveHint: false,
|
|
124
|
+
idempotentHint: true,
|
|
125
|
+
openWorldHint: true
|
|
126
|
+
},
|
|
103
127
|
inputSchema: { type: "object", properties: {} }
|
|
104
128
|
},
|
|
105
129
|
{
|
|
106
130
|
name: "list_jobs",
|
|
107
|
-
description: "List recent Klamdo generation jobs for this account.",
|
|
131
|
+
description: "List recent Klamdo generation jobs for this account, ordered newest first.",
|
|
132
|
+
annotations: {
|
|
133
|
+
readOnlyHint: true,
|
|
134
|
+
destructiveHint: false,
|
|
135
|
+
idempotentHint: true,
|
|
136
|
+
openWorldHint: true
|
|
137
|
+
},
|
|
108
138
|
inputSchema: {
|
|
109
139
|
type: "object",
|
|
110
140
|
properties: {
|
|
111
|
-
limit: {
|
|
141
|
+
limit: {
|
|
142
|
+
type: "number",
|
|
143
|
+
description: "Maximum number of jobs to return. Default: 10, max: 50.",
|
|
144
|
+
default: 10
|
|
145
|
+
}
|
|
112
146
|
}
|
|
113
147
|
}
|
|
114
148
|
}
|