@wplaunchify/ml-mcp-server 2.6.5 → 2.7.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.
@@ -75,9 +75,10 @@ export const mlImageEditorTools = [
75
75
  },
76
76
  ];
77
77
  export const mlImageEditorHandlers = {
78
+ // All handlers now use FluentMCP proxy at fc-manager/v1/image-editor/* for unified authentication
78
79
  mlimg_generate: async (args) => {
79
80
  try {
80
- const response = await makeWordPressRequest('POST', 'ml-image/v1/generate', args);
81
+ const response = await makeWordPressRequest('POST', 'fc-manager/v1/image-editor/generate', args);
81
82
  return {
82
83
  toolResult: {
83
84
  content: [{
@@ -101,7 +102,7 @@ export const mlImageEditorHandlers = {
101
102
  },
102
103
  mlimg_edit: async (args) => {
103
104
  try {
104
- const response = await makeWordPressRequest('POST', 'ml-image/v1/edit', args);
105
+ const response = await makeWordPressRequest('POST', 'fc-manager/v1/image-editor/edit', args);
105
106
  return {
106
107
  toolResult: {
107
108
  content: [{
@@ -125,7 +126,7 @@ export const mlImageEditorHandlers = {
125
126
  },
126
127
  mlimg_iterate: async (args) => {
127
128
  try {
128
- const response = await makeWordPressRequest('POST', 'ml-image/v1/iterate', args);
129
+ const response = await makeWordPressRequest('POST', 'fc-manager/v1/image-editor/iterate', args);
129
130
  return {
130
131
  toolResult: {
131
132
  content: [{
@@ -149,7 +150,7 @@ export const mlImageEditorHandlers = {
149
150
  },
150
151
  mlimg_batch_generate: async (args) => {
151
152
  try {
152
- const response = await makeWordPressRequest('POST', 'ml-image/v1/batch-generate', args);
153
+ const response = await makeWordPressRequest('POST', 'fc-manager/v1/image-editor/batch-generate', args);
153
154
  return {
154
155
  toolResult: {
155
156
  content: [{
@@ -173,7 +174,7 @@ export const mlImageEditorHandlers = {
173
174
  },
174
175
  mlimg_list_images: async (args) => {
175
176
  try {
176
- const response = await makeWordPressRequest('GET', 'ml-image/v1/ai-images', args);
177
+ const response = await makeWordPressRequest('GET', 'fc-manager/v1/image-editor/images', args);
177
178
  return {
178
179
  toolResult: {
179
180
  content: [{
@@ -197,7 +198,7 @@ export const mlImageEditorHandlers = {
197
198
  },
198
199
  mlimg_get_history: async (args) => {
199
200
  try {
200
- const response = await makeWordPressRequest('GET', `ml-image/v1/ai-images/${args.id}/history`);
201
+ const response = await makeWordPressRequest('GET', `fc-manager/v1/image-editor/images/${args.id}/history`);
201
202
  return {
202
203
  toolResult: {
203
204
  content: [{
@@ -221,7 +222,7 @@ export const mlImageEditorHandlers = {
221
222
  },
222
223
  mlimg_list_categories: async (args) => {
223
224
  try {
224
- const response = await makeWordPressRequest('GET', 'ml-image/v1/categories');
225
+ const response = await makeWordPressRequest('GET', 'fc-manager/v1/image-editor/categories');
225
226
  return {
226
227
  toolResult: {
227
228
  content: [{
@@ -245,7 +246,7 @@ export const mlImageEditorHandlers = {
245
246
  },
246
247
  mlimg_health: async (args) => {
247
248
  try {
248
- const response = await makeWordPressRequest('GET', 'ml-image/v1/health');
249
+ const response = await makeWordPressRequest('GET', 'fc-manager/v1/image-editor/health');
249
250
  return {
250
251
  toolResult: {
251
252
  content: [{
@@ -119,9 +119,10 @@ export const mlMediaHubTools = [
119
119
  // TOOL HANDLERS
120
120
  // ============================================================================
121
121
  export const mlMediaHubHandlers = {
122
+ // All handlers now use FluentMCP proxy at fc-manager/v1/mediahub/* for unified authentication
122
123
  mlmh_search_images: async (args) => {
123
124
  try {
124
- const response = await makeWordPressRequest('POST', 'mediahub/v1/search-images', args);
125
+ const response = await makeWordPressRequest('POST', 'fc-manager/v1/mediahub/search-images', args);
125
126
  return {
126
127
  toolResult: {
127
128
  content: [{
@@ -145,7 +146,7 @@ export const mlMediaHubHandlers = {
145
146
  },
146
147
  mlmh_import_images: async (args) => {
147
148
  try {
148
- const response = await makeWordPressRequest('POST', 'mediahub/v1/import-images', args);
149
+ const response = await makeWordPressRequest('POST', 'fc-manager/v1/mediahub/import-images', args);
149
150
  return {
150
151
  toolResult: {
151
152
  content: [{
@@ -169,7 +170,7 @@ export const mlMediaHubHandlers = {
169
170
  },
170
171
  mlmh_search_icons: async (args) => {
171
172
  try {
172
- const response = await makeWordPressRequest('POST', 'mediahub/v1/noun-search', args);
173
+ const response = await makeWordPressRequest('POST', 'fc-manager/v1/mediahub/search-icons', args);
173
174
  return {
174
175
  toolResult: {
175
176
  content: [{
@@ -193,7 +194,7 @@ export const mlMediaHubHandlers = {
193
194
  },
194
195
  mlmh_import_icon: async (args) => {
195
196
  try {
196
- const response = await makeWordPressRequest('POST', 'mediahub/v1/noun-import', args);
197
+ const response = await makeWordPressRequest('POST', 'fc-manager/v1/mediahub/import-icon', args);
197
198
  return {
198
199
  toolResult: {
199
200
  content: [{
@@ -227,7 +228,7 @@ export const mlMediaHubHandlers = {
227
228
  if (args.search)
228
229
  params.append('search', args.search);
229
230
  const query = params.toString();
230
- const response = await makeWordPressRequest('GET', `mediahub/v1/media${query ? '?' + query : ''}`);
231
+ const response = await makeWordPressRequest('GET', `fc-manager/v1/mediahub/media${query ? '?' + query : ''}`);
231
232
  return {
232
233
  toolResult: {
233
234
  content: [{
@@ -251,7 +252,7 @@ export const mlMediaHubHandlers = {
251
252
  },
252
253
  mlmh_list_categories: async (args) => {
253
254
  try {
254
- const response = await makeWordPressRequest('GET', 'mediahub/v1/media-categories');
255
+ const response = await makeWordPressRequest('GET', 'fc-manager/v1/mediahub/categories');
255
256
  return {
256
257
  toolResult: {
257
258
  content: [{
@@ -275,7 +276,7 @@ export const mlMediaHubHandlers = {
275
276
  },
276
277
  mlmh_create_category: async (args) => {
277
278
  try {
278
- const response = await makeWordPressRequest('POST', 'mediahub/v1/media-categories', args);
279
+ const response = await makeWordPressRequest('POST', 'fc-manager/v1/mediahub/categories', args);
279
280
  return {
280
281
  toolResult: {
281
282
  content: [{
@@ -299,7 +300,7 @@ export const mlMediaHubHandlers = {
299
300
  },
300
301
  mlmh_get_settings: async (args) => {
301
302
  try {
302
- const response = await makeWordPressRequest('GET', 'mediahub/v1/settings');
303
+ const response = await makeWordPressRequest('GET', 'fc-manager/v1/mediahub/settings');
303
304
  return {
304
305
  toolResult: {
305
306
  content: [{
@@ -323,7 +324,7 @@ export const mlMediaHubHandlers = {
323
324
  },
324
325
  mlmh_update_settings: async (args) => {
325
326
  try {
326
- const response = await makeWordPressRequest('POST', 'mediahub/v1/settings', args);
327
+ const response = await makeWordPressRequest('POST', 'fc-manager/v1/mediahub/settings', args);
327
328
  return {
328
329
  toolResult: {
329
330
  content: [{
@@ -347,7 +348,7 @@ export const mlMediaHubHandlers = {
347
348
  },
348
349
  mlmh_get_info: async (args) => {
349
350
  try {
350
- const response = await makeWordPressRequest('GET', 'mediahub/v1/info');
351
+ const response = await makeWordPressRequest('GET', 'fc-manager/v1/mediahub/info');
351
352
  return {
352
353
  toolResult: {
353
354
  content: [{
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wplaunchify/ml-mcp-server",
3
- "version": "2.6.5",
3
+ "version": "2.7.0",
4
4
  "description": "Universal MCP Server for WordPress + Fluent Suite (Community, CRM, Cart) + FluentMCP Pro. Comprehensive tools for AI-powered WordPress management via Claude, Cursor, and other MCP clients.",
5
5
  "type": "module",
6
6
  "main": "./build/server.js",