@typeroll/mcp-server 0.44.17 → 0.44.19
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 +30 -0
- package/dist/version.js +1 -1
- package/package.json +1 -1
package/dist/tools/domain.js
CHANGED
|
@@ -16,6 +16,36 @@
|
|
|
16
16
|
import { z } from 'zod';
|
|
17
17
|
import { ok, withErrorBoundary } from './helpers.js';
|
|
18
18
|
export const domainTools = [
|
|
19
|
+
{
|
|
20
|
+
name: 'list_hosting_groups',
|
|
21
|
+
description: 'List organization Hosting Groups, site address bases and safe hosting connection status. Requires an organization API key. Media and GitHub remain shared.',
|
|
22
|
+
inputSchema: {},
|
|
23
|
+
handler: withErrorBoundary(async (_args, { client }) => ok(await client.rootGet('publishing/hosting-groups'))),
|
|
24
|
+
},
|
|
25
|
+
{
|
|
26
|
+
name: 'save_hosting_group',
|
|
27
|
+
description: 'Create a Hosting Group, or update its name, site address base and DNS mode using its current id and revision. Requires an organization API key. Does not move existing sites, media, or traffic. Connect the hosting account in Publishing.',
|
|
28
|
+
inputSchema: { id: z.string().optional(), revision: z.string().optional(), name: z.string(), sites_domain: z.string().nullable(), dns_mode: z.enum(['automatic', 'external']) },
|
|
29
|
+
handler: withErrorBoundary(async (args, { client }) => ok(await client.rootPost('publishing/hosting-groups', args))),
|
|
30
|
+
},
|
|
31
|
+
{
|
|
32
|
+
name: 'connect_hosting_group',
|
|
33
|
+
description: 'Connect or disconnect an additional Hosting Group using a customer Cloudflare API token. Requires an organization API key and the current connection revision from list_hosting_groups. Default uses organization Publishing. No R2 access is required for the hosting token. Credentials are encrypted and never returned.',
|
|
34
|
+
inputSchema: { action: z.enum(['connect', 'disconnect']), hosting_group_id: z.string(), revision: z.string(), account_id: z.string().optional(), api_token: z.string().optional() },
|
|
35
|
+
handler: withErrorBoundary(async (args, { client }) => ok(await client.rootPost('publishing/hosting-groups', args))),
|
|
36
|
+
},
|
|
37
|
+
{
|
|
38
|
+
name: 'read_site_hosting_group',
|
|
39
|
+
description: 'Read the selected site Hosting Group and eligible organization groups. Omitted legacy assignments resolve to Default.',
|
|
40
|
+
inputSchema: {},
|
|
41
|
+
handler: withErrorBoundary(async (_args, { client, siteId }) => ok(await client.get(siteId, 'publishing/hosting-group'))),
|
|
42
|
+
},
|
|
43
|
+
{
|
|
44
|
+
name: 'set_site_hosting_group',
|
|
45
|
+
description: 'Select the Hosting Group for an unpublished site. Requires site admin permission and previous_group_id from read_site_hosting_group. Published sites or active builds require a hosting migration and are rejected.',
|
|
46
|
+
inputSchema: { hosting_group_id: z.string(), previous_group_id: z.string() },
|
|
47
|
+
handler: withErrorBoundary(async (args, { client, siteId }) => ok(await client.put(siteId, 'publishing/hosting-group', args))),
|
|
48
|
+
},
|
|
19
49
|
{
|
|
20
50
|
name: 'list_organization_publishing_domains',
|
|
21
51
|
description: 'List Cloudflare domains visible in the organization’s connected account, including activation, DNS hosting status and domain_access. Refresh this read to discover new domains; approval_required identifies missing OAuth consent without disconnecting the account. Requires an organization API key. Read only.',
|
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.19",
|
|
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": {
|