@wplaunchify/ml-mcp-server 1.0.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 (49) hide show
  1. package/LICENSE +22 -0
  2. package/README.md +220 -0
  3. package/build/cli.d.ts +2 -0
  4. package/build/cli.js +52 -0
  5. package/build/server.d.ts +2 -0
  6. package/build/server.js +97 -0
  7. package/build/tools/comments.d.ts +212 -0
  8. package/build/tools/comments.js +181 -0
  9. package/build/tools/fluent-affiliate.d.ts +2 -0
  10. package/build/tools/fluent-affiliate.js +3 -0
  11. package/build/tools/fluent-cart.d.ts +706 -0
  12. package/build/tools/fluent-cart.js +642 -0
  13. package/build/tools/fluent-community-BACKUP.d.ts +364 -0
  14. package/build/tools/fluent-community-BACKUP.js +883 -0
  15. package/build/tools/fluent-community-MINIMAL.d.ts +69 -0
  16. package/build/tools/fluent-community-MINIMAL.js +92 -0
  17. package/build/tools/fluent-community-design.d.ts +3 -0
  18. package/build/tools/fluent-community-design.js +150 -0
  19. package/build/tools/fluent-community-layout.d.ts +119 -0
  20. package/build/tools/fluent-community-layout.js +88 -0
  21. package/build/tools/fluent-community.d.ts +364 -0
  22. package/build/tools/fluent-community.js +528 -0
  23. package/build/tools/fluent-crm.d.ts +3 -0
  24. package/build/tools/fluent-crm.js +392 -0
  25. package/build/tools/index.d.ts +2205 -0
  26. package/build/tools/index.js +54 -0
  27. package/build/tools/media.d.ts +135 -0
  28. package/build/tools/media.js +168 -0
  29. package/build/tools/ml-canvas.d.ts +91 -0
  30. package/build/tools/ml-canvas.js +109 -0
  31. package/build/tools/ml-image-editor.d.ts +230 -0
  32. package/build/tools/ml-image-editor.js +270 -0
  33. package/build/tools/ml-media-hub.d.ts +575 -0
  34. package/build/tools/ml-media-hub.js +714 -0
  35. package/build/tools/plugin-repository.d.ts +62 -0
  36. package/build/tools/plugin-repository.js +149 -0
  37. package/build/tools/plugins.d.ts +129 -0
  38. package/build/tools/plugins.js +148 -0
  39. package/build/tools/unified-content.d.ts +313 -0
  40. package/build/tools/unified-content.js +615 -0
  41. package/build/tools/unified-taxonomies.d.ts +229 -0
  42. package/build/tools/unified-taxonomies.js +479 -0
  43. package/build/tools/users.d.ts +227 -0
  44. package/build/tools/users.js +182 -0
  45. package/build/types/wordpress-types.d.ts +151 -0
  46. package/build/types/wordpress-types.js +2 -0
  47. package/build/wordpress.d.ts +26 -0
  48. package/build/wordpress.js +223 -0
  49. package/package.json +67 -0
