@taghost/mcp 0.0.0-stage → 1.0.1

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.
@@ -0,0 +1,207 @@
1
+ import { McpServer } from '@modelcontextprotocol/sdk/server/mcp.js';
2
+
3
+ interface TagHostClientOptions {
4
+ apiUrl?: string;
5
+ token?: string;
6
+ }
7
+ declare class TagHostClient {
8
+ apiUrl: string;
9
+ private token;
10
+ constructor(options?: TagHostClientOptions);
11
+ private request;
12
+ resolveProjectId(explicitId?: string): Promise<string>;
13
+ getMe(): Promise<any>;
14
+ listProjects(): Promise<any>;
15
+ getProject(projectId: string): Promise<any>;
16
+ createProject(data: {
17
+ name: string;
18
+ slug?: string;
19
+ framework?: string;
20
+ }): Promise<any>;
21
+ getProjectEnv(projectId: string): Promise<any>;
22
+ setProjectEnv(projectId: string, key: string, value: string, target?: 'production' | 'preview' | 'all'): Promise<any>;
23
+ deleteProjectEnv(projectId: string, key: string): Promise<any>;
24
+ deployBundle(projectId: string, zipBytes: Uint8Array, options?: {
25
+ branch?: string;
26
+ preview?: boolean;
27
+ commitMessage?: string;
28
+ }): Promise<any>;
29
+ getProjectFiles(projectId: string): Promise<any>;
30
+ publishProjectFiles(projectId: string, data: {
31
+ files?: Record<string, string>;
32
+ deletedPaths?: string[];
33
+ message?: string;
34
+ }): Promise<any>;
35
+ listDeployments(projectId: string): Promise<any>;
36
+ rollbackDeployment(projectId: string, deploymentId: string): Promise<any>;
37
+ setDeploymentExpiry(projectId: string, deploymentId: string, ttlSeconds?: number, neverExpire?: boolean): Promise<any>;
38
+ checkDomainAvailability(domain: string): Promise<any>;
39
+ searchDomains(query: string): Promise<any>;
40
+ checkoutDomain(projectId: string, data: {
41
+ domain: string;
42
+ years?: number;
43
+ registrantContact?: any;
44
+ }): Promise<any>;
45
+ attachDomain(projectId: string, domain: string): Promise<any>;
46
+ verifyDomain(projectId: string, domain: string): Promise<any>;
47
+ listDnsRecords(projectId: string, domain: string): Promise<any>;
48
+ createDnsRecord(projectId: string, domain: string, record: {
49
+ type: string;
50
+ name: string;
51
+ content: string;
52
+ ttl?: number;
53
+ priority?: number;
54
+ }): Promise<any>;
55
+ updateDnsRecord(projectId: string, domain: string, recordId: string, record: {
56
+ type?: string;
57
+ name?: string;
58
+ content?: string;
59
+ ttl?: number;
60
+ priority?: number;
61
+ }): Promise<any>;
62
+ deleteDnsRecord(projectId: string, domain: string, recordId: string): Promise<any>;
63
+ listMailThreads(projectId: string, options?: {
64
+ mailboxId?: string;
65
+ query?: string;
66
+ limit?: number;
67
+ }): Promise<any>;
68
+ getMailThread(projectId: string, threadId: string): Promise<any>;
69
+ sendMail(projectId: string, data: {
70
+ mailboxId?: string;
71
+ to: string;
72
+ subject: string;
73
+ text?: string;
74
+ html?: string;
75
+ cc?: string[];
76
+ bcc?: string[];
77
+ }): Promise<any>;
78
+ listMailboxes(projectId: string): Promise<any>;
79
+ createMailbox(projectId: string, data: {
80
+ localPart: string;
81
+ domain?: string;
82
+ displayName?: string;
83
+ password?: string;
84
+ }): Promise<any>;
85
+ getMailDomainVerification(projectId: string, domain: string): Promise<any>;
86
+ getCommerceTheme(projectId: string): Promise<any>;
87
+ updateCommerceTheme(projectId: string, theme: Record<string, any>): Promise<any>;
88
+ getCommerceGateways(projectId: string): Promise<any>;
89
+ updateCommerceGateway(projectId: string, provider: 'paystack' | 'stripe', config: Record<string, any>): Promise<any>;
90
+ migrateWooCommerce(projectId: string, payload: Record<string, any>): Promise<any>;
91
+ listOrders(projectId: string, options?: {
92
+ status?: string;
93
+ limit?: number;
94
+ }): Promise<any>;
95
+ getOrder(projectId: string, orderId: string): Promise<any>;
96
+ updateOrder(projectId: string, orderId: string, data: {
97
+ status?: string;
98
+ trackingNumber?: string;
99
+ trackingCarrier?: string;
100
+ trackingUrl?: string;
101
+ }): Promise<any>;
102
+ listCoupons(projectId: string): Promise<any>;
103
+ createCoupon(projectId: string, coupon: {
104
+ code: string;
105
+ discountType: 'percentage' | 'fixed';
106
+ discountAmount: number;
107
+ maxUses?: number;
108
+ expiresAt?: number;
109
+ }): Promise<any>;
110
+ deleteCoupon(projectId: string, couponId: string): Promise<any>;
111
+ listCollections(projectId: string): Promise<any>;
112
+ createCollection(projectId: string, data: {
113
+ name: string;
114
+ displayName?: string;
115
+ schemaFields?: any[];
116
+ }): Promise<any>;
117
+ listCollectionItems(projectId: string, collectionId: string): Promise<any>;
118
+ upsertCollectionItem(projectId: string, collectionId: string, data: Record<string, any>, itemId?: string): Promise<any>;
119
+ publishCollectionItem(projectId: string, collectionId: string, itemId: string, publish?: boolean): Promise<any>;
120
+ getContent(projectId: string): Promise<any>;
121
+ patchContent(projectId: string, patches: Record<string, string>): Promise<any>;
122
+ getFormSubmissions(projectId: string, options?: {
123
+ formName?: string;
124
+ limit?: number;
125
+ }): Promise<any>;
126
+ listSequences(projectId: string): Promise<any>;
127
+ createSequence(projectId: string, data: {
128
+ name: string;
129
+ triggerEvent?: string;
130
+ steps?: any[];
131
+ }): Promise<any>;
132
+ enrollSequenceLead(projectId: string, sequenceId: string, data: {
133
+ leadEmail: string;
134
+ leadName?: string;
135
+ metadata?: Record<string, any>;
136
+ }): Promise<any>;
137
+ listWebhooks(projectId: string): Promise<any>;
138
+ createWebhook(projectId: string, data: {
139
+ url: string;
140
+ events: string[];
141
+ secret?: string;
142
+ }): Promise<any>;
143
+ deleteWebhook(projectId: string, webhookId: string): Promise<any>;
144
+ listSqlTables(projectId: string): Promise<any>;
145
+ executeSqlQuery(projectId: string, query: string, params?: any[]): Promise<any>;
146
+ getWorkspaceUsage(): Promise<any>;
147
+ resolveWorkspaceId(explicitId?: string): Promise<string>;
148
+ listTasks(workspaceId: string, options?: {
149
+ completed?: boolean;
150
+ threadId?: string;
151
+ }): Promise<any>;
152
+ createTask(workspaceId: string, data: {
153
+ title: string;
154
+ description?: string;
155
+ dueAt?: number | null;
156
+ priority?: 'urgent' | 'high' | 'medium' | 'low';
157
+ color?: string | null;
158
+ threadId?: string | null;
159
+ assigneeId?: string | null;
160
+ }): Promise<any>;
161
+ updateTask(workspaceId: string, taskId: string, data: Record<string, any>): Promise<any>;
162
+ deleteTask(workspaceId: string, taskId: string): Promise<any>;
163
+ listCalendarEvents(workspaceId: string, options?: {
164
+ start?: number;
165
+ end?: number;
166
+ mailboxId?: string;
167
+ }): Promise<any>;
168
+ createCalendarEvent(workspaceId: string, data: {
169
+ title: string;
170
+ description?: string;
171
+ location?: string;
172
+ startAt: number;
173
+ endAt: number;
174
+ allDay?: boolean;
175
+ recurrence?: string;
176
+ attendees?: any;
177
+ color?: string;
178
+ mailboxId?: string;
179
+ }): Promise<any>;
180
+ updateCalendarEvent(workspaceId: string, eventId: string, data: Record<string, any>): Promise<any>;
181
+ deleteCalendarEvent(workspaceId: string, eventId: string): Promise<any>;
182
+ createMeetRoom(data: {
183
+ name?: string;
184
+ scheduledStartAt?: number;
185
+ allowGuests?: boolean;
186
+ recordRoom?: boolean;
187
+ lockRoom?: boolean;
188
+ }): Promise<any>;
189
+ listNotes(workspaceId: string): Promise<any>;
190
+ createNote(workspaceId: string, data: {
191
+ title: string;
192
+ content?: string;
193
+ color?: string;
194
+ }): Promise<any>;
195
+ }
196
+
197
+ interface ServerOptions extends TagHostClientOptions {
198
+ name?: string;
199
+ version?: string;
200
+ }
201
+ declare function createTagHostMcpServer(options?: ServerOptions): {
202
+ server: McpServer;
203
+ client: TagHostClient;
204
+ };
205
+ declare function startServer(options?: ServerOptions): Promise<McpServer>;
206
+
207
+ export { type ServerOptions as S, TagHostClient as T, type TagHostClientOptions as a, createTagHostMcpServer as c, startServer as s };
@@ -0,0 +1,207 @@
1
+ import { McpServer } from '@modelcontextprotocol/sdk/server/mcp.js';
2
+
3
+ interface TagHostClientOptions {
4
+ apiUrl?: string;
5
+ token?: string;
6
+ }
7
+ declare class TagHostClient {
8
+ apiUrl: string;
9
+ private token;
10
+ constructor(options?: TagHostClientOptions);
11
+ private request;
12
+ resolveProjectId(explicitId?: string): Promise<string>;
13
+ getMe(): Promise<any>;
14
+ listProjects(): Promise<any>;
15
+ getProject(projectId: string): Promise<any>;
16
+ createProject(data: {
17
+ name: string;
18
+ slug?: string;
19
+ framework?: string;
20
+ }): Promise<any>;
21
+ getProjectEnv(projectId: string): Promise<any>;
22
+ setProjectEnv(projectId: string, key: string, value: string, target?: 'production' | 'preview' | 'all'): Promise<any>;
23
+ deleteProjectEnv(projectId: string, key: string): Promise<any>;
24
+ deployBundle(projectId: string, zipBytes: Uint8Array, options?: {
25
+ branch?: string;
26
+ preview?: boolean;
27
+ commitMessage?: string;
28
+ }): Promise<any>;
29
+ getProjectFiles(projectId: string): Promise<any>;
30
+ publishProjectFiles(projectId: string, data: {
31
+ files?: Record<string, string>;
32
+ deletedPaths?: string[];
33
+ message?: string;
34
+ }): Promise<any>;
35
+ listDeployments(projectId: string): Promise<any>;
36
+ rollbackDeployment(projectId: string, deploymentId: string): Promise<any>;
37
+ setDeploymentExpiry(projectId: string, deploymentId: string, ttlSeconds?: number, neverExpire?: boolean): Promise<any>;
38
+ checkDomainAvailability(domain: string): Promise<any>;
39
+ searchDomains(query: string): Promise<any>;
40
+ checkoutDomain(projectId: string, data: {
41
+ domain: string;
42
+ years?: number;
43
+ registrantContact?: any;
44
+ }): Promise<any>;
45
+ attachDomain(projectId: string, domain: string): Promise<any>;
46
+ verifyDomain(projectId: string, domain: string): Promise<any>;
47
+ listDnsRecords(projectId: string, domain: string): Promise<any>;
48
+ createDnsRecord(projectId: string, domain: string, record: {
49
+ type: string;
50
+ name: string;
51
+ content: string;
52
+ ttl?: number;
53
+ priority?: number;
54
+ }): Promise<any>;
55
+ updateDnsRecord(projectId: string, domain: string, recordId: string, record: {
56
+ type?: string;
57
+ name?: string;
58
+ content?: string;
59
+ ttl?: number;
60
+ priority?: number;
61
+ }): Promise<any>;
62
+ deleteDnsRecord(projectId: string, domain: string, recordId: string): Promise<any>;
63
+ listMailThreads(projectId: string, options?: {
64
+ mailboxId?: string;
65
+ query?: string;
66
+ limit?: number;
67
+ }): Promise<any>;
68
+ getMailThread(projectId: string, threadId: string): Promise<any>;
69
+ sendMail(projectId: string, data: {
70
+ mailboxId?: string;
71
+ to: string;
72
+ subject: string;
73
+ text?: string;
74
+ html?: string;
75
+ cc?: string[];
76
+ bcc?: string[];
77
+ }): Promise<any>;
78
+ listMailboxes(projectId: string): Promise<any>;
79
+ createMailbox(projectId: string, data: {
80
+ localPart: string;
81
+ domain?: string;
82
+ displayName?: string;
83
+ password?: string;
84
+ }): Promise<any>;
85
+ getMailDomainVerification(projectId: string, domain: string): Promise<any>;
86
+ getCommerceTheme(projectId: string): Promise<any>;
87
+ updateCommerceTheme(projectId: string, theme: Record<string, any>): Promise<any>;
88
+ getCommerceGateways(projectId: string): Promise<any>;
89
+ updateCommerceGateway(projectId: string, provider: 'paystack' | 'stripe', config: Record<string, any>): Promise<any>;
90
+ migrateWooCommerce(projectId: string, payload: Record<string, any>): Promise<any>;
91
+ listOrders(projectId: string, options?: {
92
+ status?: string;
93
+ limit?: number;
94
+ }): Promise<any>;
95
+ getOrder(projectId: string, orderId: string): Promise<any>;
96
+ updateOrder(projectId: string, orderId: string, data: {
97
+ status?: string;
98
+ trackingNumber?: string;
99
+ trackingCarrier?: string;
100
+ trackingUrl?: string;
101
+ }): Promise<any>;
102
+ listCoupons(projectId: string): Promise<any>;
103
+ createCoupon(projectId: string, coupon: {
104
+ code: string;
105
+ discountType: 'percentage' | 'fixed';
106
+ discountAmount: number;
107
+ maxUses?: number;
108
+ expiresAt?: number;
109
+ }): Promise<any>;
110
+ deleteCoupon(projectId: string, couponId: string): Promise<any>;
111
+ listCollections(projectId: string): Promise<any>;
112
+ createCollection(projectId: string, data: {
113
+ name: string;
114
+ displayName?: string;
115
+ schemaFields?: any[];
116
+ }): Promise<any>;
117
+ listCollectionItems(projectId: string, collectionId: string): Promise<any>;
118
+ upsertCollectionItem(projectId: string, collectionId: string, data: Record<string, any>, itemId?: string): Promise<any>;
119
+ publishCollectionItem(projectId: string, collectionId: string, itemId: string, publish?: boolean): Promise<any>;
120
+ getContent(projectId: string): Promise<any>;
121
+ patchContent(projectId: string, patches: Record<string, string>): Promise<any>;
122
+ getFormSubmissions(projectId: string, options?: {
123
+ formName?: string;
124
+ limit?: number;
125
+ }): Promise<any>;
126
+ listSequences(projectId: string): Promise<any>;
127
+ createSequence(projectId: string, data: {
128
+ name: string;
129
+ triggerEvent?: string;
130
+ steps?: any[];
131
+ }): Promise<any>;
132
+ enrollSequenceLead(projectId: string, sequenceId: string, data: {
133
+ leadEmail: string;
134
+ leadName?: string;
135
+ metadata?: Record<string, any>;
136
+ }): Promise<any>;
137
+ listWebhooks(projectId: string): Promise<any>;
138
+ createWebhook(projectId: string, data: {
139
+ url: string;
140
+ events: string[];
141
+ secret?: string;
142
+ }): Promise<any>;
143
+ deleteWebhook(projectId: string, webhookId: string): Promise<any>;
144
+ listSqlTables(projectId: string): Promise<any>;
145
+ executeSqlQuery(projectId: string, query: string, params?: any[]): Promise<any>;
146
+ getWorkspaceUsage(): Promise<any>;
147
+ resolveWorkspaceId(explicitId?: string): Promise<string>;
148
+ listTasks(workspaceId: string, options?: {
149
+ completed?: boolean;
150
+ threadId?: string;
151
+ }): Promise<any>;
152
+ createTask(workspaceId: string, data: {
153
+ title: string;
154
+ description?: string;
155
+ dueAt?: number | null;
156
+ priority?: 'urgent' | 'high' | 'medium' | 'low';
157
+ color?: string | null;
158
+ threadId?: string | null;
159
+ assigneeId?: string | null;
160
+ }): Promise<any>;
161
+ updateTask(workspaceId: string, taskId: string, data: Record<string, any>): Promise<any>;
162
+ deleteTask(workspaceId: string, taskId: string): Promise<any>;
163
+ listCalendarEvents(workspaceId: string, options?: {
164
+ start?: number;
165
+ end?: number;
166
+ mailboxId?: string;
167
+ }): Promise<any>;
168
+ createCalendarEvent(workspaceId: string, data: {
169
+ title: string;
170
+ description?: string;
171
+ location?: string;
172
+ startAt: number;
173
+ endAt: number;
174
+ allDay?: boolean;
175
+ recurrence?: string;
176
+ attendees?: any;
177
+ color?: string;
178
+ mailboxId?: string;
179
+ }): Promise<any>;
180
+ updateCalendarEvent(workspaceId: string, eventId: string, data: Record<string, any>): Promise<any>;
181
+ deleteCalendarEvent(workspaceId: string, eventId: string): Promise<any>;
182
+ createMeetRoom(data: {
183
+ name?: string;
184
+ scheduledStartAt?: number;
185
+ allowGuests?: boolean;
186
+ recordRoom?: boolean;
187
+ lockRoom?: boolean;
188
+ }): Promise<any>;
189
+ listNotes(workspaceId: string): Promise<any>;
190
+ createNote(workspaceId: string, data: {
191
+ title: string;
192
+ content?: string;
193
+ color?: string;
194
+ }): Promise<any>;
195
+ }
196
+
197
+ interface ServerOptions extends TagHostClientOptions {
198
+ name?: string;
199
+ version?: string;
200
+ }
201
+ declare function createTagHostMcpServer(options?: ServerOptions): {
202
+ server: McpServer;
203
+ client: TagHostClient;
204
+ };
205
+ declare function startServer(options?: ServerOptions): Promise<McpServer>;
206
+
207
+ export { type ServerOptions as S, TagHostClient as T, type TagHostClientOptions as a, createTagHostMcpServer as c, startServer as s };
@@ -0,0 +1,209 @@
1
+ import { McpServer } from '@modelcontextprotocol/sdk/server/mcp.js';
2
+
3
+ interface TagHostClientOptions {
4
+ apiUrl?: string;
5
+ token?: string;
6
+ }
7
+ declare class TagHostClient {
8
+ apiUrl: string;
9
+ private explicitToken;
10
+ constructor(options?: TagHostClientOptions);
11
+ getToken(): string | null;
12
+ private request;
13
+ resolveProjectId(explicitId?: string): Promise<string>;
14
+ getMe(): Promise<any>;
15
+ listProjects(): Promise<any>;
16
+ getProject(projectId: string): Promise<any>;
17
+ createProject(data: {
18
+ name: string;
19
+ slug?: string;
20
+ framework?: string;
21
+ }): Promise<any>;
22
+ getProjectEnv(projectId: string): Promise<any>;
23
+ setProjectEnv(projectId: string, key: string, value: string, target?: 'production' | 'preview' | 'all'): Promise<any>;
24
+ deleteProjectEnv(projectId: string, key: string): Promise<any>;
25
+ deployBundle(projectId: string, zipBytes: Uint8Array, options?: {
26
+ branch?: string;
27
+ preview?: boolean;
28
+ commitMessage?: string;
29
+ }): Promise<any>;
30
+ getProjectFiles(projectId: string): Promise<any>;
31
+ publishProjectFiles(projectId: string, data: {
32
+ files?: Record<string, string>;
33
+ deletedPaths?: string[];
34
+ message?: string;
35
+ }): Promise<any>;
36
+ listDeployments(projectId: string): Promise<any>;
37
+ rollbackDeployment(projectId: string, deploymentId: string): Promise<any>;
38
+ setDeploymentExpiry(projectId: string, deploymentId: string, ttlSeconds?: number, neverExpire?: boolean): Promise<any>;
39
+ checkDomainAvailability(domain: string): Promise<any>;
40
+ searchDomains(query: string): Promise<any>;
41
+ checkoutDomain(projectId: string, data: {
42
+ domain: string;
43
+ years?: number;
44
+ registrantContact?: any;
45
+ }): Promise<any>;
46
+ attachDomain(projectId: string, domain: string): Promise<any>;
47
+ verifyDomain(projectId: string, domain: string): Promise<any>;
48
+ listDnsRecords(projectId: string, domain: string): Promise<any>;
49
+ createDnsRecord(projectId: string, domain: string, record: {
50
+ type: string;
51
+ name: string;
52
+ content: string;
53
+ ttl?: number;
54
+ priority?: number;
55
+ }): Promise<any>;
56
+ updateDnsRecord(projectId: string, domain: string, recordId: string, record: {
57
+ type?: string;
58
+ name?: string;
59
+ content?: string;
60
+ ttl?: number;
61
+ priority?: number;
62
+ }): Promise<any>;
63
+ deleteDnsRecord(projectId: string, domain: string, recordId: string): Promise<any>;
64
+ listMailThreads(projectId: string, options?: {
65
+ mailboxId?: string;
66
+ query?: string;
67
+ limit?: number;
68
+ }): Promise<any>;
69
+ getMailThread(projectId: string, threadId: string): Promise<any>;
70
+ sendMail(projectId: string, data: {
71
+ mailboxId?: string;
72
+ to: string;
73
+ subject: string;
74
+ text?: string;
75
+ html?: string;
76
+ cc?: string[];
77
+ bcc?: string[];
78
+ }): Promise<any>;
79
+ listMailboxes(projectId: string): Promise<any>;
80
+ createMailbox(projectId: string, data: {
81
+ localPart: string;
82
+ domain?: string;
83
+ displayName?: string;
84
+ password?: string;
85
+ }): Promise<any>;
86
+ getMailDomainVerification(projectId: string, domain: string): Promise<any>;
87
+ getCommerceTheme(projectId: string): Promise<any>;
88
+ updateCommerceTheme(projectId: string, theme: Record<string, any>): Promise<any>;
89
+ getCommerceGateways(projectId: string): Promise<any>;
90
+ updateCommerceGateway(projectId: string, provider: 'paystack' | 'stripe', config: Record<string, any>): Promise<any>;
91
+ migrateWooCommerce(projectId: string, payload: Record<string, any>): Promise<any>;
92
+ cloneWordPressSite(projectId: string, payload: Record<string, any>): Promise<any>;
93
+ listOrders(projectId: string, options?: {
94
+ status?: string;
95
+ limit?: number;
96
+ }): Promise<any>;
97
+ getOrder(projectId: string, orderId: string): Promise<any>;
98
+ updateOrder(projectId: string, orderId: string, data: {
99
+ status?: string;
100
+ trackingNumber?: string;
101
+ trackingCarrier?: string;
102
+ trackingUrl?: string;
103
+ }): Promise<any>;
104
+ listCoupons(projectId: string): Promise<any>;
105
+ createCoupon(projectId: string, coupon: {
106
+ code: string;
107
+ discountType: 'percentage' | 'fixed';
108
+ discountAmount: number;
109
+ maxUses?: number;
110
+ expiresAt?: number;
111
+ }): Promise<any>;
112
+ deleteCoupon(projectId: string, couponId: string): Promise<any>;
113
+ listCollections(projectId: string): Promise<any>;
114
+ createCollection(projectId: string, data: {
115
+ name: string;
116
+ displayName?: string;
117
+ schemaFields?: any[];
118
+ }): Promise<any>;
119
+ listCollectionItems(projectId: string, collectionId: string): Promise<any>;
120
+ upsertCollectionItem(projectId: string, collectionId: string, data: Record<string, any>, itemId?: string): Promise<any>;
121
+ publishCollectionItem(projectId: string, collectionId: string, itemId: string, publish?: boolean): Promise<any>;
122
+ getContent(projectId: string): Promise<any>;
123
+ patchContent(projectId: string, patches: Record<string, string>): Promise<any>;
124
+ getFormSubmissions(projectId: string, options?: {
125
+ formName?: string;
126
+ limit?: number;
127
+ }): Promise<any>;
128
+ listSequences(projectId: string): Promise<any>;
129
+ createSequence(projectId: string, data: {
130
+ name: string;
131
+ triggerEvent?: string;
132
+ steps?: any[];
133
+ }): Promise<any>;
134
+ enrollSequenceLead(projectId: string, sequenceId: string, data: {
135
+ leadEmail: string;
136
+ leadName?: string;
137
+ metadata?: Record<string, any>;
138
+ }): Promise<any>;
139
+ listWebhooks(projectId: string): Promise<any>;
140
+ createWebhook(projectId: string, data: {
141
+ url: string;
142
+ events: string[];
143
+ secret?: string;
144
+ }): Promise<any>;
145
+ deleteWebhook(projectId: string, webhookId: string): Promise<any>;
146
+ listSqlTables(projectId: string): Promise<any>;
147
+ executeSqlQuery(projectId: string, query: string, params?: any[]): Promise<any>;
148
+ getWorkspaceUsage(): Promise<any>;
149
+ resolveWorkspaceId(explicitId?: string): Promise<string>;
150
+ listTasks(workspaceId: string, options?: {
151
+ completed?: boolean;
152
+ threadId?: string;
153
+ }): Promise<any>;
154
+ createTask(workspaceId: string, data: {
155
+ title: string;
156
+ description?: string;
157
+ dueAt?: number | null;
158
+ priority?: 'urgent' | 'high' | 'medium' | 'low';
159
+ color?: string | null;
160
+ threadId?: string | null;
161
+ assigneeId?: string | null;
162
+ }): Promise<any>;
163
+ updateTask(workspaceId: string, taskId: string, data: Record<string, any>): Promise<any>;
164
+ deleteTask(workspaceId: string, taskId: string): Promise<any>;
165
+ listCalendarEvents(workspaceId: string, options?: {
166
+ start?: number;
167
+ end?: number;
168
+ mailboxId?: string;
169
+ }): Promise<any>;
170
+ createCalendarEvent(workspaceId: string, data: {
171
+ title: string;
172
+ description?: string;
173
+ location?: string;
174
+ startAt: number;
175
+ endAt: number;
176
+ allDay?: boolean;
177
+ recurrence?: string;
178
+ attendees?: any;
179
+ color?: string;
180
+ mailboxId?: string;
181
+ }): Promise<any>;
182
+ updateCalendarEvent(workspaceId: string, eventId: string, data: Record<string, any>): Promise<any>;
183
+ deleteCalendarEvent(workspaceId: string, eventId: string): Promise<any>;
184
+ createMeetRoom(data: {
185
+ name?: string;
186
+ scheduledStartAt?: number;
187
+ allowGuests?: boolean;
188
+ recordRoom?: boolean;
189
+ lockRoom?: boolean;
190
+ }): Promise<any>;
191
+ listNotes(workspaceId: string): Promise<any>;
192
+ createNote(workspaceId: string, data: {
193
+ title: string;
194
+ content?: string;
195
+ color?: string;
196
+ }): Promise<any>;
197
+ }
198
+
199
+ interface ServerOptions extends TagHostClientOptions {
200
+ name?: string;
201
+ version?: string;
202
+ }
203
+ declare function createTagHostMcpServer(options?: ServerOptions): {
204
+ server: McpServer;
205
+ client: TagHostClient;
206
+ };
207
+ declare function startServer(options?: ServerOptions): Promise<McpServer>;
208
+
209
+ export { type ServerOptions as S, TagHostClient as T, type TagHostClientOptions as a, createTagHostMcpServer as c, startServer as s };