@atray/mcp 1.0.6 → 1.0.7

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atray/mcp",
3
- "version": "1.0.6",
3
+ "version": "1.0.7",
4
4
  "description": "MCP server for ATRAY API - manage campaigns, posts and brand profile via AI",
5
5
  "type": "module",
6
6
  "bin": {
package/src/index.js CHANGED
@@ -10,7 +10,7 @@ import { tools } from './tools.js';
10
10
  import { api } from './api.js';
11
11
 
12
12
  const server = new Server(
13
- { name: 'atray-mcp', version: '1.0.6' },
13
+ { name: 'atray-mcp', version: '1.0.7' },
14
14
  { capabilities: { tools: {} } }
15
15
  );
16
16
 
package/src/tools.js CHANGED
@@ -146,21 +146,22 @@ export const tools = [
146
146
 
147
147
  {
148
148
  name: 'createPost',
149
- description: 'Creates a standalone post draft. Use type="carousel" with image_descriptions[] (3-6 items) for a carousel post. Default type="text" uses image_description for a single image.',
149
+ description: 'Creates a standalone post draft. Use type="carousel" with image_descriptions[] (3-6 items) for a carousel post. Default type="text" uses image_description for a single image. Set skip_image_generation=true when you plan to upload your own image with uploadPostImage right after — prevents the AI from generating and overwriting your upload.',
150
150
  inputSchema: {
151
151
  type: 'object',
152
152
  properties: {
153
- campaign_id: { type: 'string', description: 'Campaign UUID to link to (optional)' },
154
- type: { type: 'string', enum: ['text', 'carousel'], description: 'Post type (default: text)' },
155
- placement: { type: 'string', enum: ['feed', 'story'], description: 'Publish destination (default: feed). "story" publishes as an Instagram Story (single media only; not for carousel).' },
156
- caption_text: { type: 'string', description: 'Post caption text' },
157
- cta: { type: 'string', description: 'Call-to-action text (e.g. "Link in bio")' },
158
- hashtags: { type: 'array', items: { type: 'string' }, description: 'Hashtags (without #)' },
159
- image_description: { type: 'string', description: 'Image description for single-image posts (type=text)' },
160
- image_descriptions: { type: 'array', items: { type: 'string' }, description: 'Image description per slide for carousel posts (type=carousel, 3-6 items)' },
161
- context: { type: 'string', description: 'Context/brief for AI text generation (required for standalone posts)' },
162
- image_text_enabled: { type: 'boolean', description: 'Include text overlay in generated image (default: true)' },
163
- image_logo_enabled: { type: 'boolean', description: 'Include brand logo in generated image (default: true)' },
153
+ campaign_id: { type: 'string', description: 'Campaign UUID to link to (optional)' },
154
+ type: { type: 'string', enum: ['text', 'carousel'], description: 'Post type (default: text)' },
155
+ placement: { type: 'string', enum: ['feed', 'story'], description: 'Publish destination (default: feed). "story" publishes as an Instagram Story (single media only; not for carousel).' },
156
+ caption_text: { type: 'string', description: 'Post caption text' },
157
+ cta: { type: 'string', description: 'Call-to-action text (e.g. "Link in bio")' },
158
+ hashtags: { type: 'array', items: { type: 'string' }, description: 'Hashtags (without #)' },
159
+ image_description: { type: 'string', description: 'Image description for single-image posts (type=text)' },
160
+ image_descriptions: { type: 'array', items: { type: 'string' }, description: 'Image description per slide for carousel posts (type=carousel, 3-6 items)' },
161
+ context: { type: 'string', description: 'Context/brief for AI text generation (required for standalone posts)' },
162
+ image_text_enabled: { type: 'boolean', description: 'Include text overlay in generated image (default: true)' },
163
+ image_logo_enabled: { type: 'boolean', description: 'Include brand logo in generated image (default: true)' },
164
+ skip_image_generation: { type: 'boolean', description: 'Set to true to skip AI image generation. Use when you will upload your own image with uploadPostImage after creating the post.' },
164
165
  },
165
166
  },
166
167
  },