@typeroll/mcp-server 0.44.2 → 0.44.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/dist/tools/domain.js +16 -3
- 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: 'list_organization_publishing_domains',
|
|
21
|
+
description: 'List Cloudflare domains visible in the organization’s connected account, including activation and DNS hosting status. Requires an organization API key. Read only.',
|
|
22
|
+
inputSchema: {},
|
|
23
|
+
handler: withErrorBoundary(async (_args, { client }) => ok(await client.rootGet('publishing/zones'))),
|
|
24
|
+
},
|
|
25
|
+
{
|
|
26
|
+
name: 'configure_organization_publishing_domains',
|
|
27
|
+
description: 'Configure organization media and site subdomains using an active domain in the connected Cloudflare account. Attaches the media host to R2, creates its DNS record and queues media migration. Site/version addresses are created at deployment. Requires an organization API key and the current revision. Does not replace existing DNS destinations or existing media hosts. Read organization publishing domains afterward to check HTTPS activation.',
|
|
28
|
+
inputSchema: { revision: z.string(), zone_id: z.string(), media_subdomain: z.string().describe('Short label, for example media.'), sites_subdomain: z.string().describe('Short label, for example sites.') },
|
|
29
|
+
handler: withErrorBoundary(async (args, { client }) => ok(await client.rootPost('publishing/domains', args))),
|
|
30
|
+
},
|
|
19
31
|
{
|
|
20
32
|
name: 'prepare_publishing_domain_change',
|
|
21
33
|
description: 'Prepare future website and media hosts using only the last successfully published snapshot. Saved CMS changes stay unpublished. Requires the current domain revision. Poll read_publishing_domains for certificate and DNS requirements, then explicitly approve the verified cutover.',
|
|
@@ -64,14 +76,15 @@ export const domainTools = [
|
|
|
64
76
|
},
|
|
65
77
|
{
|
|
66
78
|
name: 'read_organization_publishing_domains',
|
|
67
|
-
description: 'Read the organization
|
|
79
|
+
description: 'Read the organization site address base, shared media host, live Cloudflare media-domain status and setup instructions. This read does not modify DNS. Requires an organization API key; site keys cannot access organization publishing settings.',
|
|
68
80
|
inputSchema: {},
|
|
69
81
|
handler: withErrorBoundary(async (_args, { client }) => ok(await client.rootGet('publishing/domains'))),
|
|
70
82
|
},
|
|
71
83
|
{
|
|
72
84
|
name: 'set_organization_publishing_domains',
|
|
73
|
-
description: 'Save
|
|
74
|
-
inputSchema: { revision: z.string(),
|
|
85
|
+
description: 'Save separate organization hostnames: sites_domain for site and version addresses, media_host for shared media. Requires an organization API key and current settings revision. Automatic DNS mode queues media setup; external mode leaves DNS to you. Does not change nameservers or replace an existing media host.',
|
|
86
|
+
inputSchema: { revision: z.string(), sites_domain: z.string().nullable().optional(), media_host: z.string().nullable().optional(),
|
|
87
|
+
default_domain: z.string().nullable().optional().describe('Legacy shorthand for both hostnames; prefer sites_domain and media_host.'), dns_mode: z.enum(['automatic', 'external']) },
|
|
75
88
|
handler: withErrorBoundary(async (args, { client }) => ok(await client.rootPut('publishing/domains', args))),
|
|
76
89
|
},
|
|
77
90
|
{
|
package/dist/version.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@typeroll/mcp-server",
|
|
3
|
-
"version": "0.44.
|
|
3
|
+
"version": "0.44.4",
|
|
4
4
|
"description": "Model Context Protocol server for the Typeroll public API. Use with Claude Code or any MCP-compatible client to manage a Typeroll site.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|