kadenzo-mcp 1.2.0 → 1.3.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 +31 -1
  3. package/package.json +1 -1
package/README.md CHANGED
@@ -22,6 +22,8 @@ just *draft* content — it can **ship** it.
22
22
  | `get_post_analytics` | Per-channel metrics for a post you scheduled |
23
23
  | `generate_content` | Generate post copy for a platform from a topic ("generate then schedule") |
24
24
  | `get_best_times` | Personalized best posting times for an account (Professional+) |
25
+ | `list_mentions` | Social-listening mentions (who's talking about your keywords) |
26
+ | `post_comment` | Post a comment/reply to your post (instagram/facebook/linkedin) |
25
27
 
26
28
  ## Setup
27
29
 
package/index.js CHANGED
@@ -163,6 +163,36 @@ server.tool(
163
163
  async ({ account_id }) => { try { return ok(await api('GET', `/accounts/${account_id}/best-times`)) } catch (e) { return fail(e) } },
164
164
  )
165
165
 
166
+ server.tool(
167
+ 'list_mentions',
168
+ 'Your social-listening mentions — who is talking about the keywords you track (reddit/bluesky/youtube/hackernews/…), newest first. Filter by platform, since (ISO), or unread.',
169
+ {
170
+ platform: z.string().optional(),
171
+ since: z.string().optional().describe('ISO datetime; only mentions published after this.'),
172
+ unread: z.boolean().optional(),
173
+ limit: z.number().optional(),
174
+ offset: z.number().optional(),
175
+ },
176
+ async (a) => {
177
+ try {
178
+ const query = { platform: a.platform, since: a.since, limit: a.limit, offset: a.offset }
179
+ if (a.unread) query.unread = 'true'
180
+ return ok(await api('GET', '/mentions', { query }))
181
+ } catch (e) { return fail(e) }
182
+ },
183
+ )
184
+
185
+ server.tool(
186
+ 'post_comment',
187
+ 'Post a comment/reply to one of your posts. account_id from list_accounts; target_id is the platform post/media/comment id to comment on. Supported: instagram, facebook, linkedin.',
188
+ {
189
+ account_id: z.string(),
190
+ target_id: z.string().describe('The platform post/media/comment id to comment on.'),
191
+ text: z.string(),
192
+ },
193
+ async (a) => { try { return ok(await api('POST', '/comments', { body: a })) } catch (e) { return fail(e) } },
194
+ )
195
+
166
196
  const transport = new StdioServerTransport()
167
197
  await server.connect(transport)
168
- console.error('Kadenzo MCP server running (stdio). 11 tools available.')
198
+ console.error('Kadenzo MCP server running (stdio). 13 tools available.')
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "kadenzo-mcp",
3
- "version": "1.2.0",
3
+ "version": "1.3.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": {