kadenzo-mcp 1.3.0 → 1.3.2
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/LICENSE +21 -0
- package/index.js +6 -2
- package/package.json +10 -2
package/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 Kadenzo
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
package/index.js
CHANGED
|
@@ -16,12 +16,15 @@ import { basename } from 'node:path'
|
|
|
16
16
|
const API_KEY = process.env.KADENZO_API_KEY
|
|
17
17
|
const BASE = (process.env.KADENZO_API_BASE || 'https://studio.kadenzo.app/api/v1').replace(/\/$/, '')
|
|
18
18
|
|
|
19
|
+
// Note: we do NOT exit when KADENZO_API_KEY is missing — the server still starts
|
|
20
|
+
// and can be introspected (tools/list works without a key). A key is only needed
|
|
21
|
+
// when a tool is actually called; missing-key errors surface per-call instead.
|
|
19
22
|
if (!API_KEY) {
|
|
20
|
-
console.error('KADENZO_API_KEY is not set. Generate a key at https://studio.kadenzo.app/dashboard/settings?section=api
|
|
21
|
-
process.exit(1)
|
|
23
|
+
console.error('KADENZO_API_KEY is not set — the server will start and list tools, but calls will fail until it is set. Generate a key at https://studio.kadenzo.app/dashboard/settings?section=api')
|
|
22
24
|
}
|
|
23
25
|
|
|
24
26
|
async function api(method, path, { body, query } = {}) {
|
|
27
|
+
if (!API_KEY) throw new Error('KADENZO_API_KEY is not set. Generate one at studio.kadenzo.app/dashboard/settings?section=api and set it in your MCP client config.')
|
|
25
28
|
const url = new URL(BASE + path)
|
|
26
29
|
if (query) for (const [k, v] of Object.entries(query)) if (v != null) url.searchParams.set(k, String(v))
|
|
27
30
|
const res = await fetch(url, {
|
|
@@ -120,6 +123,7 @@ server.tool(
|
|
|
120
123
|
{ path: z.string().describe('Absolute path to a local image/video file.') },
|
|
121
124
|
async ({ path }) => {
|
|
122
125
|
try {
|
|
126
|
+
if (!API_KEY) throw new Error('KADENZO_API_KEY is not set. Generate one at studio.kadenzo.app/dashboard/settings?section=api')
|
|
123
127
|
const buf = await readFile(path)
|
|
124
128
|
const fd = new FormData()
|
|
125
129
|
fd.append('file', new Blob([buf]), basename(path))
|
package/package.json
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "kadenzo-mcp",
|
|
3
|
-
"version": "1.3.
|
|
4
|
-
"
|
|
3
|
+
"version": "1.3.2",
|
|
4
|
+
"mcpName": "io.github.jors7/kadenzo-mcp",
|
|
5
|
+
"description": "MCP server for Kadenzo — schedule, manage, generate, and analyze social posts across 11 networks from any AI agent (Claude, Cursor, ChatGPT).",
|
|
5
6
|
"type": "module",
|
|
6
7
|
"bin": {
|
|
7
8
|
"kadenzo-mcp": "./index.js"
|
|
@@ -19,6 +20,13 @@
|
|
|
19
20
|
"ai-agents"
|
|
20
21
|
],
|
|
21
22
|
"homepage": "https://kadenzo.app",
|
|
23
|
+
"repository": {
|
|
24
|
+
"type": "git",
|
|
25
|
+
"url": "git+https://github.com/jors7/kadenzo-mcp.git"
|
|
26
|
+
},
|
|
27
|
+
"bugs": {
|
|
28
|
+
"url": "https://github.com/jors7/kadenzo-mcp/issues"
|
|
29
|
+
},
|
|
22
30
|
"license": "MIT",
|
|
23
31
|
"engines": {
|
|
24
32
|
"node": ">=18"
|