@@ -0,0 +1,229 @@
1
+ import { Tool } from '@modelcontextprotocol/sdk/types.js';
2
+ import { z } from 'zod';
3
+ declare const discoverTaxonomiesSchema: z.ZodObject<{
4
+ content_type: z.ZodOptional<z.ZodString>;
5
+ refresh_cache: z.ZodOptional<z.ZodBoolean>;
6
+ }, "strip", z.ZodTypeAny, {
7
+ content_type?: string | undefined;
8
+ refresh_cache?: boolean | undefined;
9
+ }, {
10
+ content_type?: string | undefined;
11
+ refresh_cache?: boolean | undefined;
12
+ }>;
13
+ declare const listTermsSchema: z.ZodObject<{
14
+ taxonomy: z.ZodString;
15
+ page: z.ZodOptional<z.ZodNumber>;
16
+ per_page: z.ZodOptional<z.ZodNumber>;
17
+ search: z.ZodOptional<z.ZodString>;
18
+ parent: z.ZodOptional<z.ZodNumber>;
19
+ slug: z.ZodOptional<z.ZodString>;
20
+ hide_empty: z.ZodOptional<z.ZodBoolean>;
21
+ orderby: z.ZodOptional<z.ZodEnum<["id", "include", "name", "slug", "term_group", "description", "count"]>>;
22
+ order: z.ZodOptional<z.ZodEnum<["asc", "desc"]>>;
23
+ }, "strip", z.ZodTypeAny, {
24
+ taxonomy: string;
25
+ page?: number | undefined;
26
+ per_page?: number | undefined;
27
+ search?: string | undefined;
28
+ slug?: string | undefined;
29
+ parent?: number | undefined;
30
+ orderby?: "slug" | "id" | "name" | "description" | "include" | "term_group" | "count" | undefined;
31
+ order?: "asc" | "desc" | undefined;
32
+ hide_empty?: boolean | undefined;
33
+ }, {
34
+ taxonomy: string;
35
+ page?: number | undefined;
36
+ per_page?: number | undefined;
37
+ search?: string | undefined;
38
+ slug?: string | undefined;
39
+ parent?: number | undefined;
40
+ orderby?: "slug" | "id" | "name" | "description" | "include" | "term_group" | "count" | undefined;
41
+ order?: "asc" | "desc" | undefined;
42
+ hide_empty?: boolean | undefined;
43
+ }>;
44
+ declare const getTermSchema: z.ZodObject<{
45
+ taxonomy: z.ZodString;
46
+ id: z.ZodNumber;
47
+ }, "strip", z.ZodTypeAny, {
48
+ id: number;
49
+ taxonomy: string;
50
+ }, {
51
+ id: number;
52
+ taxonomy: string;
53
+ }>;
54
+ declare const createTermSchema: z.ZodObject<{
55
+ taxonomy: z.ZodString;
56
+ name: z.ZodString;
57
+ slug: z.ZodOptional<z.ZodString>;
58
+ parent: z.ZodOptional<z.ZodNumber>;
59
+ description: z.ZodOptional<z.ZodString>;
60
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
61
+ }, "strip", z.ZodTypeAny, {
62
+ name: string;
63
+ taxonomy: string;
64
+ slug?: string | undefined;
65
+ parent?: number | undefined;
66
+ meta?: Record<string, any> | undefined;
67
+ description?: string | undefined;
68
+ }, {
69
+ name: string;
70
+ taxonomy: string;
71
+ slug?: string | undefined;
72
+ parent?: number | undefined;
73
+ meta?: Record<string, any> | undefined;
74
+ description?: string | undefined;
75
+ }>;
76
+ declare const updateTermSchema: z.ZodObject<{
77
+ taxonomy: z.ZodString;
78
+ id: z.ZodNumber;
79
+ name: z.ZodOptional<z.ZodString>;
80
+ slug: z.ZodOptional<z.ZodString>;
81
+ parent: z.ZodOptional<z.ZodNumber>;
82
+ description: z.ZodOptional<z.ZodString>;
83
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
84
+ }, "strip", z.ZodTypeAny, {
85
+ id: number;
86
+ taxonomy: string;
87
+ slug?: string | undefined;
88
+ parent?: number | undefined;
89
+ meta?: Record<string, any> | undefined;
90
+ name?: string | undefined;
91
+ description?: string | undefined;
92
+ }, {
93
+ id: number;
94
+ taxonomy: string;
95
+ slug?: string | undefined;
96
+ parent?: number | undefined;
97
+ meta?: Record<string, any> | undefined;
98
+ name?: string | undefined;
99
+ description?: string | undefined;
100
+ }>;
101
+ declare const deleteTermSchema: z.ZodObject<{
102
+ taxonomy: z.ZodString;
103
+ id: z.ZodNumber;
104
+ force: z.ZodOptional<z.ZodBoolean>;
105
+ }, "strip", z.ZodTypeAny, {
106
+ id: number;
107
+ taxonomy: string;
108
+ force?: boolean | undefined;
109
+ }, {
110
+ id: number;
111
+ taxonomy: string;
112
+ force?: boolean | undefined;
113
+ }>;
114
+ declare const assignTermsToContentSchema: z.ZodObject<{
115
+ content_id: z.ZodNumber;
116
+ content_type: z.ZodString;
117
+ taxonomy: z.ZodString;
118
+ terms: z.ZodArray<z.ZodUnion<[z.ZodNumber, z.ZodString]>, "many">;
119
+ append: z.ZodOptional<z.ZodBoolean>;
120
+ }, "strip", z.ZodTypeAny, {
121
+ content_type: string;
122
+ taxonomy: string;
123
+ content_id: number;
124
+ terms: (string | number)[];
125
+ append?: boolean | undefined;
126
+ }, {
127
+ content_type: string;
128
+ taxonomy: string;
129
+ content_id: number;
130
+ terms: (string | number)[];
131
+ append?: boolean | undefined;
132
+ }>;
133
+ declare const getContentTermsSchema: z.ZodObject<{
134
+ content_id: z.ZodNumber;
135
+ content_type: z.ZodString;
136
+ taxonomy: z.ZodOptional<z.ZodString>;
137
+ }, "strip", z.ZodTypeAny, {
138
+ content_type: string;
139
+ content_id: number;
140
+ taxonomy?: string | undefined;
141
+ }, {
142
+ content_type: string;
143
+ content_id: number;
144
+ taxonomy?: string | undefined;
145
+ }>;
146
+ type DiscoverTaxonomiesParams = z.infer<typeof discoverTaxonomiesSchema>;
147
+ type ListTermsParams = z.infer<typeof listTermsSchema>;
148
+ type GetTermParams = z.infer<typeof getTermSchema>;
149
+ type CreateTermParams = z.infer<typeof createTermSchema>;
150
+ type UpdateTermParams = z.infer<typeof updateTermSchema>;
151
+ type DeleteTermParams = z.infer<typeof deleteTermSchema>;
152
+ type AssignTermsToContentParams = z.infer<typeof assignTermsToContentSchema>;
153
+ type GetContentTermsParams = z.infer<typeof getContentTermsSchema>;
154
+ export declare const unifiedTaxonomyTools: Tool[];
155
+ export declare const unifiedTaxonomyHandlers: {
156
+ discover_taxonomies: (params: DiscoverTaxonomiesParams) => Promise<{
157
+ toolResult: {
158
+ content: {
159
+ type: string;
160
+ text: string;
161
+ }[];
162
+ isError: boolean;
163
+ };
164
+ }>;
165
+ list_terms: (params: ListTermsParams) => Promise<{
166
+ toolResult: {
167
+ content: {
168
+ type: string;
169
+ text: string;
170
+ }[];
171
+ isError: boolean;
172
+ };
173
+ }>;
174
+ get_term: (params: GetTermParams) => Promise<{
175
+ toolResult: {
176
+ content: {
177
+ type: string;
178
+ text: string;
179
+ }[];
180
+ isError: boolean;
181
+ };
182
+ }>;
183
+ create_term: (params: CreateTermParams) => Promise<{
184
+ toolResult: {
185
+ content: {
186
+ type: string;
187
+ text: string;
188
+ }[];
189
+ isError: boolean;
190
+ };
191
+ }>;
192
+ update_term: (params: UpdateTermParams) => Promise<{
193
+ toolResult: {
194
+ content: {
195
+ type: string;
196
+ text: string;
197
+ }[];
198
+ isError: boolean;
199
+ };
200
+ }>;
201
+ delete_term: (params: DeleteTermParams) => Promise<{
202
+ toolResult: {
203
+ content: {
204
+ type: string;
205
+ text: string;
206
+ }[];
207
+ isError: boolean;
208
+ };
209
+ }>;
210
+ assign_terms_to_content: (params: AssignTermsToContentParams) => Promise<{
211
+ toolResult: {
212
+ content: {
213
+ type: string;
214
+ text: string;
215
+ }[];
216
+ isError: boolean;
217
+ };
218
+ }>;
219
+ get_content_terms: (params: GetContentTermsParams) => Promise<{
220
+ toolResult: {
221
+ content: {
222
+ type: string;
223
+ text: string;
224
+ }[];
225
+ isError: boolean;
226
+ };
227
+ }>;
228
+ };
229
+ export {};