@leadshark/mcp-server 1.1.1 → 1.2.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.
- package/README.md +79 -0
- package/dist/index.js +82 -3
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -127,6 +127,7 @@ Think of the MCP tools as verbs on your growth system:
|
|
|
127
127
|
|
|
128
128
|
* `list_recent_posts`
|
|
129
129
|
* `list_automations`
|
|
130
|
+
* `list_scheduled_posts`
|
|
130
131
|
|
|
131
132
|
* **Create**
|
|
132
133
|
|
|
@@ -136,8 +137,13 @@ Think of the MCP tools as verbs on your growth system:
|
|
|
136
137
|
* **Modify**
|
|
137
138
|
|
|
138
139
|
* `edit_automation`
|
|
140
|
+
* `edit_scheduled_post`
|
|
139
141
|
* `set_daily_dm_limit`
|
|
140
142
|
|
|
143
|
+
* **Delete**
|
|
144
|
+
|
|
145
|
+
* `cancel_scheduled_post`
|
|
146
|
+
|
|
141
147
|
You describe intent. MCP handles sequencing, safety, and execution.
|
|
142
148
|
|
|
143
149
|
---
|
|
@@ -157,6 +163,21 @@ Examples:
|
|
|
157
163
|
|
|
158
164
|
---
|
|
159
165
|
|
|
166
|
+
### `list_scheduled_posts`
|
|
167
|
+
|
|
168
|
+
List all your scheduled posts with timing, status, and automation details.
|
|
169
|
+
Filter by status: `pending`, `published`, `failed`, or `all` (default: `pending`).
|
|
170
|
+
|
|
171
|
+
Examples:
|
|
172
|
+
|
|
173
|
+
```
|
|
174
|
+
"Show me all my scheduled posts"
|
|
175
|
+
"What posts are scheduled for this week?"
|
|
176
|
+
"List my failed scheduled posts"
|
|
177
|
+
```
|
|
178
|
+
|
|
179
|
+
---
|
|
180
|
+
|
|
160
181
|
### `create_automation`
|
|
161
182
|
|
|
162
183
|
Create a new automation for a LinkedIn post.
|
|
@@ -198,6 +219,44 @@ Examples:
|
|
|
198
219
|
|
|
199
220
|
---
|
|
200
221
|
|
|
222
|
+
### `edit_scheduled_post`
|
|
223
|
+
|
|
224
|
+
Update a scheduled post's content or scheduled time.
|
|
225
|
+
Can only edit **pending** posts (not published/failed).
|
|
226
|
+
|
|
227
|
+
Examples:
|
|
228
|
+
|
|
229
|
+
```
|
|
230
|
+
"Change tomorrow's post to include the new link"
|
|
231
|
+
"Reschedule my 9am post to 2pm instead"
|
|
232
|
+
```
|
|
233
|
+
|
|
234
|
+
---
|
|
235
|
+
|
|
236
|
+
### `cancel_scheduled_post`
|
|
237
|
+
|
|
238
|
+
Cancel a scheduled post permanently. **Requires confirmation**.
|
|
239
|
+
Can only cancel **pending** posts.
|
|
240
|
+
|
|
241
|
+
**What you'll lose:**
|
|
242
|
+
- Post content (text)
|
|
243
|
+
- Image attachments
|
|
244
|
+
- Scheduling information
|
|
245
|
+
|
|
246
|
+
**What you'll keep:**
|
|
247
|
+
- Pre-automation template (if one was attached) — it's already saved and can be reused for future posts
|
|
248
|
+
|
|
249
|
+
Examples:
|
|
250
|
+
|
|
251
|
+
```
|
|
252
|
+
"Cancel tomorrow's scheduled post"
|
|
253
|
+
"Delete the post scheduled for Monday"
|
|
254
|
+
```
|
|
255
|
+
|
|
256
|
+
**Safety Note:** This action requires `confirm: true`. The post content and attachments are deleted permanently, but any pre-automation templates are preserved in your template library.
|
|
257
|
+
|
|
258
|
+
---
|
|
259
|
+
|
|
201
260
|
### `schedule_post_with_automation`
|
|
202
261
|
|
|
203
262
|
Schedule a LinkedIn post with an optional image attachment and pre-configured automation.
|
|
@@ -240,6 +299,7 @@ The MCP server is intentionally conservative.
|
|
|
240
299
|
|
|
241
300
|
* New automations always start as Draft
|
|
242
301
|
* Automations cannot be deleted via MCP
|
|
302
|
+
* Scheduled posts can be canceled (requires confirmation)
|
|
243
303
|
* DM volume respects your daily limits
|
|
244
304
|
* Emergency stops require confirmation
|
|
245
305
|
* Every action is logged and attributable
|
|
@@ -337,6 +397,25 @@ Result:
|
|
|
337
397
|
|
|
338
398
|
---
|
|
339
399
|
|
|
400
|
+
## Error Handling
|
|
401
|
+
|
|
402
|
+
When things go wrong, you'll get a clean JSON error response:
|
|
403
|
+
|
|
404
|
+
```json
|
|
405
|
+
{
|
|
406
|
+
"error": "Failed to fetch LinkedIn posts",
|
|
407
|
+
"details": "Unable to retrieve post data from LinkedIn"
|
|
408
|
+
}
|
|
409
|
+
```
|
|
410
|
+
|
|
411
|
+
Common errors:
|
|
412
|
+
- **401 Unauthorized** - Invalid or expired API key
|
|
413
|
+
- **429 Too Many Requests** - Rate limit exceeded
|
|
414
|
+
- **502 Bad Gateway** - LinkedIn data temporarily unavailable
|
|
415
|
+
- **500 Internal Server Error** - Server-side issue
|
|
416
|
+
|
|
417
|
+
---
|
|
418
|
+
|
|
340
419
|
## Support
|
|
341
420
|
|
|
342
421
|
* MCP Docs: [https://apex.leadshark.io/docs/mcp](https://apex.leadshark.io/docs/mcp)
|
package/dist/index.js
CHANGED
|
@@ -86,7 +86,10 @@ const TOOLS = [
|
|
|
86
86
|
properties: {
|
|
87
87
|
auto_connect: { type: 'boolean', description: 'Send connection requests to commenters' },
|
|
88
88
|
auto_like: { type: 'boolean', description: 'Like all comments automatically' },
|
|
89
|
-
partially_engage: {
|
|
89
|
+
partially_engage: {
|
|
90
|
+
type: 'boolean',
|
|
91
|
+
description: 'WARNING: Only engage with comments the user has NOT manually replied to. CRITICAL: Enable this (true) if: (1) The post is older than 1 day, OR (2) The user has already manually responded to some comments. Default: false (engage with all comments). If post.posted_at is >24h ago, ASK USER before proceeding or default to true.'
|
|
92
|
+
},
|
|
90
93
|
follow_up_enabled: { type: 'boolean', description: 'Enable follow-up DMs' },
|
|
91
94
|
follow_up_delay_minutes: { type: 'number', description: 'Delay before follow-up (1-10080)' },
|
|
92
95
|
follow_up_template: { type: 'string', description: 'Follow-up message template' },
|
|
@@ -148,7 +151,10 @@ const TOOLS = [
|
|
|
148
151
|
properties: {
|
|
149
152
|
auto_connect: { type: 'boolean' },
|
|
150
153
|
auto_like: { type: 'boolean' },
|
|
151
|
-
partially_engage: {
|
|
154
|
+
partially_engage: {
|
|
155
|
+
type: 'boolean',
|
|
156
|
+
description: 'WARNING: Only engage with comments the user has NOT manually replied to. CRITICAL: Enable this (true) if the post is older than 1 day OR if the user has already manually responded to some comments. Check automation.post_url posted_at date before changing this.'
|
|
157
|
+
},
|
|
152
158
|
follow_up_enabled: { type: 'boolean' },
|
|
153
159
|
follow_up_delay_minutes: { type: 'number' },
|
|
154
160
|
follow_up_template: { type: 'string' },
|
|
@@ -207,6 +213,65 @@ const TOOLS = [
|
|
|
207
213
|
required: ['post_content', 'scheduled_for'],
|
|
208
214
|
},
|
|
209
215
|
},
|
|
216
|
+
{
|
|
217
|
+
name: 'list_scheduled_posts',
|
|
218
|
+
description: 'List all your scheduled posts with status, timing, and automation details. Filter by status (pending, published, failed, all).',
|
|
219
|
+
inputSchema: {
|
|
220
|
+
type: 'object',
|
|
221
|
+
properties: {
|
|
222
|
+
status: {
|
|
223
|
+
type: 'string',
|
|
224
|
+
enum: ['pending', 'published', 'failed', 'all'],
|
|
225
|
+
description: 'Filter by status (default: pending)',
|
|
226
|
+
},
|
|
227
|
+
},
|
|
228
|
+
},
|
|
229
|
+
},
|
|
230
|
+
{
|
|
231
|
+
name: 'edit_scheduled_post',
|
|
232
|
+
description: 'Update a scheduled post\'s content or time. Can only edit pending posts (not published/failed).',
|
|
233
|
+
inputSchema: {
|
|
234
|
+
type: 'object',
|
|
235
|
+
properties: {
|
|
236
|
+
post_id: {
|
|
237
|
+
type: 'string',
|
|
238
|
+
description: 'UUID of the scheduled post to edit',
|
|
239
|
+
},
|
|
240
|
+
updates: {
|
|
241
|
+
type: 'object',
|
|
242
|
+
properties: {
|
|
243
|
+
content: {
|
|
244
|
+
type: 'string',
|
|
245
|
+
description: 'New post content (max 3000 chars)',
|
|
246
|
+
},
|
|
247
|
+
scheduled_time: {
|
|
248
|
+
type: 'string',
|
|
249
|
+
description: 'New scheduled time (ISO 8601 format)',
|
|
250
|
+
},
|
|
251
|
+
},
|
|
252
|
+
},
|
|
253
|
+
},
|
|
254
|
+
required: ['post_id', 'updates'],
|
|
255
|
+
},
|
|
256
|
+
},
|
|
257
|
+
{
|
|
258
|
+
name: 'cancel_scheduled_post',
|
|
259
|
+
description: 'Cancel a scheduled post. DESTRUCTIVE: Requires confirm: true. Deletes post content and attachments permanently. Pre-automation templates are preserved and can be reused. Can only cancel pending posts.',
|
|
260
|
+
inputSchema: {
|
|
261
|
+
type: 'object',
|
|
262
|
+
properties: {
|
|
263
|
+
post_id: {
|
|
264
|
+
type: 'string',
|
|
265
|
+
description: 'UUID of the scheduled post to cancel',
|
|
266
|
+
},
|
|
267
|
+
confirm: {
|
|
268
|
+
type: 'boolean',
|
|
269
|
+
description: 'REQUIRED: Must be true to confirm cancellation. Post content and attachments will be deleted, but pre-automation templates are preserved.',
|
|
270
|
+
},
|
|
271
|
+
},
|
|
272
|
+
required: ['post_id', 'confirm'],
|
|
273
|
+
},
|
|
274
|
+
},
|
|
210
275
|
{
|
|
211
276
|
name: 'set_daily_dm_limit',
|
|
212
277
|
description: 'Set your daily DM sending limit. Setting to 0 is an emergency stop - all DM sending pauses immediately. Requires confirm: true for destructive changes.',
|
|
@@ -266,6 +331,20 @@ async function handleToolCall(name, args) {
|
|
|
266
331
|
automation: args.automation,
|
|
267
332
|
});
|
|
268
333
|
}
|
|
334
|
+
case 'list_scheduled_posts': {
|
|
335
|
+
const status = args.status || 'pending';
|
|
336
|
+
return apiRequest(`/api/mcp/scheduled-posts/list?status=${status}`, 'GET');
|
|
337
|
+
}
|
|
338
|
+
case 'edit_scheduled_post': {
|
|
339
|
+
return apiRequest(`/api/mcp/scheduled-posts/${args.post_id}`, 'PATCH', {
|
|
340
|
+
updates: args.updates,
|
|
341
|
+
});
|
|
342
|
+
}
|
|
343
|
+
case 'cancel_scheduled_post': {
|
|
344
|
+
return apiRequest(`/api/mcp/scheduled-posts/${args.post_id}`, 'DELETE', {
|
|
345
|
+
confirm: args.confirm,
|
|
346
|
+
});
|
|
347
|
+
}
|
|
269
348
|
case 'set_daily_dm_limit': {
|
|
270
349
|
return apiRequest('/api/mcp/dm-limit', 'POST', {
|
|
271
350
|
limit: args.limit,
|
|
@@ -282,7 +361,7 @@ async function handleToolCall(name, args) {
|
|
|
282
361
|
async function main() {
|
|
283
362
|
const server = new index_js_1.Server({
|
|
284
363
|
name: 'leadshark',
|
|
285
|
-
version: '1.
|
|
364
|
+
version: '1.2.0',
|
|
286
365
|
}, {
|
|
287
366
|
capabilities: {
|
|
288
367
|
tools: {},
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;AAEA,wEAAmE;AACnE,wEAAiF;AACjF,iEAK4C;AAE5C,MAAM,YAAY,GAAG,OAAO,CAAC,GAAG,CAAC,iBAAiB,IAAI,2BAA2B,CAAC;AAClF,MAAM,OAAO,GAAG,OAAO,CAAC,GAAG,CAAC,iBAAiB,CAAC;AAE9C,IAAI,CAAC,OAAO,EAAE,CAAC;IACb,OAAO,CAAC,KAAK,CAAC,2DAA2D,CAAC,CAAC;IAC3E,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC;AAClB,CAAC;AAED;;GAEG;AACH,KAAK,UAAU,UAAU,CACvB,QAAgB,EAChB,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;AAEA,wEAAmE;AACnE,wEAAiF;AACjF,iEAK4C;AAE5C,MAAM,YAAY,GAAG,OAAO,CAAC,GAAG,CAAC,iBAAiB,IAAI,2BAA2B,CAAC;AAClF,MAAM,OAAO,GAAG,OAAO,CAAC,GAAG,CAAC,iBAAiB,CAAC;AAE9C,IAAI,CAAC,OAAO,EAAE,CAAC;IACb,OAAO,CAAC,KAAK,CAAC,2DAA2D,CAAC,CAAC;IAC3E,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC;AAClB,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