@typeroll/mcp-server 0.44.45 → 0.44.46
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/dist/tools/domain.js +12 -0
- package/dist/version.js +1 -1
- package/package.json +1 -1
package/dist/tools/domain.js
CHANGED
|
@@ -16,6 +16,18 @@
|
|
|
16
16
|
import { z } from 'zod';
|
|
17
17
|
import { ok, withErrorBoundary } from './helpers.js';
|
|
18
18
|
export const domainTools = [
|
|
19
|
+
{
|
|
20
|
+
name: 'check_managed_site_migration',
|
|
21
|
+
description: 'Verify migration of an existing static managed Pages site to connected Git publishing. Checks the original hosting account, project, domain and shared build engine. Returns a revision and previous live deployment; does not migrate or deploy.',
|
|
22
|
+
inputSchema: {},
|
|
23
|
+
handler: withErrorBoundary(async (_args, { client, siteId }) => ok(await client.get(siteId, 'publishing/managed-migration'))),
|
|
24
|
+
},
|
|
25
|
+
{
|
|
26
|
+
name: 'migrate_managed_site_publishing',
|
|
27
|
+
description: 'Explicitly migrate one managed Pages site to the connected GitHub organization and shared build engine using the revision from check_managed_site_migration. Requires site admin permission. Preserves the original hosting project, live domain and old media URLs, then queues verified media copying for eligible sites. Does not deploy; publish after media migration finishes.',
|
|
28
|
+
inputSchema: { revision: z.string() },
|
|
29
|
+
handler: withErrorBoundary(async (args, { client, siteId }) => ok(await client.post(siteId, 'publishing/managed-migration', args))),
|
|
30
|
+
},
|
|
19
31
|
{
|
|
20
32
|
name: 'check_organization_github_permissions', noSite: true,
|
|
21
33
|
description: 'Check live GitHub build permissions without disconnecting or reconnecting. Requires an organization API key. Distinguishes an update the organization owner can approve from permissions Typeroll has not requested yet. Returns the existing installation approval URL only when actionable; does not enable a build engine.',
|
package/dist/version.js
CHANGED
package/package.json
CHANGED