@dobbyai/mcp-external 1.0.2 → 1.0.3

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,437 @@
1
+ /**
2
+ * Jira Cloud Tools
3
+ *
4
+ * MCP tools for interacting with Jira Cloud through the Dobby gateway proxy.
5
+ * All calls go through /api/v1/gateway/agents/proxy which handles:
6
+ * - credential decryption (Basic Auth: email + API token)
7
+ * - connection lookup per tenant
8
+ * - request forwarding to Jira REST API v3
9
+ * - ADF wrapping for descriptions and comments
10
+ * - rate limit (429) handling with Retry-After
11
+ *
12
+ * Jira API docs: https://developer.atlassian.com/cloud/jira/platform/rest/v3/
13
+ */
14
+ import { DobbyClient } from '../lib/dobby-client.js';
15
+ export declare const jiraTools: {
16
+ jira_search_issues: {
17
+ name: string;
18
+ description: string;
19
+ inputSchema: {
20
+ type: "object";
21
+ properties: {
22
+ jql: {
23
+ type: string;
24
+ description: string;
25
+ };
26
+ max_results: {
27
+ type: string;
28
+ description: string;
29
+ };
30
+ next_page_token: {
31
+ type: string;
32
+ description: string;
33
+ };
34
+ connection_id: {
35
+ type: string;
36
+ description: string;
37
+ };
38
+ };
39
+ required: string[];
40
+ };
41
+ };
42
+ jira_get_issue: {
43
+ name: string;
44
+ description: string;
45
+ inputSchema: {
46
+ type: "object";
47
+ properties: {
48
+ issue_key: {
49
+ type: string;
50
+ description: string;
51
+ };
52
+ connection_id: {
53
+ type: string;
54
+ description: string;
55
+ };
56
+ };
57
+ required: string[];
58
+ };
59
+ };
60
+ jira_create_issue: {
61
+ name: string;
62
+ description: string;
63
+ inputSchema: {
64
+ type: "object";
65
+ properties: {
66
+ project_key: {
67
+ type: string;
68
+ description: string;
69
+ };
70
+ summary: {
71
+ type: string;
72
+ description: string;
73
+ };
74
+ description: {
75
+ type: string;
76
+ description: string;
77
+ };
78
+ issue_type: {
79
+ type: string;
80
+ description: string;
81
+ };
82
+ priority: {
83
+ type: string;
84
+ description: string;
85
+ };
86
+ labels: {
87
+ type: string;
88
+ items: {
89
+ type: string;
90
+ };
91
+ description: string;
92
+ };
93
+ connection_id: {
94
+ type: string;
95
+ description: string;
96
+ };
97
+ };
98
+ required: string[];
99
+ };
100
+ };
101
+ jira_update_issue: {
102
+ name: string;
103
+ description: string;
104
+ inputSchema: {
105
+ type: "object";
106
+ properties: {
107
+ issue_key: {
108
+ type: string;
109
+ description: string;
110
+ };
111
+ summary: {
112
+ type: string;
113
+ description: string;
114
+ };
115
+ description: {
116
+ type: string;
117
+ description: string;
118
+ };
119
+ priority: {
120
+ type: string;
121
+ description: string;
122
+ };
123
+ labels: {
124
+ type: string;
125
+ items: {
126
+ type: string;
127
+ };
128
+ description: string;
129
+ };
130
+ connection_id: {
131
+ type: string;
132
+ description: string;
133
+ };
134
+ };
135
+ required: string[];
136
+ };
137
+ };
138
+ jira_add_comment: {
139
+ name: string;
140
+ description: string;
141
+ inputSchema: {
142
+ type: "object";
143
+ properties: {
144
+ issue_key: {
145
+ type: string;
146
+ description: string;
147
+ };
148
+ comment_body: {
149
+ type: string;
150
+ description: string;
151
+ };
152
+ connection_id: {
153
+ type: string;
154
+ description: string;
155
+ };
156
+ };
157
+ required: string[];
158
+ };
159
+ };
160
+ jira_get_comments: {
161
+ name: string;
162
+ description: string;
163
+ inputSchema: {
164
+ type: "object";
165
+ properties: {
166
+ issue_key: {
167
+ type: string;
168
+ description: string;
169
+ };
170
+ max_results: {
171
+ type: string;
172
+ description: string;
173
+ };
174
+ connection_id: {
175
+ type: string;
176
+ description: string;
177
+ };
178
+ };
179
+ required: string[];
180
+ };
181
+ };
182
+ jira_get_transitions: {
183
+ name: string;
184
+ description: string;
185
+ inputSchema: {
186
+ type: "object";
187
+ properties: {
188
+ issue_key: {
189
+ type: string;
190
+ description: string;
191
+ };
192
+ connection_id: {
193
+ type: string;
194
+ description: string;
195
+ };
196
+ };
197
+ required: string[];
198
+ };
199
+ };
200
+ jira_transition_issue: {
201
+ name: string;
202
+ description: string;
203
+ inputSchema: {
204
+ type: "object";
205
+ properties: {
206
+ issue_key: {
207
+ type: string;
208
+ description: string;
209
+ };
210
+ transition_id: {
211
+ type: string;
212
+ description: string;
213
+ };
214
+ connection_id: {
215
+ type: string;
216
+ description: string;
217
+ };
218
+ };
219
+ required: string[];
220
+ };
221
+ };
222
+ jira_list_projects: {
223
+ name: string;
224
+ description: string;
225
+ inputSchema: {
226
+ type: "object";
227
+ properties: {
228
+ max_results: {
229
+ type: string;
230
+ description: string;
231
+ };
232
+ connection_id: {
233
+ type: string;
234
+ description: string;
235
+ };
236
+ };
237
+ };
238
+ };
239
+ jira_assign_issue: {
240
+ name: string;
241
+ description: string;
242
+ inputSchema: {
243
+ type: "object";
244
+ properties: {
245
+ issue_key: {
246
+ type: string;
247
+ description: string;
248
+ };
249
+ assignee_account_id: {
250
+ type: string;
251
+ description: string;
252
+ };
253
+ connection_id: {
254
+ type: string;
255
+ description: string;
256
+ };
257
+ };
258
+ required: string[];
259
+ };
260
+ };
261
+ };
262
+ export declare function handleJiraSearchIssues(client: DobbyClient, args: {
263
+ jql: string;
264
+ max_results?: number;
265
+ next_page_token?: string;
266
+ connection_id?: string;
267
+ }): Promise<{
268
+ content: {
269
+ type: "text";
270
+ text: string;
271
+ }[];
272
+ isError?: undefined;
273
+ } | {
274
+ content: {
275
+ type: "text";
276
+ text: string;
277
+ }[];
278
+ isError: boolean;
279
+ }>;
280
+ export declare function handleJiraGetIssue(client: DobbyClient, args: {
281
+ issue_key: string;
282
+ connection_id?: string;
283
+ }): Promise<{
284
+ content: {
285
+ type: "text";
286
+ text: string;
287
+ }[];
288
+ isError?: undefined;
289
+ } | {
290
+ content: {
291
+ type: "text";
292
+ text: string;
293
+ }[];
294
+ isError: boolean;
295
+ }>;
296
+ export declare function handleJiraCreateIssue(client: DobbyClient, args: {
297
+ project_key: string;
298
+ summary: string;
299
+ description?: string;
300
+ issue_type?: string;
301
+ priority?: string;
302
+ labels?: string[];
303
+ connection_id?: string;
304
+ }): Promise<{
305
+ content: {
306
+ type: "text";
307
+ text: string;
308
+ }[];
309
+ isError?: undefined;
310
+ } | {
311
+ content: {
312
+ type: "text";
313
+ text: string;
314
+ }[];
315
+ isError: boolean;
316
+ }>;
317
+ export declare function handleJiraUpdateIssue(client: DobbyClient, args: {
318
+ issue_key: string;
319
+ summary?: string;
320
+ description?: string;
321
+ priority?: string;
322
+ labels?: string[];
323
+ connection_id?: string;
324
+ }): Promise<{
325
+ content: {
326
+ type: "text";
327
+ text: string;
328
+ }[];
329
+ isError?: undefined;
330
+ } | {
331
+ content: {
332
+ type: "text";
333
+ text: string;
334
+ }[];
335
+ isError: boolean;
336
+ }>;
337
+ export declare function handleJiraAddComment(client: DobbyClient, args: {
338
+ issue_key: string;
339
+ comment_body: string;
340
+ connection_id?: string;
341
+ }): Promise<{
342
+ content: {
343
+ type: "text";
344
+ text: string;
345
+ }[];
346
+ isError?: undefined;
347
+ } | {
348
+ content: {
349
+ type: "text";
350
+ text: string;
351
+ }[];
352
+ isError: boolean;
353
+ }>;
354
+ export declare function handleJiraGetComments(client: DobbyClient, args: {
355
+ issue_key: string;
356
+ max_results?: number;
357
+ connection_id?: string;
358
+ }): Promise<{
359
+ content: {
360
+ type: "text";
361
+ text: string;
362
+ }[];
363
+ isError?: undefined;
364
+ } | {
365
+ content: {
366
+ type: "text";
367
+ text: string;
368
+ }[];
369
+ isError: boolean;
370
+ }>;
371
+ export declare function handleJiraGetTransitions(client: DobbyClient, args: {
372
+ issue_key: string;
373
+ connection_id?: string;
374
+ }): Promise<{
375
+ content: {
376
+ type: "text";
377
+ text: string;
378
+ }[];
379
+ isError?: undefined;
380
+ } | {
381
+ content: {
382
+ type: "text";
383
+ text: string;
384
+ }[];
385
+ isError: boolean;
386
+ }>;
387
+ export declare function handleJiraTransitionIssue(client: DobbyClient, args: {
388
+ issue_key: string;
389
+ transition_id: string;
390
+ connection_id?: string;
391
+ }): Promise<{
392
+ content: {
393
+ type: "text";
394
+ text: string;
395
+ }[];
396
+ isError?: undefined;
397
+ } | {
398
+ content: {
399
+ type: "text";
400
+ text: string;
401
+ }[];
402
+ isError: boolean;
403
+ }>;
404
+ export declare function handleJiraListProjects(client: DobbyClient, args: {
405
+ max_results?: number;
406
+ connection_id?: string;
407
+ }): Promise<{
408
+ content: {
409
+ type: "text";
410
+ text: string;
411
+ }[];
412
+ isError?: undefined;
413
+ } | {
414
+ content: {
415
+ type: "text";
416
+ text: string;
417
+ }[];
418
+ isError: boolean;
419
+ }>;
420
+ export declare function handleJiraAssignIssue(client: DobbyClient, args: {
421
+ issue_key: string;
422
+ assignee_account_id?: string | null;
423
+ connection_id?: string;
424
+ }): Promise<{
425
+ content: {
426
+ type: "text";
427
+ text: string;
428
+ }[];
429
+ isError?: undefined;
430
+ } | {
431
+ content: {
432
+ type: "text";
433
+ text: string;
434
+ }[];
435
+ isError: boolean;
436
+ }>;
437
+ //# sourceMappingURL=jira.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"jira.d.ts","sourceRoot":"","sources":["../../src/tools/jira.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;GAYG;AAEH,OAAO,EAAE,WAAW,EAAE,MAAM,wBAAwB,CAAC;AAMrD,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA0QrB,CAAC;AAuDF,wBAAsB,sBAAsB,CAC1C,MAAM,EAAE,WAAW,EACnB,IAAI,EAAE;IACJ,GAAG,EAAE,MAAM,CAAC;IACZ,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,eAAe,CAAC,E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