@atray/mcp 1.0.3 → 1.0.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atray/mcp",
3
- "version": "1.0.3",
3
+ "version": "1.0.4",
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.3' },
13
+ { name: 'atray-mcp', version: '1.0.4' },
14
14
  { capabilities: { tools: {} } }
15
15
  );
16
16
 
package/src/tools.js CHANGED
@@ -152,6 +152,7 @@ export const tools = [
152
152
  properties: {
153
153
  campaign_id: { type: 'string', description: 'Campaign UUID to link to (optional)' },
154
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).' },
155
156
  caption_text: { type: 'string', description: 'Post caption text' },
156
157
  cta: { type: 'string', description: 'Call-to-action text (e.g. "Link in bio")' },
157
158
  hashtags: { type: 'array', items: { type: 'string' }, description: 'Hashtags (without #)' },
@@ -190,6 +191,7 @@ export const tools = [
190
191
  image_description: { type: 'string', description: 'Image description for single-image posts' },
191
192
  image_descriptions: { type: 'array', items: { type: 'string' }, description: 'Image descriptions per slide for carousel posts (3-6 items)' },
192
193
  context: { type: 'string', description: 'Context/brief for AI text generation' },
194
+ placement: { type: 'string', enum: ['feed', 'story'], description: 'Publish destination: feed or story (Instagram Story). Carousel posts are always feed.' },
193
195
  status: { type: 'string', enum: ['draft', 'scheduled', 'published'] },
194
196
  scheduled_at: { type: 'string', description: 'Publish datetime (ISO-8601, must be in the future)' },
195
197
  image_text_enabled: { type: 'boolean' },