@buzzposter/mcp 0.3.3 → 0.3.4
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/assets-gallery.html +272 -0
- package/dist/image-preview.html +264 -0
- package/dist/index.js +3157 -3228
- package/dist/newsletter-studio.html +50 -260
- package/dist/post-preview.html +537 -0
- package/dist/tools.d.ts +32 -18
- package/dist/tools.js +3136 -3201
- package/package.json +3 -2
package/dist/tools.d.ts
CHANGED
|
@@ -3,9 +3,11 @@ import { McpServer } from '@modelcontextprotocol/sdk/server/mcp.js';
|
|
|
3
3
|
declare class BuzzPosterClient {
|
|
4
4
|
private baseUrl;
|
|
5
5
|
private apiKey;
|
|
6
|
+
private organizationId?;
|
|
6
7
|
constructor(config: {
|
|
7
8
|
baseUrl: string;
|
|
8
9
|
apiKey: string;
|
|
10
|
+
organizationId?: string;
|
|
9
11
|
});
|
|
10
12
|
request<T = unknown>(method: string, path: string, body?: unknown, query?: Record<string, string>): Promise<T>;
|
|
11
13
|
getAccount(): Promise<unknown>;
|
|
@@ -16,6 +18,7 @@ declare class BuzzPosterClient {
|
|
|
16
18
|
getPost(id: string): Promise<unknown>;
|
|
17
19
|
updatePost(id: string, data: Record<string, unknown>): Promise<unknown>;
|
|
18
20
|
deletePost(id: string): Promise<unknown>;
|
|
21
|
+
retryPost(id: string): Promise<unknown>;
|
|
19
22
|
getAnalytics(params?: Record<string, string>): Promise<unknown>;
|
|
20
23
|
listConversations(params?: Record<string, string>): Promise<unknown>;
|
|
21
24
|
getConversation(id: string): Promise<unknown>;
|
|
@@ -81,6 +84,7 @@ declare class BuzzPosterClient {
|
|
|
81
84
|
deleteSource(id: number): Promise<unknown>;
|
|
82
85
|
checkSource(id: number): Promise<unknown>;
|
|
83
86
|
getPublishingRules(): Promise<unknown>;
|
|
87
|
+
updatePublishingRules(data: Record<string, unknown>): Promise<unknown>;
|
|
84
88
|
ghostSetup(data: Record<string, unknown>): Promise<unknown>;
|
|
85
89
|
ghostCreatePost(data: Record<string, unknown>): Promise<unknown>;
|
|
86
90
|
ghostUpdatePost(id: string, data: Record<string, unknown>): Promise<unknown>;
|
|
@@ -106,43 +110,53 @@ declare class BuzzPosterClient {
|
|
|
106
110
|
wpListCategories(): Promise<unknown>;
|
|
107
111
|
wpListTags(): Promise<unknown>;
|
|
108
112
|
wpCreatePage(data: Record<string, unknown>): Promise<unknown>;
|
|
113
|
+
listImageTemplates(): Promise<unknown>;
|
|
114
|
+
generateImages(templateId: string, data: Record<string, unknown>): Promise<unknown>;
|
|
115
|
+
listImageFormats(): Promise<unknown>;
|
|
116
|
+
getContext(params?: Record<string, string>): Promise<unknown>;
|
|
117
|
+
aiGenerateNewsletter(data: Record<string, unknown>): Promise<any>;
|
|
118
|
+
aiTransformArticle(data: Record<string, unknown>): Promise<unknown>;
|
|
119
|
+
listTeamMembers(): Promise<unknown>;
|
|
120
|
+
inviteTeamMember(data: {
|
|
121
|
+
email: string;
|
|
122
|
+
role: string;
|
|
123
|
+
}): Promise<unknown>;
|
|
124
|
+
removeTeamMember(id: string): Promise<unknown>;
|
|
125
|
+
listTeamInvitations(): Promise<unknown>;
|
|
126
|
+
revokeTeamInvitation(id: string): Promise<unknown>;
|
|
127
|
+
listOrganizations(): Promise<unknown>;
|
|
109
128
|
}
|
|
110
129
|
|
|
111
130
|
declare function registerPostTools(server: McpServer, client: BuzzPosterClient): void;
|
|
112
131
|
|
|
113
|
-
declare function
|
|
114
|
-
|
|
115
|
-
declare function registerAnalyticsTools(server: McpServer, client: BuzzPosterClient): void;
|
|
116
|
-
|
|
117
|
-
declare function registerInboxTools(server: McpServer, client: BuzzPosterClient): void;
|
|
132
|
+
declare function registerInsightsTools(server: McpServer, client: BuzzPosterClient): void;
|
|
118
133
|
|
|
119
134
|
declare function registerMediaTools(server: McpServer, client: BuzzPosterClient): void;
|
|
120
135
|
|
|
121
|
-
interface NewsletterToolOptions {
|
|
122
|
-
allowDirectSend?: boolean;
|
|
123
|
-
}
|
|
124
|
-
declare function registerNewsletterTools(server: McpServer, client: BuzzPosterClient, options?: NewsletterToolOptions): void;
|
|
125
|
-
|
|
126
|
-
declare function registerNewsletterAdvancedTools(server: McpServer, client: BuzzPosterClient): void;
|
|
127
|
-
|
|
128
136
|
declare function registerRssTools(server: McpServer, client: BuzzPosterClient): void;
|
|
129
137
|
|
|
130
|
-
declare function
|
|
138
|
+
declare function registerAccountTools(server: McpServer, client: BuzzPosterClient): void;
|
|
131
139
|
|
|
132
140
|
declare function registerBrandVoiceTools(server: McpServer, client: BuzzPosterClient): void;
|
|
133
141
|
|
|
134
142
|
declare function registerAudienceTools(server: McpServer, client: BuzzPosterClient): void;
|
|
135
143
|
|
|
136
|
-
declare function registerNewsletterTemplateTools(server: McpServer, client: BuzzPosterClient): void;
|
|
137
|
-
|
|
138
144
|
declare function registerCalendarTools(server: McpServer, client: BuzzPosterClient): void;
|
|
139
145
|
|
|
140
|
-
declare function registerNotificationTools(server: McpServer, client: BuzzPosterClient): void;
|
|
141
|
-
|
|
142
146
|
declare function registerSourceTools(server: McpServer, client: BuzzPosterClient): void;
|
|
143
147
|
|
|
144
148
|
declare function registerWordPressTools(server: McpServer, client: BuzzPosterClient): void;
|
|
145
149
|
|
|
146
150
|
declare function registerGhostTools(server: McpServer, client: BuzzPosterClient): void;
|
|
147
151
|
|
|
148
|
-
|
|
152
|
+
declare function registerImageTemplateTools(server: McpServer, client: BuzzPosterClient): void;
|
|
153
|
+
|
|
154
|
+
declare function registerPublishingRulesTools(server: McpServer, client: BuzzPosterClient): void;
|
|
155
|
+
|
|
156
|
+
declare function registerContextTools(server: McpServer, client: BuzzPosterClient): void;
|
|
157
|
+
|
|
158
|
+
declare function registerTeamTools(server: McpServer, client: BuzzPosterClient): void;
|
|
159
|
+
|
|
160
|
+
declare function registerPostPreviewResource(server: McpServer): void;
|
|
161
|
+
|
|
162
|
+
export { BuzzPosterClient, registerAccountTools, registerAudienceTools, registerBrandVoiceTools, registerCalendarTools, registerContextTools, registerGhostTools, registerImageTemplateTools, registerInsightsTools, registerMediaTools, registerPostPreviewResource, registerPostTools, registerPublishingRulesTools, registerRssTools, registerSourceTools, registerTeamTools, registerWordPressTools };
|