lotux-mcp 0.5.1 → 0.5.2

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/index.mjs +17 -0
  2. package/package.json +1 -1
package/index.mjs CHANGED
@@ -257,6 +257,23 @@ server.tool(
257
257
  async (args) => ok(await rpc("set_base_language", args))
258
258
  );
259
259
 
260
+ server.tool(
261
+ "create_copy",
262
+ "Create a brand-scoped ad copy item (adcopy / headline / description) and link it to a concept. Returns the new copy id. To add another language to an existing copy use add_copy_translation instead.",
263
+ {
264
+ account_id: z.string().describe("Brand id from list_brands"),
265
+ concept_id: z.string(),
266
+ type: z.enum(["adcopy", "headline", "description"]),
267
+ text: z.string(),
268
+ product_ids: z.array(z.string()).optional(),
269
+ promotion: z.string().optional(),
270
+ country: z.string().optional(),
271
+ language: z.string().optional().describe("Full-written name, e.g. English"),
272
+ funnel_stage: z.string().optional(),
273
+ },
274
+ async (args) => ok(await rpc("create_copy", args))
275
+ );
276
+
260
277
  server.tool(
261
278
  "link_copy",
262
279
  "Link an existing copy item to a concept.",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lotux-mcp",
3
- "version": "0.5.1",
3
+ "version": "0.5.2",
4
4
  "type": "module",
5
5
  "description": "Local MCP server that lets Claude create LOTUX concepts (fetch brand-DB entities, create concepts, fill scripts + copy). Talks to the LOTUX app with a personal token; no business logic or secrets live here.",
6
6
  "bin": {