@typeroll/mcp-server 0.45.103 → 0.45.105
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/AGENTS.md +10 -1
- package/README.md +5 -3
- package/dist/bundled-content.js +5 -5
- package/dist/tools/domain.js +4 -4
- package/dist/tools/settings.js +1 -0
- package/dist/tools/sites.js +14 -4
- package/dist/tools/workflows.js +20 -8
- package/dist/version.js +1 -1
- package/package.json +1 -1
- package/skills/tr-header-footer.md +8 -0
- package/skills/tr-migrate-multisite.md +2 -2
- package/skills/tr-responsive.md +10 -0
package/AGENTS.md
CHANGED
|
@@ -1038,6 +1038,7 @@ list_workflows → types, config fields, recent runs
|
|
|
1038
1038
|
start_workflow type="seo_audit" → { workflow_id } (runs in background)
|
|
1039
1039
|
get_workflow workflow_id=… → poll until status leaves pending/running
|
|
1040
1040
|
approve_workflow workflow_id=… → only when paused_for_review, with consent
|
|
1041
|
+
cancel_workflow workflow_id=… → stop a pending/running/paused run (status cancelled)
|
|
1041
1042
|
```
|
|
1042
1043
|
|
|
1043
1044
|
Types: `migration`, `site_planning`, `seo_audit`, `content_improvement`,
|
|
@@ -1055,6 +1056,14 @@ is created). An AI plan needs the Organization's own AI key with site access
|
|
|
1055
1056
|
`all` (`403 ai_not_enabled` otherwise; nothing is created): you can instead
|
|
1056
1057
|
create a blank site and plan it yourself.
|
|
1057
1058
|
|
|
1059
|
+
**Interrupted and cancelled runs.** Runs execute in the portal process, so a
|
|
1060
|
+
service restart (a deploy) stops them. A run that shows no heartbeat for 10
|
|
1061
|
+
minutes is reported `failed` with `failure_code: "workflow_interrupted"`; it
|
|
1062
|
+
will not continue. Tell the user and start a new run; work saved before it
|
|
1063
|
+
stopped stays saved. A slow run that is still alive keeps a recent
|
|
1064
|
+
`heartbeat_at`. `cancel_workflow` stops a pending, running or paused run on the
|
|
1065
|
+
user's request and records it as `cancelled`.
|
|
1066
|
+
|
|
1058
1067
|
**AI workflows without the portal's AI.** `site_planning`,
|
|
1059
1068
|
`content_generation`, `content_improvement` and `schema_markup` run the
|
|
1060
1069
|
model with the Organization's own AI key, and only on Sites an owner or admin
|
|
@@ -1308,7 +1317,7 @@ preview.
|
|
|
1308
1317
|
| **Guide + skills (playbook)** | `read_guide` (returns this whole guide — the bridge for hosted clients that can't read it off disk), `list_skills`, `read_skill` — the bundled `tr-*.md` recipes (incl. `tr-responsive` for per-breakpoint layout). Call `list_skills` first when a task looks like "build / migrate / redesign a site", then `read_skill name=…`. No API key or site context needed. |
|
|
1309
1318
|
| **Discovery** | `get_site`, `create_site`, `create_site_and_migrate`, `create_site_and_plan` (org-scoped key only — see below), `update_site` (incl. `ai_scripts_enabled`, admin), `list_versions`, `read_site_settings` |
|
|
1310
1319
|
| **Site lifecycle** | `archive_site`, `restore_site`, `purge_site_media` (archived sites only, irreversible). Owner-organization admin, as in the portal. |
|
|
1311
|
-
| **Workflows** | `list_workflows`, `start_workflow` (write; `rebuild_deploy` admin), `get_workflow`, `approve_workflow` (only `paused_for_review`, with the user's consent) |
|
|
1320
|
+
| **Workflows** | `list_workflows`, `start_workflow` (write; `rebuild_deploy` admin), `get_workflow`, `approve_workflow` (only `paused_for_review`, with the user's consent), `cancel_workflow` |
|
|
1312
1321
|
| **Access** | `list_api_keys`, `revoke_api_key` (site admin), `list_organization_api_keys`, `revoke_organization_api_key` (organization key; new keys are created only in the portal), `list_site_shares`, `share_site`, `update_site_share`, `revoke_site_share` (site admin), `create_organization_invite`, `list_organization_invites`, `revoke_organization_invite` (organization key), `read_organization_ai_settings`, `set_organization_ai_key`, `remove_organization_ai_key`, `set_organization_ai_site_access` (the portal AI chat's own key and Sites; organization key) |
|
|
1313
1322
|
| **Organization publishing** | `read_organization_publishing_connections`, `diagnose_organization_github_connection`, `diagnose_organization_cloudflare_connection`, `disconnect_organization_publishing_provider`, `connect_organization_cloudflare`, `prepare_organization_media_storage`, `save_organization_media_access`, plus builds, Hosting Groups, domains and media migration tools (organization key) |
|
|
1314
1323
|
| **Insights** | `get_site_insights` — traffic, AI-assistant referrals, and first-party conversion events over 7/30/90 days. Read-only. Traffic is powered by Cloudflare Web Analytics in the account that hosts the site; a non-ok `status` carries a `reason` with the next step. Conversion rows come from validated Analytics attribution `click_event` targets and can be present even when the traffic provider is unavailable. |
|
package/README.md
CHANGED
|
@@ -208,9 +208,11 @@ the full reference + concrete operation recipes.
|
|
|
208
208
|
AI chat. Organization key, owner/admin. MCP itself never depends on it.
|
|
209
209
|
- **Workflows** — `list_workflows`, `start_workflow` (migration, site planning,
|
|
210
210
|
SEO/link/performance audits, content generation and improvement, schema
|
|
211
|
-
markup, URL parity, rebuild & deploy), `get_workflow`, `approve_workflow
|
|
212
|
-
Starting needs write; `rebuild_deploy` publishes and needs
|
|
213
|
-
review gate only with the user's consent.
|
|
211
|
+
markup, URL parity, rebuild & deploy), `get_workflow`, `approve_workflow`,
|
|
212
|
+
`cancel_workflow`. Starting needs write; `rebuild_deploy` publishes and needs
|
|
213
|
+
admin. Approve a review gate only with the user's consent. A run stopped by a
|
|
214
|
+
service restart is reported `failed` with `failure_code`
|
|
215
|
+
`workflow_interrupted`; start a new one.
|
|
214
216
|
- **Organization publishing connections** —
|
|
215
217
|
`read_organization_publishing_connections` (status, revisions and
|
|
216
218
|
`connect_urls` for the browser-only OAuth steps),
|