kadenzo-mcp 1.0.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.
Files changed (3) hide show
  1. package/README.md +2 -0
  2. package/index.js +19 -1
  3. package/package.json +1 -1
package/README.md CHANGED
@@ -20,6 +20,8 @@ just *draft* content — it can **ship** it.
20
20
  | `upload_media` | Upload a local image/video file, get a URL for `media_urls` |
21
21
  | `get_account_analytics` | Recent posts + engagement metrics for an account |
22
22
  | `get_post_analytics` | Per-channel metrics for a post you scheduled |
23
+ | `generate_content` | Generate post copy for a platform from a topic ("generate then schedule") |
24
+ | `get_best_times` | Personalized best posting times for an account (Professional+) |
23
25
 
24
26
  ## Setup
25
27
 
package/index.js CHANGED
@@ -145,6 +145,24 @@ server.tool(
145
145
  async ({ id }) => { try { return ok(await api('GET', `/posts/${id}/analytics`)) } catch (e) { return fail(e) } },
146
146
  )
147
147
 
148
+ server.tool(
149
+ 'generate_content',
150
+ 'Generate post copy for a platform from a topic — great for a "generate then schedule" flow. Returns a caption/post/description you can feed into schedule_post. Platform must be one of: instagram, tiktok, snapchat, facebook, youtube.',
151
+ {
152
+ topic: z.string().describe('What the post is about (2-500 characters).'),
153
+ platform: z.enum(['instagram', 'tiktok', 'snapchat', 'facebook', 'youtube']),
154
+ goal: z.enum(['story', 'educate', 'promote']).optional().describe('Angle for the copy. Defaults to "story".'),
155
+ },
156
+ async (a) => { try { return ok(await api('POST', '/generate', { body: a })) } catch (e) { return fail(e) } },
157
+ )
158
+
159
+ server.tool(
160
+ 'get_best_times',
161
+ 'Personalized best posting times for one connected account, computed from its own engagement history. Requires the Professional plan or higher. Hours are UTC; shift to the poster’s timezone. Use it to pick scheduled_for.',
162
+ { account_id: z.string() },
163
+ async ({ account_id }) => { try { return ok(await api('GET', `/accounts/${account_id}/best-times`)) } catch (e) { return fail(e) } },
164
+ )
165
+
148
166
  const transport = new StdioServerTransport()
149
167
  await server.connect(transport)
150
- console.error('Kadenzo MCP server running (stdio). 9 tools available.')
168
+ console.error('Kadenzo MCP server running (stdio). 11 tools available.')
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "kadenzo-mcp",
3
- "version": "1.0.0",
3
+ "version": "1.2.0",
4
4
  "description": "MCP server for Kadenzo — schedule, manage, and analyze social posts across 11 networks from any AI agent (Claude, Cursor, ChatGPT).",
5
5
  "type": "module",
6
6
  "bin": {