@post-ripple/mcp 0.2.0 → 0.2.1

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 (2) hide show
  1. package/dist/index.js +12 -4
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -45,7 +45,7 @@ function toEpochMs(value, field) {
45
45
  }
46
46
  return parsed;
47
47
  }
48
- const server = new McpServer({ name: "postripple", version: "0.2.0" });
48
+ const server = new McpServer({ name: "postripple", version: "0.2.1" });
49
49
  function register(name, description, shape, transform) {
50
50
  server.tool(name, description, shape, async (args) => {
51
51
  try {
@@ -132,10 +132,18 @@ register("get_post_metrics", "Get engagement for one published post: latest snap
132
132
  postId: z.string(),
133
133
  limit: z.number().min(1).max(200).optional().describe("Max series points, default 50"),
134
134
  });
135
- register("get_account_metrics", "Get follower/profile growth history for one connected social account (daily snapshots).", {
135
+ register("get_account_metrics", "Get follower/profile growth history (daily snapshots) for connected social accounts. Omit accountId to get every account in the organization at once; pass it to get a single account.", {
136
136
  ...orgParam,
137
- accountId: z.string(),
138
- limit: z.number().min(1).max(200).optional(),
137
+ accountId: z
138
+ .string()
139
+ .optional()
140
+ .describe("Omit for all accounts in the organization"),
141
+ limit: z
142
+ .number()
143
+ .min(1)
144
+ .max(200)
145
+ .optional()
146
+ .describe("Max series points per account, default 50"),
139
147
  });
140
148
  register("get_engagement_summary", "Get an org-wide engagement overview for the last N days: totals, per-platform breakdown, top 5 posts by views, and current follower counts per account. The best starting point for 'how is content performing?'", { ...orgParam, days: z.number().min(1).max(90).optional().describe("Window in days, default 30") });
141
149
  // ---- content:write tools ----
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@post-ripple/mcp",
3
- "version": "0.2.0",
3
+ "version": "0.2.1",
4
4
  "description": "MCP server that lets AI agents (Claude Code, Codex, opencode) manage a Post Ripple workspace: content, scheduling, publishing, and analytics.",
5
5
  "type": "module",
6
6
  "bin": {