posterly-mcp-server 0.28.0 → 0.29.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/lib/api-client.d.ts +1 -1
- package/dist/lib/version.d.ts +1 -1
- package/dist/lib/version.js +1 -1
- package/dist/tools/generate-image.d.ts +4 -4
- package/dist/tools/generate-image.js +3 -3
- package/package.json +1 -1
- package/server.json +2 -2
- package/src/lib/api-client.ts +1 -1
- package/src/lib/version.ts +1 -1
- package/src/tools/generate-image.ts +4 -4
package/dist/lib/api-client.d.ts
CHANGED
|
@@ -928,7 +928,7 @@ export declare class PosterlyClient {
|
|
|
928
928
|
aspect_ratio?: string;
|
|
929
929
|
style?: string;
|
|
930
930
|
variations?: number;
|
|
931
|
-
model?: 'flash' | 'pro';
|
|
931
|
+
model?: 'lite' | 'flash' | 'pro';
|
|
932
932
|
resolution?: '512' | '1K' | '2K' | '4K';
|
|
933
933
|
}): Promise<{
|
|
934
934
|
urls: string[];
|
package/dist/lib/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const POSTERLY_MCP_VERSION = "0.
|
|
1
|
+
export declare const POSTERLY_MCP_VERSION = "0.29.0";
|
package/dist/lib/version.js
CHANGED
|
@@ -5,4 +5,4 @@
|
|
|
5
5
|
// tool set (minus the intentional pre-auth signup tools that only this stdio
|
|
6
6
|
// package exposes). `npm run check:mcp-parity` enforces both the version match
|
|
7
7
|
// and the tool-list match, and runs in the pre-commit hook.
|
|
8
|
-
export const POSTERLY_MCP_VERSION = '0.
|
|
8
|
+
export const POSTERLY_MCP_VERSION = '0.29.0';
|
|
@@ -8,7 +8,7 @@ export declare const generateImageTool: {
|
|
|
8
8
|
aspect_ratio: z.ZodOptional<z.ZodEnum<["1:1", "9:16", "4:5", "3:4", "2:3", "1:4", "1:8", "21:9", "16:9", "4:3", "3:2", "4:1", "8:1", "5:4"]>>;
|
|
9
9
|
style: z.ZodOptional<z.ZodEnum<["photographic", "illustration", "minimal", "vibrant", "professional", "youtube_thumbnail", "reel_cover", "review_background"]>>;
|
|
10
10
|
variations: z.ZodOptional<z.ZodNumber>;
|
|
11
|
-
model: z.ZodOptional<z.ZodEnum<["flash", "pro"]>>;
|
|
11
|
+
model: z.ZodOptional<z.ZodEnum<["lite", "flash", "pro"]>>;
|
|
12
12
|
resolution: z.ZodOptional<z.ZodEnum<["512", "1K", "2K", "4K"]>>;
|
|
13
13
|
confirm: z.ZodLiteral<true>;
|
|
14
14
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -17,7 +17,7 @@ export declare const generateImageTool: {
|
|
|
17
17
|
aspect_ratio?: "16:9" | "9:16" | "1:1" | "4:5" | "3:4" | "2:3" | "1:4" | "1:8" | "21:9" | "4:3" | "3:2" | "4:1" | "8:1" | "5:4" | undefined;
|
|
18
18
|
style?: "minimal" | "professional" | "photographic" | "illustration" | "vibrant" | "youtube_thumbnail" | "reel_cover" | "review_background" | undefined;
|
|
19
19
|
variations?: number | undefined;
|
|
20
|
-
model?: "pro" | "flash" | undefined;
|
|
20
|
+
model?: "pro" | "lite" | "flash" | undefined;
|
|
21
21
|
resolution?: "512" | "1K" | "2K" | "4K" | undefined;
|
|
22
22
|
}, {
|
|
23
23
|
confirm: true;
|
|
@@ -25,7 +25,7 @@ export declare const generateImageTool: {
|
|
|
25
25
|
aspect_ratio?: "16:9" | "9:16" | "1:1" | "4:5" | "3:4" | "2:3" | "1:4" | "1:8" | "21:9" | "4:3" | "3:2" | "4:1" | "8:1" | "5:4" | undefined;
|
|
26
26
|
style?: "minimal" | "professional" | "photographic" | "illustration" | "vibrant" | "youtube_thumbnail" | "reel_cover" | "review_background" | undefined;
|
|
27
27
|
variations?: number | undefined;
|
|
28
|
-
model?: "pro" | "flash" | undefined;
|
|
28
|
+
model?: "pro" | "lite" | "flash" | undefined;
|
|
29
29
|
resolution?: "512" | "1K" | "2K" | "4K" | undefined;
|
|
30
30
|
}>;
|
|
31
31
|
execute(client: PosterlyClient, input: {
|
|
@@ -33,7 +33,7 @@ export declare const generateImageTool: {
|
|
|
33
33
|
aspect_ratio?: string;
|
|
34
34
|
style?: string;
|
|
35
35
|
variations?: number;
|
|
36
|
-
model?: "flash" | "pro";
|
|
36
|
+
model?: "lite" | "flash" | "pro";
|
|
37
37
|
resolution?: "512" | "1K" | "2K" | "4K";
|
|
38
38
|
confirm: true;
|
|
39
39
|
}): Promise<string>;
|
|
@@ -38,13 +38,13 @@ export const generateImageTool = {
|
|
|
38
38
|
.optional()
|
|
39
39
|
.describe('How many variations to generate. Default 1. Each variation costs credits separately - prefer 1 unless the user explicitly wants options.'),
|
|
40
40
|
model: z
|
|
41
|
-
.enum(['flash', 'pro'])
|
|
41
|
+
.enum(['lite', 'flash', 'pro'])
|
|
42
42
|
.optional()
|
|
43
|
-
.describe('flash (default,
|
|
43
|
+
.describe('lite (8 credits, 1K only) is the cheapest and suits drafts and exploration. flash (default, 15 credits at 1K) balances quality and cost. pro (30 credits at 1K) is highest quality for hero imagery. Start with lite or flash unless quality is critical.'),
|
|
44
44
|
resolution: z
|
|
45
45
|
.enum(['512', '1K', '2K', '4K'])
|
|
46
46
|
.optional()
|
|
47
|
-
.describe('Output resolution. Default 1K. Higher resolutions cost more credits. 512 is flash-only.'),
|
|
47
|
+
.describe('Output resolution. Default 1K. Higher resolutions cost more credits (flash: 10/15/23/35 for 512/1K/2K/4K; pro: 30 at 1K-2K, 55 at 4K). 512 is flash-only and lite supports 1K only.'),
|
|
48
48
|
confirm: z.literal(true).describe('Must be true after explicit user confirmation of subject, style, aspect ratio, and credit use.'),
|
|
49
49
|
}),
|
|
50
50
|
async execute(client, input) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "posterly-mcp-server",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.29.0",
|
|
4
4
|
"mcpName": "io.github.awpthorp/posterly",
|
|
5
5
|
"description": "MCP server for posterly: schedule and publish social media posts across 18 platforms from any MCP client (Claude, ChatGPT, Cursor, Windsurf, Cline, and more)",
|
|
6
6
|
"license": "MIT",
|
package/server.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"name": "io.github.awpthorp/posterly",
|
|
4
4
|
"title": "posterly",
|
|
5
5
|
"description": "Validate, schedule, publish, and analyze social content across 18 platforms with posterly.",
|
|
6
|
-
"version": "0.
|
|
6
|
+
"version": "0.29.0",
|
|
7
7
|
"websiteUrl": "https://www.poster.ly/mcp",
|
|
8
8
|
"repository": {
|
|
9
9
|
"url": "https://github.com/awpthorp/posterly",
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
{
|
|
15
15
|
"registryType": "npm",
|
|
16
16
|
"identifier": "posterly-mcp-server",
|
|
17
|
-
"version": "0.
|
|
17
|
+
"version": "0.29.0",
|
|
18
18
|
"transport": {
|
|
19
19
|
"type": "stdio"
|
|
20
20
|
},
|
package/src/lib/api-client.ts
CHANGED
|
@@ -1215,7 +1215,7 @@ export class PosterlyClient {
|
|
|
1215
1215
|
aspect_ratio?: string;
|
|
1216
1216
|
style?: string;
|
|
1217
1217
|
variations?: number;
|
|
1218
|
-
model?: 'flash' | 'pro';
|
|
1218
|
+
model?: 'lite' | 'flash' | 'pro';
|
|
1219
1219
|
resolution?: '512' | '1K' | '2K' | '4K';
|
|
1220
1220
|
}): Promise<{
|
|
1221
1221
|
urls: string[];
|
package/src/lib/version.ts
CHANGED
|
@@ -5,4 +5,4 @@
|
|
|
5
5
|
// tool set (minus the intentional pre-auth signup tools that only this stdio
|
|
6
6
|
// package exposes). `npm run check:mcp-parity` enforces both the version match
|
|
7
7
|
// and the tool-list match, and runs in the pre-commit hook.
|
|
8
|
-
export const POSTERLY_MCP_VERSION = '0.
|
|
8
|
+
export const POSTERLY_MCP_VERSION = '0.29.0';
|
|
@@ -41,13 +41,13 @@ export const generateImageTool = {
|
|
|
41
41
|
.optional()
|
|
42
42
|
.describe('How many variations to generate. Default 1. Each variation costs credits separately - prefer 1 unless the user explicitly wants options.'),
|
|
43
43
|
model: z
|
|
44
|
-
.enum(['flash', 'pro'])
|
|
44
|
+
.enum(['lite', 'flash', 'pro'])
|
|
45
45
|
.optional()
|
|
46
|
-
.describe('flash (default,
|
|
46
|
+
.describe('lite (8 credits, 1K only) is the cheapest and suits drafts and exploration. flash (default, 15 credits at 1K) balances quality and cost. pro (30 credits at 1K) is highest quality for hero imagery. Start with lite or flash unless quality is critical.'),
|
|
47
47
|
resolution: z
|
|
48
48
|
.enum(['512', '1K', '2K', '4K'])
|
|
49
49
|
.optional()
|
|
50
|
-
.describe('Output resolution. Default 1K. Higher resolutions cost more credits. 512 is flash-only.'),
|
|
50
|
+
.describe('Output resolution. Default 1K. Higher resolutions cost more credits (flash: 10/15/23/35 for 512/1K/2K/4K; pro: 30 at 1K-2K, 55 at 4K). 512 is flash-only and lite supports 1K only.'),
|
|
51
51
|
confirm: z.literal(true).describe('Must be true after explicit user confirmation of subject, style, aspect ratio, and credit use.'),
|
|
52
52
|
}),
|
|
53
53
|
|
|
@@ -58,7 +58,7 @@ export const generateImageTool = {
|
|
|
58
58
|
aspect_ratio?: string;
|
|
59
59
|
style?: string;
|
|
60
60
|
variations?: number;
|
|
61
|
-
model?: 'flash' | 'pro';
|
|
61
|
+
model?: 'lite' | 'flash' | 'pro';
|
|
62
62
|
resolution?: '512' | '1K' | '2K' | '4K';
|
|
63
63
|
confirm: true;
|
|
64
64
|
}
|