sequentum-mcp 1.1.4 → 1.2.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 (60) hide show
  1. package/CHANGELOG.md +100 -0
  2. package/README.md +104 -3
  3. package/dist/{api-client.d.ts → api/api-client.d.ts} +106 -4
  4. package/dist/api/api-client.d.ts.map +1 -0
  5. package/dist/{api-client.js → api/api-client.js} +345 -99
  6. package/dist/api/api-client.js.map +1 -0
  7. package/dist/{types.d.ts → api/types.d.ts} +122 -12
  8. package/dist/api/types.d.ts.map +1 -0
  9. package/dist/{types.js → api/types.js} +57 -0
  10. package/dist/api/types.js.map +1 -0
  11. package/dist/index.js +11 -1737
  12. package/dist/index.js.map +1 -1
  13. package/dist/server/cors.d.ts +33 -0
  14. package/dist/server/cors.d.ts.map +1 -0
  15. package/dist/server/cors.js +72 -0
  16. package/dist/server/cors.js.map +1 -0
  17. package/dist/server/handlers.d.ts +49 -0
  18. package/dist/server/handlers.d.ts.map +1 -0
  19. package/dist/server/handlers.js +1031 -0
  20. package/dist/server/handlers.js.map +1 -0
  21. package/dist/server/http-server.d.ts +13 -0
  22. package/dist/server/http-server.d.ts.map +1 -0
  23. package/dist/server/http-server.js +393 -0
  24. package/dist/server/http-server.js.map +1 -0
  25. package/dist/server/policies.d.ts +19 -0
  26. package/dist/server/policies.d.ts.map +1 -0
  27. package/dist/server/policies.js +32 -0
  28. package/dist/server/policies.js.map +1 -0
  29. package/dist/server/prompts.d.ts +19 -0
  30. package/dist/server/prompts.d.ts.map +1 -0
  31. package/dist/server/prompts.js +464 -0
  32. package/dist/server/prompts.js.map +1 -0
  33. package/dist/server/resources.d.ts +26 -0
  34. package/dist/server/resources.d.ts.map +1 -0
  35. package/dist/server/resources.js +348 -0
  36. package/dist/server/resources.js.map +1 -0
  37. package/dist/server/tools.d.ts +9 -0
  38. package/dist/server/tools.d.ts.map +1 -0
  39. package/dist/server/tools.js +977 -0
  40. package/dist/server/tools.js.map +1 -0
  41. package/dist/utils/oauth-metadata.d.ts.map +1 -0
  42. package/dist/utils/oauth-metadata.js.map +1 -0
  43. package/dist/{validation.d.ts → utils/validation.d.ts} +25 -2
  44. package/dist/utils/validation.d.ts.map +1 -0
  45. package/dist/{validation.js → utils/validation.js} +43 -3
  46. package/dist/utils/validation.js.map +1 -0
  47. package/docs/prompts-reference.md +370 -0
  48. package/docs/resources-reference.md +300 -0
  49. package/docs/tool-reference.md +244 -2
  50. package/package.json +4 -3
  51. package/dist/api-client.d.ts.map +0 -1
  52. package/dist/api-client.js.map +0 -1
  53. package/dist/oauth-metadata.d.ts.map +0 -1
  54. package/dist/oauth-metadata.js.map +0 -1
  55. package/dist/types.d.ts.map +0 -1
  56. package/dist/types.js.map +0 -1
  57. package/dist/validation.d.ts.map +0 -1
  58. package/dist/validation.js.map +0 -1
  59. /package/dist/{oauth-metadata.d.ts → utils/oauth-metadata.d.ts} +0 -0
  60. /package/dist/{oauth-metadata.js → utils/oauth-metadata.js} +0 -0
@@ -0,0 +1,300 @@
1
+ # Resources Reference
2
+
3
+ The Sequentum MCP Server exposes 18 resources -- read-only, URI-addressable data that AI clients can browse and pull into context without calling a tool. Resources provide a "discovery" layer for browsing your Sequentum account data alongside the server's [tools](./tool-reference.md).
4
+
5
+ > **How resources work:** Resources are accessed by URI. Static resources return data with default parameters (e.g., first page of agents, current month's spending). Resource templates accept parameters in the URI (e.g., `sequentum://agents/123`) to retrieve specific items. All resources return `application/json`.
6
+
7
+ ## Quick Reference
8
+
9
+ | Resource | URI | Description |
10
+ |----------|-----|-------------|
11
+ | **Static Resources** | | |
12
+ | [Agent List](#agent-list) | `sequentum://agents` | First page of all agents (up to 50) |
13
+ | [Spaces](#spaces) | `sequentum://spaces` | All accessible spaces |
14
+ | [Credits Balance](#credits-balance) | `sequentum://billing/balance` | Current credits balance |
15
+ | [Monthly Spending](#monthly-spending) | `sequentum://billing/spending` | Spending summary for current month |
16
+ | [Agent Costs](#agent-costs-current-month) | `sequentum://billing/agents-usage` | Top agents by cost for current month |
17
+ | [Recent Runs Summary](#recent-runs-summary) | `sequentum://analytics/runs` | All agent runs in the last 24 hours |
18
+ | [Upcoming Schedules](#upcoming-schedules) | `sequentum://analytics/upcoming-schedules` | Scheduled runs for next 7 days |
19
+ | **Resource Templates** | | |
20
+ | [Agent Detail](#agent-detail) | `sequentum://agents/{agentId}` | Full agent details with configuration |
21
+ | [Agent Versions](#agent-versions) | `sequentum://agents/{agentId}/versions` | Version history of an agent |
22
+ | [Agent Schedules](#agent-schedules) | `sequentum://agents/{agentId}/schedules` | Scheduled tasks for an agent |
23
+ | [Agent Cost Breakdown](#agent-cost-breakdown) | `sequentum://agents/{agentId}/cost-breakdown` | Cost by usage type for an agent |
24
+ | [Agent Runs](#agent-runs) | `sequentum://agents/{agentId}/runs` | Recent run history for an agent |
25
+ | [Run Status](#run-status) | `sequentum://agents/{agentId}/runs/{runId}` | Status of a specific run |
26
+ | [Run Files](#run-files) | `sequentum://agents/{agentId}/runs/{runId}/files` | Output files from a run |
27
+ | [Run Diagnostics](#run-diagnostics) | `sequentum://agents/{agentId}/runs/{runId}/diagnostics` | Error details for a run |
28
+ | [Latest Failure](#latest-failure) | `sequentum://agents/{agentId}/latest-failure` | Most recent failed run diagnostics |
29
+ | [Space Detail](#space-detail) | `sequentum://spaces/{spaceId}` | Details of a specific space |
30
+ | [Space Agents](#space-agents) | `sequentum://spaces/{spaceId}/agents` | Agents belonging to a space |
31
+
32
+ ---
33
+
34
+ ## Static Resources
35
+
36
+ Static resources require no parameters and return data with sensible defaults.
37
+
38
+ ### Agent List
39
+
40
+ | | |
41
+ |---|---|
42
+ | **URI** | `sequentum://agents` |
43
+ | **MIME Type** | `application/json` |
44
+
45
+ Overview of all web scraping agents (first page, up to 50 agents). Shows `id`, `name`, `status`, `configType`, `version`, and `lastActivity` for each agent.
46
+
47
+ > **See also:** [`list_agents`](./tool-reference.md#list_agents) tool for filtering, sorting, and pagination control.
48
+
49
+ ---
50
+
51
+ ### Spaces
52
+
53
+ | | |
54
+ |---|---|
55
+ | **URI** | `sequentum://spaces` |
56
+ | **MIME Type** | `application/json` |
57
+
58
+ List of all accessible spaces (folders for organizing agents). Shows `id`, `name`, and `description` for each space.
59
+
60
+ > **See also:** [`list_spaces`](./tool-reference.md#list_spaces) tool for the equivalent tool-based access.
61
+
62
+ ---
63
+
64
+ ### Credits Balance
65
+
66
+ | | |
67
+ |---|---|
68
+ | **URI** | `sequentum://billing/balance` |
69
+ | **MIME Type** | `application/json` |
70
+
71
+ Current available credits balance for the organization. Shows `availableCredits`, `organizationId`, and `retrievedAt` timestamp.
72
+
73
+ > **See also:** [`get_credits_balance`](./tool-reference.md#get_credits_balance) tool for the equivalent tool-based access.
74
+
75
+ ---
76
+
77
+ ### Monthly Spending
78
+
79
+ | | |
80
+ |---|---|
81
+ | **URI** | `sequentum://billing/spending` |
82
+ | **MIME Type** | `application/json` |
83
+
84
+ Spending summary for the current month. Shows `totalSpent`, `startDate`, `endDate`, `organizationId`, and `currentBalance`.
85
+
86
+ > **See also:** [`get_spending_summary`](./tool-reference.md#get_spending_summary) tool for custom date ranges.
87
+
88
+ ---
89
+
90
+ ### Agent Costs (Current Month)
91
+
92
+ | | |
93
+ |---|---|
94
+ | **URI** | `sequentum://billing/agents-usage` |
95
+ | **MIME Type** | `application/json` |
96
+
97
+ Agent cost totals for the current month (top agents by cost, first page). Shows agents with `agentId`, `agentName`, `cost`, plus totals for the period.
98
+
99
+ > **See also:** [`get_agents_usage`](./tool-reference.md#get_agents_usage) tool for filtering, sorting, and pagination control.
100
+
101
+ ---
102
+
103
+ ### Recent Runs Summary
104
+
105
+ | | |
106
+ |---|---|
107
+ | **URI** | `sequentum://analytics/runs` |
108
+ | **MIME Type** | `application/json` |
109
+
110
+ Summary of all agent runs in the last 24 hours. Shows `totalRuns`, `completedRuns`, `failedRuns`, `runningRuns`, `queuedRuns`, and `stoppedRuns`.
111
+
112
+ > **See also:** [`get_runs_summary`](./tool-reference.md#get_runs_summary) tool for custom date ranges and status filtering.
113
+
114
+ ---
115
+
116
+ ### Upcoming Schedules
117
+
118
+ | | |
119
+ |---|---|
120
+ | **URI** | `sequentum://analytics/upcoming-schedules` |
121
+ | **MIME Type** | `application/json` |
122
+
123
+ All scheduled runs for the next 7 days across all agents. Shows `scheduleId`, `agentId`, `agentName`, `scheduleName`, `nextRunTime`, and `isEnabled`.
124
+
125
+ > **See also:** [`get_scheduled_runs`](./tool-reference.md#get_scheduled_runs) tool for custom date ranges.
126
+
127
+ ---
128
+
129
+ ## Resource Templates
130
+
131
+ Resource templates accept parameters in the URI to retrieve specific items. Replace `{agentId}`, `{runId}`, or `{spaceId}` with actual numeric IDs.
132
+
133
+ ### Agent Detail
134
+
135
+ | | |
136
+ |---|---|
137
+ | **URI Template** | `sequentum://agents/{agentId}` |
138
+ | **MIME Type** | `application/json` |
139
+
140
+ Detailed information about a specific agent including configuration, input parameters, and documentation.
141
+
142
+ **Example:** `sequentum://agents/123`
143
+
144
+ > **See also:** [`get_agent`](./tool-reference.md#get_agent) tool for the equivalent tool-based access.
145
+
146
+ ---
147
+
148
+ ### Agent Versions
149
+
150
+ | | |
151
+ |---|---|
152
+ | **URI Template** | `sequentum://agents/{agentId}/versions` |
153
+ | **MIME Type** | `application/json` |
154
+
155
+ Version history of an agent's configuration. Shows version number, who made the change, date, comments, and file size.
156
+
157
+ **Example:** `sequentum://agents/123/versions`
158
+
159
+ > **See also:** [`get_agent_versions`](./tool-reference.md#get_agent_versions) tool for the equivalent tool-based access.
160
+
161
+ ---
162
+
163
+ ### Agent Schedules
164
+
165
+ | | |
166
+ |---|---|
167
+ | **URI Template** | `sequentum://agents/{agentId}/schedules` |
168
+ | **MIME Type** | `application/json` |
169
+
170
+ Scheduled tasks configured for a specific agent. Shows schedule id, name, cron expression, next run time, and enabled status.
171
+
172
+ **Example:** `sequentum://agents/123/schedules`
173
+
174
+ > **See also:** [`list_agent_schedules`](./tool-reference.md#list_agent_schedules) tool for the equivalent tool-based access.
175
+
176
+ ---
177
+
178
+ ### Agent Cost Breakdown
179
+
180
+ | | |
181
+ |---|---|
182
+ | **URI Template** | `sequentum://agents/{agentId}/cost-breakdown` |
183
+ | **MIME Type** | `application/json` |
184
+
185
+ Cost breakdown by usage type for a specific agent (default: current month, daily granularity). Useful for understanding what is driving costs (server time vs export vs proxy, etc.).
186
+
187
+ **Example:** `sequentum://agents/123/cost-breakdown`
188
+
189
+ > **See also:** [`get_agent_cost_breakdown`](./tool-reference.md#get_agent_cost_breakdown) tool for custom date ranges and time units.
190
+
191
+ ---
192
+
193
+ ### Agent Runs
194
+
195
+ | | |
196
+ |---|---|
197
+ | **URI Template** | `sequentum://agents/{agentId}/runs` |
198
+ | **MIME Type** | `application/json` |
199
+
200
+ Recent run history for a specific agent (up to 50 most recent). Shows run id, status, startTime, endTime, records extracted/exported, and errors.
201
+
202
+ **Example:** `sequentum://agents/123/runs`
203
+
204
+ > **See also:** [`get_agent_runs`](./tool-reference.md#get_agent_runs) tool for controlling the number of results.
205
+
206
+ ---
207
+
208
+ ### Run Status
209
+
210
+ | | |
211
+ |---|---|
212
+ | **URI Template** | `sequentum://agents/{agentId}/runs/{runId}` |
213
+ | **MIME Type** | `application/json` |
214
+
215
+ Current status and details of a specific agent run. Shows id, status, startTime, endTime, records, errors, and runtime.
216
+
217
+ **Example:** `sequentum://agents/123/runs/456`
218
+
219
+ > **See also:** [`get_run_status`](./tool-reference.md#get_run_status) tool for the equivalent tool-based access.
220
+
221
+ ---
222
+
223
+ ### Run Files
224
+
225
+ | | |
226
+ |---|---|
227
+ | **URI Template** | `sequentum://agents/{agentId}/runs/{runId}/files` |
228
+ | **MIME Type** | `application/json` |
229
+
230
+ Output files produced by a completed agent run. Shows file id, name, fileType, fileSize, and created date.
231
+
232
+ **Example:** `sequentum://agents/123/runs/456/files`
233
+
234
+ > **See also:** [`get_run_files`](./tool-reference.md#get_run_files) tool for the equivalent tool-based access, [`get_file_download_url`](./tool-reference.md#get_file_download_url) to download a file.
235
+
236
+ ---
237
+
238
+ ### Run Diagnostics
239
+
240
+ | | |
241
+ |---|---|
242
+ | **URI Template** | `sequentum://agents/{agentId}/runs/{runId}/diagnostics` |
243
+ | **MIME Type** | `application/json` |
244
+
245
+ Detailed diagnostics for a specific run including error messages, statistics, possible failure causes, and suggested remediation actions.
246
+
247
+ **Example:** `sequentum://agents/123/runs/456/diagnostics`
248
+
249
+ > **See also:** [`get_run_diagnostics`](./tool-reference.md#get_run_diagnostics) tool for the equivalent tool-based access.
250
+
251
+ ---
252
+
253
+ ### Latest Failure
254
+
255
+ | | |
256
+ |---|---|
257
+ | **URI Template** | `sequentum://agents/{agentId}/latest-failure` |
258
+ | **MIME Type** | `application/json` |
259
+
260
+ Diagnostics for the most recent failed run of an agent. Shows error message, possible causes, suggested actions, and run statistics.
261
+
262
+ **Example:** `sequentum://agents/123/latest-failure`
263
+
264
+ > **See also:** [`get_latest_failure`](./tool-reference.md#get_latest_failure) tool for the equivalent tool-based access.
265
+
266
+ ---
267
+
268
+ ### Space Detail
269
+
270
+ | | |
271
+ |---|---|
272
+ | **URI Template** | `sequentum://spaces/{spaceId}` |
273
+ | **MIME Type** | `application/json` |
274
+
275
+ Details of a specific space including name, description, organizationId, and created/updated dates.
276
+
277
+ **Example:** `sequentum://spaces/42`
278
+
279
+ > **See also:** [`get_space`](./tool-reference.md#get_space) tool for the equivalent tool-based access.
280
+
281
+ ---
282
+
283
+ ### Space Agents
284
+
285
+ | | |
286
+ |---|---|
287
+ | **URI Template** | `sequentum://spaces/{spaceId}/agents` |
288
+ | **MIME Type** | `application/json` |
289
+
290
+ List of agents belonging to a specific space. Shows id, name, status, configType, and lastActivity for each agent.
291
+
292
+ **Example:** `sequentum://spaces/42/agents`
293
+
294
+ > **See also:** [`get_space_agents`](./tool-reference.md#get_space_agents) tool for the equivalent tool-based access.
295
+
296
+ ---
297
+
298
+ ## See Also: Agent Builder
299
+
300
+ The Agent Builder does not expose any resources — agent build sessions are transient and accessed via tools only. Once a build session reaches a terminal status (`completed` or `ready` in [`get_agent_build_status`](./tool-reference.md#get_agent_build_status)), the resulting agent becomes accessible through the existing `sequentum://agents/{agentId}` resource template and all other agent resources described in this document.
@@ -1,6 +1,6 @@
1
1
  # Tool Reference
2
2
 
3
- The Sequentum MCP Server provides tools across 8 categories for managing web scraping agents, runs, schedules, and more. These tools become available once you connect to the server -- either via the [remote OAuth setup](../README.md#getting-started) at `https://mcp.sequentum.com/mcp` or the [local API key setup](../README.md#alternative-local-setup-api-key).
3
+ The Sequentum MCP Server provides 39 tools across 9 categories for managing web scraping agents, runs, schedules, and more. These tools become available once you connect to the server -- either via the [remote OAuth setup](../README.md#getting-started) at `https://mcp.sequentum.com/mcp` or the [local API key setup](../README.md#alternative-local-setup-api-key).
4
4
 
5
5
  > **Pagination:** Tools that return lists (`list_agents`, `get_agent_runs`, `get_credit_history`, `get_agents_usage`, `get_agent_runs_cost`) support pagination via `pageIndex` (1-based) and `recordsPerPage`. When the result is paginated, the response includes the total count so you know if more pages are available.
6
6
 
@@ -27,7 +27,11 @@ The Sequentum MCP Server provides tools across 8 categories for managing web scr
27
27
  | [`restore_agent_version`](#restore_agent_version) | Restore an agent to a previous version |
28
28
  | **Schedule Management** | |
29
29
  | [`list_agent_schedules`](#list_agent_schedules) | List scheduled tasks for an agent |
30
+ | [`get_agent_schedule`](#get_agent_schedule) | Get details of a specific schedule |
30
31
  | [`create_agent_schedule`](#create_agent_schedule) | Create a schedule (cron, interval, or one-time) |
32
+ | [`update_agent_schedule`](#update_agent_schedule) | Update an existing schedule's settings |
33
+ | [`enable_agent_schedule`](#enable_agent_schedule) | Enable a previously disabled schedule |
34
+ | [`disable_agent_schedule`](#disable_agent_schedule) | Disable a schedule without deleting it |
31
35
  | [`delete_agent_schedule`](#delete_agent_schedule) | Remove a schedule from an agent |
32
36
  | [`get_scheduled_runs`](#get_scheduled_runs) | Get upcoming scheduled runs across all agents |
33
37
  | **Billing & Credits** | |
@@ -48,6 +52,10 @@ The Sequentum MCP Server provides tools across 8 categories for managing web scr
48
52
  | [`get_records_summary`](#get_records_summary) | Get records extracted/exported in a date range |
49
53
  | [`get_run_diagnostics`](#get_run_diagnostics) | Get error details and suggested fixes for a run |
50
54
  | [`get_latest_failure`](#get_latest_failure) | Get diagnostics for the most recent failure |
55
+ | **Agent Builder** | |
56
+ | [`start_agent_build`](#start_agent_build) | Start an AI-powered agent build session from a prompt |
57
+ | [`get_agent_build_status`](#get_agent_build_status) | Poll the status of an agent build session |
58
+ | [`stop_agent_build`](#stop_agent_build) | Stop an agent build session (draft is NOT removed) |
51
59
 
52
60
  ---
53
61
 
@@ -472,7 +480,34 @@ Show schedules for the Amazon scraper
472
480
  Is this agent scheduled?
473
481
  ```
474
482
 
475
- > **See also:** [`create_agent_schedule`](#create_agent_schedule) to add a new schedule, [`delete_agent_schedule`](#delete_agent_schedule) to remove one.
483
+ > **See also:** [`get_agent_schedule`](#get_agent_schedule) for details on a specific schedule, [`create_agent_schedule`](#create_agent_schedule) to add a new schedule, [`delete_agent_schedule`](#delete_agent_schedule) to remove one.
484
+
485
+ ---
486
+
487
+ ### get_agent_schedule
488
+
489
+ Get details of a specific schedule for an agent, including its full configuration and run parameters.
490
+
491
+ #### Parameters
492
+
493
+ | Name | Type | Required | Description |
494
+ |------|------|----------|-------------|
495
+ | `agentId` | number | Yes | The unique ID of the agent. |
496
+ | `scheduleId` | number | Yes | The schedule ID. Get this from `list_agent_schedules`. |
497
+
498
+ #### Returns
499
+
500
+ Full schedule details with `id`, `name`, `cronExpression`/`schedule`, `nextRunTime`, `isEnabled`, `timezone`, and run parameters.
501
+
502
+ #### Example Prompts
503
+
504
+ ```
505
+ Show me schedule 456 for agent 123
506
+ What are the settings for this schedule?
507
+ Get schedule details
508
+ ```
509
+
510
+ > **See also:** [`update_agent_schedule`](#update_agent_schedule) to modify the schedule, [`enable_agent_schedule`](#enable_agent_schedule) / [`disable_agent_schedule`](#disable_agent_schedule) to toggle it.
476
511
 
477
512
  ---
478
513
 
@@ -524,6 +559,107 @@ Run agent 456 every 6 hours
524
559
 
525
560
  ---
526
561
 
562
+ ### update_agent_schedule
563
+
564
+ Update an existing schedule for an agent. Modify timing, parameters, or other settings. Supports the same three schedule types as `create_agent_schedule`.
565
+
566
+ If `scheduleType` is not explicitly provided, it is inferred from the fields you supply (e.g., providing `cronExpression` implies CRON type).
567
+
568
+ #### Parameters
569
+
570
+ | Name | Type | Required | Description |
571
+ |------|------|----------|-------------|
572
+ | `agentId` | number | Yes | The unique ID of the agent. |
573
+ | `scheduleId` | number | Yes | The schedule ID to update. Get this from `list_agent_schedules`. |
574
+ | `name` | string | Yes | Schedule name. |
575
+ | `scheduleType` | number | No | 1=RunOnce, 2=RunEvery, 3=CRON. Inferred from fields if not set. |
576
+ | `startTime` | string | Conditional | ISO 8601 UTC datetime. Required for RunOnce, optional for RunEvery. |
577
+ | `cronExpression` | string | Conditional | For CRON: `'min hr day mo wkday'`. Example: `'0 10 * * *'` = daily 10am. |
578
+ | `runEveryCount` | number | Conditional | For RunEvery: interval count. |
579
+ | `runEveryPeriod` | number | Conditional | For RunEvery: 1=min, 2=hr, 3=day, 4=wk, 5=mo. |
580
+ | `timezone` | string | No | Timezone (e.g., `'America/New_York'`). |
581
+ | `inputParameters` | string | No | JSON input parameters for runs. |
582
+ | `isEnabled` | boolean | No | Whether the schedule is active. |
583
+ | `parallelism` | number | No | Parallel instances. |
584
+ | `parallelMaxConcurrency` | number | No | Maximum concurrent parallel instances. |
585
+ | `parallelExport` | string | No | `Combined` or `Separated`. |
586
+ | `logLevel` | string | No | `Fatal`, `Error`, `Warning`, or `Info`. |
587
+ | `logMode` | string | No | `Text` or `TextAndHtml`. |
588
+ | `isExclusive` | boolean | No | Prevent concurrent runs. |
589
+ | `isWaitOnFailure` | boolean | No | Wait before retrying after failure. |
590
+
591
+ #### Returns
592
+
593
+ Updated schedule details with `id`, `name`, `nextRunTime`, `cronExpression`/`schedule`, `timezone`, `isEnabled`.
594
+
595
+ #### Example Prompts
596
+
597
+ ```
598
+ Change the schedule to run at 10am instead
599
+ Update the cron expression for schedule 456
600
+ Modify the timezone on that schedule
601
+ ```
602
+
603
+ > **See also:** [`get_agent_schedule`](#get_agent_schedule) to view current settings before updating.
604
+
605
+ ---
606
+
607
+ ### enable_agent_schedule
608
+
609
+ Enable a previously disabled schedule so it resumes running according to its configuration.
610
+
611
+ #### Parameters
612
+
613
+ | Name | Type | Required | Description |
614
+ |------|------|----------|-------------|
615
+ | `agentId` | number | Yes | The unique ID of the agent. |
616
+ | `scheduleId` | number | Yes | The schedule ID to enable. Get this from `list_agent_schedules`. |
617
+
618
+ #### Returns
619
+
620
+ Confirmation that the schedule was enabled.
621
+
622
+ #### Example Prompts
623
+
624
+ ```
625
+ Turn on schedule 456 for agent 123
626
+ Re-enable the Monday schedule
627
+ Activate that schedule
628
+ ```
629
+
630
+ > **See also:** [`disable_agent_schedule`](#disable_agent_schedule) to deactivate a schedule, [`list_agent_schedules`](#list_agent_schedules) to check current `isEnabled` status.
631
+
632
+ ---
633
+
634
+ ### disable_agent_schedule
635
+
636
+ Disable a schedule so it will not run until re-enabled. The schedule configuration is preserved but inactive.
637
+
638
+ Unlike `delete_agent_schedule`, this keeps the schedule intact for later reactivation.
639
+
640
+ #### Parameters
641
+
642
+ | Name | Type | Required | Description |
643
+ |------|------|----------|-------------|
644
+ | `agentId` | number | Yes | The unique ID of the agent. |
645
+ | `scheduleId` | number | Yes | The schedule ID to disable. Get this from `list_agent_schedules`. |
646
+
647
+ #### Returns
648
+
649
+ Confirmation that the schedule was disabled.
650
+
651
+ #### Example Prompts
652
+
653
+ ```
654
+ Pause the daily schedule for agent 123
655
+ Turn off schedule 456 temporarily
656
+ Disable that schedule
657
+ ```
658
+
659
+ > **See also:** [`enable_agent_schedule`](#enable_agent_schedule) to reactivate, [`delete_agent_schedule`](#delete_agent_schedule) to permanently remove.
660
+
661
+ ---
662
+
527
663
  ### delete_agent_schedule
528
664
 
529
665
  Remove a schedule from an agent. The agent will no longer run automatically on this schedule.
@@ -1027,3 +1163,109 @@ Show the last error for the Amazon scraper
1027
1163
  | 10 | Success | Completed without errors |
1028
1164
  | 11 | Skipped | Skipped execution |
1029
1165
  | 12 | Waiting | Waiting for resources |
1166
+
1167
+ ---
1168
+
1169
+ ## Agent Builder
1170
+
1171
+ Tools for building new web scraping agents from natural language prompts using the AI agent builder. The workflow is asynchronous: start a session, poll for status until a terminal value is returned, then optionally retrieve the agent details. The session tears down automatically once building is complete.
1172
+
1173
+ > **Tip:** Use the [`build-agent-from-prompt`](prompts-reference.md#build-agent-from-prompt) prompt to orchestrate the full workflow automatically.
1174
+
1175
+ ### start_agent_build
1176
+
1177
+ Start a new AI-powered agent building session from a natural language description. Returns immediately with a `sessionId` — building happens asynchronously. The agent is saved to your workspace as soon as the AI creates it.
1178
+
1179
+ **Next step:** Poll `get_agent_build_status` until status reaches `completed`, `ready`, or `error`. Optionally call `stop_agent_build` to abort early while still in `processing`.
1180
+
1181
+ **Pre-call check:** Before invoking, the request should unambiguously specify (1) the target URL or domain, (2) the data to extract, and (3) any scope qualifiers (section, filters, language). If any of these are missing, the model is expected to ask one consolidated clarifying question instead of inventing values.
1182
+
1183
+ **Prompt-handling policy:** The model should pass the user's wording through to the `prompt` argument verbatim. Only trivial normalizations (adding `https://`, fixing an obvious URL typo) are allowed. Extra fields, output formats, lazy-load instructions, pagination strategies, etc. must not be invented — the upstream Sequentum Agent Builder pipeline infers these on its own from the page.
1184
+
1185
+ #### Parameters
1186
+
1187
+ | Parameter | Type | Required | Description |
1188
+ |-----------|------|----------|-------------|
1189
+ | `prompt` | string | Yes | What you want to scrape or automate, in your own words, passed through verbatim. The agent builder infers technical details (pagination, lazy-load, output format, etc.) server-side. Must be 10–5000 characters. |
1190
+ | `spaceId` | number | No | Space ID to associate the agent with. Uses the default space if omitted. |
1191
+
1192
+ #### Returns
1193
+
1194
+ ```json
1195
+ {
1196
+ "sessionId": "sess-abc-123"
1197
+ }
1198
+ ```
1199
+
1200
+ #### Example
1201
+
1202
+ ```json
1203
+ {
1204
+ "name": "start_agent_build",
1205
+ "arguments": {
1206
+ "prompt": "get product names and prices from https://example.com/shop/shoes",
1207
+ "spaceId": 3
1208
+ }
1209
+ }
1210
+ ```
1211
+
1212
+ ---
1213
+
1214
+ ### get_agent_build_status
1215
+
1216
+ Poll the current status of an agent building session. Call this repeatedly until status reaches a terminal value, then stop polling — no further calls are required.
1217
+
1218
+ **Status values:**
1219
+ - `processing` — AI is still building. Keep polling.
1220
+ - `ready` — AI finished its turn. `agentId` and `agentName` are now in the response, but the agent may not be fully saved yet. Stop polling.
1221
+ - `completed` — Agent was saved successfully. `agentId` and `agentName` are populated. Stop polling.
1222
+ - `error` — Build failed. Check the `error` field.
1223
+ - `cancelled` — `stop_agent_build` was called while processing.
1224
+
1225
+ > **Note:** Stop polling on any of: `completed`, `ready`, `error`, `cancelled`. The session tears down automatically after reaching a terminal status.
1226
+
1227
+ > **Polling cadence:** Build duration is highly variable (seconds to several minutes). If the user has expressed a polling preference (e.g., *"poll quickly"*, *"be patient"*, *"every N seconds"*), honor it. Otherwise default to a moderate cadence with backoff (e.g., start ~5s, back off to ~15–30s) and avoid waiting longer than ~30s between polls so the user gets timely feedback when the build completes. The [`build-agent-from-prompt`](prompts-reference.md#build-agent-from-prompt) and [`inspect-agent-draft`](prompts-reference.md#inspect-agent-draft) prompts accept a `pollingPreference` argument that gets forwarded into the model's instructions.
1228
+
1229
+ #### Parameters
1230
+
1231
+ | Parameter | Type | Required | Description |
1232
+ |-----------|------|----------|-------------|
1233
+ | `sessionId` | string | Yes | Session ID returned by `start_agent_build`. |
1234
+
1235
+ #### Returns
1236
+
1237
+ ```json
1238
+ {
1239
+ "status": "completed",
1240
+ "agentId": 42,
1241
+ "agentName": "Amazon Laptop Scraper"
1242
+ }
1243
+ ```
1244
+
1245
+ ---
1246
+
1247
+ ### stop_agent_build
1248
+
1249
+ Abort an in-progress agent building session early. **Optional** — only needed if you want to cancel before the build completes. Has no effect once the session has already reached a terminal status.
1250
+
1251
+ Any agent already saved to your workspace before the abort remains there — use the standard agents API to delete it if unwanted. Returns 204 No Content.
1252
+
1253
+ #### Parameters
1254
+
1255
+ | Parameter | Type | Required | Description |
1256
+ |-----------|------|----------|-------------|
1257
+ | `sessionId` | string | Yes | Session ID returned by `start_agent_build`. |
1258
+
1259
+ #### Returns
1260
+
1261
+ No content (HTTP 204).
1262
+
1263
+ ### Agent Builder Session Status Values
1264
+
1265
+ | Value | Description |
1266
+ |-------|-------------|
1267
+ | `processing` | AI is building the agent. Keep polling. |
1268
+ | `ready` | AI finished its turn; `agentId`/`agentName` are available. Session may still be wrapping up. |
1269
+ | `completed` | Agent was saved successfully. `agentId` and `agentName` are populated. |
1270
+ | `error` | Build failed. The `error` field contains the reason. |
1271
+ | `cancelled` | `stop_agent_build` was called while processing. |
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sequentum-mcp",
3
- "version": "1.1.4",
3
+ "version": "1.2.2",
4
4
  "description": "MCP Server for Sequentum Web Scraping API - Enables AI assistants to interact with Sequentum agents",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -41,12 +41,13 @@
41
41
  "homepage": "https://github.com/Sequentum/sequentum-mcp#readme",
42
42
  "dependencies": {
43
43
  "@modelcontextprotocol/sdk": "^1.12.0",
44
- "express": "^4.21.2"
44
+ "express": "^4.21.2",
45
+ "express-rate-limit": "^8.2.1"
45
46
  },
46
47
  "devDependencies": {
48
+ "@types/express": "^5.0.0",
47
49
  "@types/node": "^20.10.0",
48
50
  "@vitest/coverage-v8": "^3.0.0",
49
- "@types/express": "^5.0.0",
50
51
  "rimraf": "^5.0.5",
51
52
  "tsx": "^4.7.0",
52
53
  "typescript": "^5.3.3",
@@ -1 +0,0 @@
1
- {"version":3,"file":"api-client.d.ts","sourceRoot":"","sources":["../src/api-client.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EACL,aAAa,EACb,gBAAgB,E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,CAAC,gBAAgB,CAAC,OAAe;QACpC,OAAO,IAAI,CAAC,OAAO,CACjB,4BAA4B,OAAO,iBAAiB,CACrD,CAAC;IACJ,CAAC;CACF"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"oauth-metadata.d.ts","sourceRoot":"","sources":["../src/oauth-metadata.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;GAWG;AAEH,sFAAsF;AACtF,eAAO,MAAM,gBAAgB,wFAMnB,CAAC;AAEX,wBAAgB,kBAAkB,CAAC,UAAU,EAAE,MAAM,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAe9E"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"oauth-metadata.js","sourceRoot":"","sources":["../src/oauth-metadata.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;GAWG;AAEH,sFAAsF;AACtF,MAAM,CAAC,MAAM,gBAAgB,GAAG;IAC9B,aAAa;IACb,WAAW;IACX,aAAa;IACb,cAAc;IACd,gBAAgB;CACR,CAAC;AAEX,MAAM,UAAU,kBAAkB,CAAC,UAAkB;IACnD,OAAO;QACL,MAAM,EAAE,UAAU;QAClB,sBAAsB,EAAE,GAAG,UAAU,sBAAsB;QAC3D,cAAc,EAAE,GAAG,UAAU,kBAAkB;QAC/C,qBAAqB,EAAE,GAAG,UAAU,qBAAqB,EAAE,0BAA0B;QACrF,qCAAqC,EAAE,CAAC,MAAM,CAAC,EAAE,uBAAuB;QACxE,qBAAqB,EAAE,CAAC,oBAAoB,EAAE,eAAe,CAAC;QAC9D,wBAAwB,EAAE,CAAC,MAAM,CAAC;QAClC,gBAAgB,EAAE,CAAC,GAAG,gBAAgB,CAAC;QACvC,gCAAgC,EAAE,CAAC,MAAM,CAAC,EAAE,eAAe;QAC3D,qBAAqB,EAAE,gCAAgC;QACvD,6BAA6B,EAAE,IAAI;QACnC,qCAAqC,EAAE,IAAI,EAAE,sDAAsD;KACpG,CAAC;AACJ,CAAC"}