@sentry/mcp-server 0.3.2 → 0.5.0

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.
Files changed (162) hide show
  1. package/dist/api-client/client.cjs +2 -2
  2. package/dist/api-client/client.d.cts +3 -3
  3. package/dist/api-client/client.d.ts +3 -3
  4. package/dist/api-client/client.js +2 -2
  5. package/dist/api-client/client.test.cjs +2 -2
  6. package/dist/api-client/client.test.js +2 -2
  7. package/dist/api-client/index.cjs +6 -3
  8. package/dist/api-client/index.d.cts +4 -4
  9. package/dist/api-client/index.d.ts +4 -4
  10. package/dist/api-client/index.js +3 -3
  11. package/dist/api-client/schema.cjs +5 -2
  12. package/dist/api-client/schema.d.cts +2 -2
  13. package/dist/api-client/schema.d.ts +2 -2
  14. package/dist/api-client/schema.js +2 -2
  15. package/dist/api-client/types.d.cts +2 -2
  16. package/dist/api-client/types.d.ts +2 -2
  17. package/dist/{client-BKLE5Lkt.js → client-CpiyA8FR.js} +39 -36
  18. package/dist/client-CpiyA8FR.js.map +1 -0
  19. package/dist/{client-C_XfRSu3.cjs → client-GWxnTlSP.cjs} +39 -36
  20. package/dist/client-GWxnTlSP.cjs.map +1 -0
  21. package/dist/{client.d-DqhLulmH.d.cts → client.d-ar2BvC_o.d.cts} +23 -21
  22. package/dist/client.d-ar2BvC_o.d.cts.map +1 -0
  23. package/dist/{client.d-DHlu3a8d.d.ts → client.d-eUhyVsN_.d.ts} +22 -20
  24. package/dist/client.d-eUhyVsN_.d.ts.map +1 -0
  25. package/dist/index.cjs +13 -10
  26. package/dist/index.cjs.map +1 -1
  27. package/dist/index.js +13 -10
  28. package/dist/index.js.map +1 -1
  29. package/dist/internal/formatting.d.cts +3 -3
  30. package/dist/internal/formatting.d.ts +3 -3
  31. package/dist/internal/issue-helpers.cjs +4 -2
  32. package/dist/internal/issue-helpers.d.cts +30 -1
  33. package/dist/internal/issue-helpers.d.cts.map +1 -1
  34. package/dist/internal/issue-helpers.d.ts +30 -1
  35. package/dist/internal/issue-helpers.d.ts.map +1 -1
  36. package/dist/internal/issue-helpers.js +2 -2
  37. package/dist/internal/issue-helpers.test.cjs +41 -1
  38. package/dist/internal/issue-helpers.test.cjs.map +1 -1
  39. package/dist/internal/issue-helpers.test.js +41 -1
  40. package/dist/internal/issue-helpers.test.js.map +1 -1
  41. package/dist/issue-helpers-CdWMhVWJ.cjs +87 -0
  42. package/dist/issue-helpers-CdWMhVWJ.cjs.map +1 -0
  43. package/dist/{issue-helpers-C0kEdXOE.cjs → issue-helpers-Cx6bFCUv.js} +38 -9
  44. package/dist/issue-helpers-Cx6bFCUv.js.map +1 -0
  45. package/dist/{promptDefinitions-CaRMCDPI.js → promptDefinitions-C9aGYWZ6.js} +2 -2
  46. package/dist/{promptDefinitions-CaRMCDPI.js.map → promptDefinitions-C9aGYWZ6.js.map} +1 -1
  47. package/dist/{promptDefinitions-CVB4IyVf.cjs → promptDefinitions-OnJHLqrZ.cjs} +2 -2
  48. package/dist/{promptDefinitions-CVB4IyVf.cjs.map → promptDefinitions-OnJHLqrZ.cjs.map} +1 -1
  49. package/dist/promptDefinitions.cjs +2 -2
  50. package/dist/promptDefinitions.js +2 -2
  51. package/dist/{schema-Bc6_gUDA.cjs → schema-BnXdl41H.cjs} +71 -13
  52. package/dist/schema-BnXdl41H.cjs.map +1 -0
  53. package/dist/{schema-D1B8p0Ib.js → schema-BzPfPMq7.js} +54 -14
  54. package/dist/schema-BzPfPMq7.js.map +1 -0
  55. package/dist/{schema-BvloqMHW.cjs → schema-_xqdSRLo.cjs} +8 -1
  56. package/dist/{schema-BvloqMHW.cjs.map → schema-_xqdSRLo.cjs.map} +1 -1
  57. package/dist/{schema-k04PdSCK.js → schema-pZrPEvtp.js} +3 -2
  58. package/dist/{schema-k04PdSCK.js.map → schema-pZrPEvtp.js.map} +1 -1
  59. package/dist/schema.cjs +2 -1
  60. package/dist/{schema.d-BGUOiJ76.d.cts → schema.d-DJThZSuo.d.cts} +3001 -235
  61. package/dist/schema.d-DJThZSuo.d.cts.map +1 -0
  62. package/dist/{schema.d-CPAOqBrB.d.ts → schema.d-DwpHAZsi.d.ts} +2777 -11
  63. package/dist/schema.d-DwpHAZsi.d.ts.map +1 -0
  64. package/dist/schema.d.cts +2 -1
  65. package/dist/schema.d.cts.map +1 -1
  66. package/dist/schema.d.ts +2 -1
  67. package/dist/schema.d.ts.map +1 -1
  68. package/dist/schema.js +2 -2
  69. package/dist/{server-DQ_dBWQy.cjs → server-D-JY6wPp.cjs} +5 -5
  70. package/dist/{server-DQ_dBWQy.cjs.map → server-D-JY6wPp.cjs.map} +1 -1
  71. package/dist/{server-DHbbEoa2.js → server-oefnmsHZ.js} +5 -5
  72. package/dist/{server-DHbbEoa2.js.map → server-oefnmsHZ.js.map} +1 -1
  73. package/dist/server.cjs +8 -8
  74. package/dist/server.d.cts +2 -2
  75. package/dist/server.d.ts +2 -2
  76. package/dist/server.js +8 -8
  77. package/dist/stdio-B31CD06F.js +19 -0
  78. package/dist/stdio-B31CD06F.js.map +1 -0
  79. package/dist/{stdio-DFsA-33B.cjs → stdio-BsGPoQfx.cjs} +10 -7
  80. package/dist/stdio-BsGPoQfx.cjs.map +1 -0
  81. package/dist/test-setup.cjs +42 -5
  82. package/dist/test-setup.cjs.map +1 -1
  83. package/dist/test-setup.js +42 -5
  84. package/dist/test-setup.js.map +1 -1
  85. package/dist/{toolDefinitions-BJ0cyDce.cjs → toolDefinitions-C0t6Y5Su.cjs} +26 -5
  86. package/dist/toolDefinitions-C0t6Y5Su.cjs.map +1 -0
  87. package/dist/{toolDefinitions-L20Lv3AW.js → toolDefinitions-DB4pPvgy.js} +26 -5
  88. package/dist/toolDefinitions-DB4pPvgy.js.map +1 -0
  89. package/dist/toolDefinitions.cjs +2 -2
  90. package/dist/{toolDefinitions.d-C0zMvL9m.d.ts → toolDefinitions.d-C5JUBInb.d.ts} +16 -1
  91. package/dist/toolDefinitions.d-C5JUBInb.d.ts.map +1 -0
  92. package/dist/{toolDefinitions.d-Dx4q--0l.d.cts → toolDefinitions.d-CsT15_MF.d.cts} +16 -1
  93. package/dist/toolDefinitions.d-CsT15_MF.d.cts.map +1 -0
  94. package/dist/toolDefinitions.d.cts +1 -1
  95. package/dist/toolDefinitions.d.ts +1 -1
  96. package/dist/toolDefinitions.js +2 -2
  97. package/dist/toolDefinitions.test.cjs +2 -2
  98. package/dist/toolDefinitions.test.js +2 -2
  99. package/dist/{tools-B22b8Jjm.cjs → tools-Ck2CHZeM.cjs} +118 -101
  100. package/dist/tools-Ck2CHZeM.cjs.map +1 -0
  101. package/dist/{tools-CXgh-6Vh.js → tools-_Y9eV4LR.js} +118 -101
  102. package/dist/tools-_Y9eV4LR.js.map +1 -0
  103. package/dist/tools.cjs +4 -4
  104. package/dist/tools.d.cts +32 -75
  105. package/dist/tools.d.cts.map +1 -1
  106. package/dist/tools.d.ts +32 -75
  107. package/dist/tools.d.ts.map +1 -1
  108. package/dist/tools.js +4 -4
  109. package/dist/tools.test.cjs +53 -7
  110. package/dist/tools.test.cjs.map +1 -1
  111. package/dist/tools.test.js +53 -7
  112. package/dist/tools.test.js.map +1 -1
  113. package/dist/transports/stdio.cjs +9 -9
  114. package/dist/transports/stdio.d.cts +2 -2
  115. package/dist/transports/stdio.d.cts.map +1 -1
  116. package/dist/transports/stdio.d.ts +2 -2
  117. package/dist/transports/stdio.d.ts.map +1 -1
  118. package/dist/transports/stdio.js +9 -9
  119. package/dist/{types.d-CLP4B6Fv.d.ts → types.d-B-acZthg.d.ts} +2 -2
  120. package/dist/{types.d-CLP4B6Fv.d.ts.map → types.d-B-acZthg.d.ts.map} +1 -1
  121. package/dist/{types.d-DHI7S0mb.d.ts → types.d-BeKsSRmy.d.ts} +2 -2
  122. package/dist/{types.d-DHI7S0mb.d.ts.map → types.d-BeKsSRmy.d.ts.map} +1 -1
  123. package/dist/{types.d-DQGXrBBW.d.cts → types.d-BfhMPrt_.d.cts} +2 -2
  124. package/dist/{types.d-DQGXrBBW.d.cts.map → types.d-BfhMPrt_.d.cts.map} +1 -1
  125. package/dist/{types.d-DO95JHyL.d.cts → types.d-Z5OEf3rw.d.cts} +2 -2
  126. package/dist/{types.d-DO95JHyL.d.cts.map → types.d-Z5OEf3rw.d.cts.map} +1 -1
  127. package/dist/types.d.cts +2 -2
  128. package/dist/types.d.ts +2 -2
  129. package/dist/version-B5Fav38l.js +6 -0
  130. package/dist/version-B5Fav38l.js.map +1 -0
  131. package/dist/{version-NkgNAUSU.cjs → version-BFCcfCIj.cjs} +2 -2
  132. package/dist/version-BFCcfCIj.cjs.map +1 -0
  133. package/dist/version.cjs +1 -1
  134. package/dist/version.d.cts +1 -1
  135. package/dist/version.d.cts.map +1 -1
  136. package/dist/version.d.ts +1 -1
  137. package/dist/version.d.ts.map +1 -1
  138. package/dist/version.js +1 -1
  139. package/package.json +3 -4
  140. package/dist/client-BKLE5Lkt.js.map +0 -1
  141. package/dist/client-C_XfRSu3.cjs.map +0 -1
  142. package/dist/client.d-DHlu3a8d.d.ts.map +0 -1
  143. package/dist/client.d-DqhLulmH.d.cts.map +0 -1
  144. package/dist/issue-helpers-C0kEdXOE.cjs.map +0 -1
  145. package/dist/issue-helpers-DFde36Zu.js +0 -32
  146. package/dist/issue-helpers-DFde36Zu.js.map +0 -1
  147. package/dist/schema-Bc6_gUDA.cjs.map +0 -1
  148. package/dist/schema-D1B8p0Ib.js.map +0 -1
  149. package/dist/schema.d-BGUOiJ76.d.cts.map +0 -1
  150. package/dist/schema.d-CPAOqBrB.d.ts.map +0 -1
  151. package/dist/stdio-9quCNGCH.js +0 -16
  152. package/dist/stdio-9quCNGCH.js.map +0 -1
  153. package/dist/stdio-DFsA-33B.cjs.map +0 -1
  154. package/dist/toolDefinitions-BJ0cyDce.cjs.map +0 -1
  155. package/dist/toolDefinitions-L20Lv3AW.js.map +0 -1
  156. package/dist/toolDefinitions.d-C0zMvL9m.d.ts.map +0 -1
  157. package/dist/toolDefinitions.d-Dx4q--0l.d.cts.map +0 -1
  158. package/dist/tools-B22b8Jjm.cjs.map +0 -1
  159. package/dist/tools-CXgh-6Vh.js.map +0 -1
  160. package/dist/version-Cmu_Jzgy.js +0 -6
  161. package/dist/version-Cmu_Jzgy.js.map +0 -1
  162. package/dist/version-NkgNAUSU.cjs.map +0 -1
package/dist/tools.d.cts CHANGED
@@ -1,14 +1,13 @@
1
1
  import "./promptDefinitions.d-ByaZdRYv.cjs";
2
- import "./toolDefinitions.d-Dx4q--0l.cjs";
3
- import { ServerContext } from "./types.d-DQGXrBBW.cjs";
2
+ import "./toolDefinitions.d-CsT15_MF.cjs";
3
+ import { ServerContext } from "./types.d-BfhMPrt_.cjs";
4
4
 
5
5
  //#region src/tools.d.ts
6
6
  declare const TOOL_HANDLERS: {
7
7
  list_organizations: (context: ServerContext) => Promise<string>;
8
- list_teams: (context: ServerContext, {
9
- organizationSlug
10
- }: {
8
+ list_teams: (context: ServerContext, params: {
11
9
  organizationSlug: string | undefined;
10
+ regionUrl: string | undefined;
12
11
  projectSlug?: unknown;
13
12
  query?: unknown;
14
13
  sortBy?: unknown;
@@ -20,10 +19,9 @@ declare const TOOL_HANDLERS: {
20
19
  teamSlug?: unknown;
21
20
  platform?: unknown;
22
21
  }) => Promise<string>;
23
- list_projects: (context: ServerContext, {
24
- organizationSlug
25
- }: {
22
+ list_projects: (context: ServerContext, params: {
26
23
  organizationSlug: string | undefined;
24
+ regionUrl: string | undefined;
27
25
  projectSlug?: unknown;
28
26
  query?: unknown;
29
27
  sortBy?: unknown;
@@ -35,13 +33,9 @@ declare const TOOL_HANDLERS: {
35
33
  teamSlug?: unknown;
36
34
  platform?: unknown;
37
35
  }) => Promise<string>;
38
- list_issues: (context: ServerContext, {
39
- organizationSlug,
40
- projectSlug,
41
- query,
42
- sortBy
43
- }: {
36
+ list_issues: (context: ServerContext, params: {
44
37
  organizationSlug: string | undefined;
38
+ regionUrl: string | undefined;
45
39
  projectSlug: string | undefined;
46
40
  query: string | undefined;
47
41
  sortBy: "last_seen" | "first_seen" | "count" | "userCount" | undefined;
@@ -53,11 +47,9 @@ declare const TOOL_HANDLERS: {
53
47
  teamSlug?: unknown;
54
48
  platform?: unknown;
55
49
  }) => Promise<string>;
56
- list_releases: (context: ServerContext, {
57
- organizationSlug,
58
- projectSlug
59
- }: {
50
+ list_releases: (context: ServerContext, params: {
60
51
  organizationSlug: string | undefined;
52
+ regionUrl: string | undefined;
61
53
  projectSlug: string | undefined;
62
54
  query?: unknown;
63
55
  sortBy?: unknown;
@@ -69,10 +61,9 @@ declare const TOOL_HANDLERS: {
69
61
  teamSlug?: unknown;
70
62
  platform?: unknown;
71
63
  }) => Promise<string>;
72
- list_tags: (context: ServerContext, {
73
- organizationSlug
74
- }: {
64
+ list_tags: (context: ServerContext, params: {
75
65
  organizationSlug: string | undefined;
66
+ regionUrl: string | undefined;
76
67
  projectSlug?: unknown;
77
68
  query?: unknown;
78
69
  sortBy?: unknown;
@@ -84,12 +75,9 @@ declare const TOOL_HANDLERS: {
84
75
  teamSlug?: unknown;
85
76
  platform?: unknown;
86
77
  }) => Promise<string>;
87
- get_issue_summary: (context: ServerContext, {
88
- issueId,
89
- issueUrl,
90
- organizationSlug
91
- }: {
78
+ get_issue_summary: (context: ServerContext, params: {
92
79
  organizationSlug: string | undefined;
80
+ regionUrl: string | undefined;
93
81
  issueId: string | undefined;
94
82
  issueUrl: string | undefined;
95
83
  projectSlug?: unknown;
@@ -101,12 +89,9 @@ declare const TOOL_HANDLERS: {
101
89
  teamSlug?: unknown;
102
90
  platform?: unknown;
103
91
  }) => Promise<string>;
104
- get_issue_details: (context: ServerContext, {
105
- issueId,
106
- issueUrl,
107
- organizationSlug
108
- }: {
92
+ get_issue_details: (context: ServerContext, params: {
109
93
  organizationSlug: string | undefined;
94
+ regionUrl: string | undefined;
110
95
  issueId: string | undefined;
111
96
  issueUrl: string | undefined;
112
97
  projectSlug?: unknown;
@@ -118,15 +103,9 @@ declare const TOOL_HANDLERS: {
118
103
  teamSlug?: unknown;
119
104
  platform?: unknown;
120
105
  }) => Promise<string>;
121
- search_errors: (context: ServerContext, {
122
- filename,
123
- transaction,
124
- query,
125
- sortBy,
126
- organizationSlug,
127
- projectSlug
128
- }: {
106
+ search_errors: (context: ServerContext, params: {
129
107
  organizationSlug: string | undefined;
108
+ regionUrl: string | undefined;
130
109
  projectSlug: string | undefined;
131
110
  filename: string | undefined;
132
111
  transaction: string | undefined;
@@ -138,14 +117,9 @@ declare const TOOL_HANDLERS: {
138
117
  teamSlug?: unknown;
139
118
  platform?: unknown;
140
119
  }) => Promise<string>;
141
- search_transactions: (context: ServerContext, {
142
- transaction,
143
- query,
144
- sortBy,
145
- organizationSlug,
146
- projectSlug
147
- }: {
120
+ search_transactions: (context: ServerContext, params: {
148
121
  organizationSlug: string | undefined;
122
+ regionUrl: string | undefined;
149
123
  projectSlug: string | undefined;
150
124
  transaction: string | undefined;
151
125
  query: string | undefined;
@@ -157,11 +131,9 @@ declare const TOOL_HANDLERS: {
157
131
  teamSlug?: unknown;
158
132
  platform?: unknown;
159
133
  }) => Promise<string>;
160
- create_team: (context: ServerContext, {
161
- organizationSlug,
162
- name
163
- }: {
134
+ create_team: (context: ServerContext, params: {
164
135
  organizationSlug: string | undefined;
136
+ regionUrl: string | undefined;
165
137
  name: string;
166
138
  projectSlug?: unknown;
167
139
  query?: unknown;
@@ -173,13 +145,9 @@ declare const TOOL_HANDLERS: {
173
145
  teamSlug?: unknown;
174
146
  platform?: unknown;
175
147
  }) => Promise<string>;
176
- create_project: (context: ServerContext, {
177
- organizationSlug,
178
- teamSlug,
179
- name,
180
- platform
181
- }: {
148
+ create_project: (context: ServerContext, params: {
182
149
  organizationSlug: string | undefined;
150
+ regionUrl: string | undefined;
183
151
  teamSlug: string;
184
152
  name: string;
185
153
  platform: string | undefined;
@@ -191,12 +159,9 @@ declare const TOOL_HANDLERS: {
191
159
  filename?: unknown;
192
160
  transaction?: unknown;
193
161
  }) => Promise<string>;
194
- create_dsn: (context: ServerContext, {
195
- organizationSlug,
196
- projectSlug,
197
- name
198
- }: {
162
+ create_dsn: (context: ServerContext, params: {
199
163
  organizationSlug: string | undefined;
164
+ regionUrl: string | undefined;
200
165
  projectSlug: string;
201
166
  name: string;
202
167
  query?: unknown;
@@ -208,11 +173,9 @@ declare const TOOL_HANDLERS: {
208
173
  teamSlug?: unknown;
209
174
  platform?: unknown;
210
175
  }) => Promise<string>;
211
- list_dsns: (context: ServerContext, {
212
- organizationSlug,
213
- projectSlug
214
- }: {
176
+ list_dsns: (context: ServerContext, params: {
215
177
  organizationSlug: string | undefined;
178
+ regionUrl: string | undefined;
216
179
  projectSlug: string;
217
180
  query?: unknown;
218
181
  sortBy?: unknown;
@@ -224,12 +187,9 @@ declare const TOOL_HANDLERS: {
224
187
  teamSlug?: unknown;
225
188
  platform?: unknown;
226
189
  }) => Promise<string>;
227
- begin_autofix: (context: ServerContext, {
228
- organizationSlug,
229
- issueId,
230
- issueUrl
231
- }: {
190
+ begin_autofix: (context: ServerContext, params: {
232
191
  organizationSlug: string | undefined;
192
+ regionUrl: string | undefined;
233
193
  issueId: string | undefined;
234
194
  issueUrl: string | undefined;
235
195
  projectSlug?: unknown;
@@ -241,12 +201,9 @@ declare const TOOL_HANDLERS: {
241
201
  teamSlug?: unknown;
242
202
  platform?: unknown;
243
203
  }) => Promise<string>;
244
- get_autofix_status: (context: ServerContext, {
245
- organizationSlug,
246
- issueId,
247
- issueUrl
248
- }: {
204
+ get_autofix_status: (context: ServerContext, params: {
249
205
  organizationSlug: string | undefined;
206
+ regionUrl: string | undefined;
250
207
  issueId: string | undefined;
251
208
  issueUrl: string | undefined;
252
209
  projectSlug?: unknown;
@@ -1 +1 @@
1
- {"version":3,"file":"tools.d.cts","names":[],"sources":["../src/tools.ts"],"sourcesContent":null,"mappings":";;;;;cAqBa;gCA4rBW;;;;;IA5rBX,WAAA,CA4rBW,EAAA,OAAA;IAAA,KAAA,CAAA,EAAA,OAAA;IAAA,MAAA,CAAA,EAAA,OAAA"}
1
+ {"version":3,"file":"tools.d.cts","names":[],"sources":["../src/tools.ts"],"sourcesContent":null,"mappings":";;;;;cAyBa;gCAwkBW;;;IAxkBX,SAAA,EAAA,MAwkBW,GAAA,SAAA;IAAA,WAAA,CAAA,EAAA,OAAA;IAAA,KAAA,CAAA,EAAA,OAAA"}
package/dist/tools.d.ts CHANGED
@@ -1,14 +1,13 @@
1
1
  import "./promptDefinitions.d-DyHOzL57.js";
2
- import "./toolDefinitions.d-C0zMvL9m.js";
3
- import { ServerContext } from "./types.d-DHI7S0mb.js";
2
+ import "./toolDefinitions.d-C5JUBInb.js";
3
+ import { ServerContext } from "./types.d-BeKsSRmy.js";
4
4
 
5
5
  //#region src/tools.d.ts
6
6
  declare const TOOL_HANDLERS: {
7
7
  list_organizations: (context: ServerContext) => Promise<string>;
8
- list_teams: (context: ServerContext, {
9
- organizationSlug
10
- }: {
8
+ list_teams: (context: ServerContext, params: {
11
9
  organizationSlug: string | undefined;
10
+ regionUrl: string | undefined;
12
11
  projectSlug?: unknown;
13
12
  query?: unknown;
14
13
  sortBy?: unknown;
@@ -20,10 +19,9 @@ declare const TOOL_HANDLERS: {
20
19
  teamSlug?: unknown;
21
20
  platform?: unknown;
22
21
  }) => Promise<string>;
23
- list_projects: (context: ServerContext, {
24
- organizationSlug
25
- }: {
22
+ list_projects: (context: ServerContext, params: {
26
23
  organizationSlug: string | undefined;
24
+ regionUrl: string | undefined;
27
25
  projectSlug?: unknown;
28
26
  query?: unknown;
29
27
  sortBy?: unknown;
@@ -35,13 +33,9 @@ declare const TOOL_HANDLERS: {
35
33
  teamSlug?: unknown;
36
34
  platform?: unknown;
37
35
  }) => Promise<string>;
38
- list_issues: (context: ServerContext, {
39
- organizationSlug,
40
- projectSlug,
41
- query,
42
- sortBy
43
- }: {
36
+ list_issues: (context: ServerContext, params: {
44
37
  organizationSlug: string | undefined;
38
+ regionUrl: string | undefined;
45
39
  projectSlug: string | undefined;
46
40
  query: string | undefined;
47
41
  sortBy: "last_seen" | "first_seen" | "count" | "userCount" | undefined;
@@ -53,11 +47,9 @@ declare const TOOL_HANDLERS: {
53
47
  teamSlug?: unknown;
54
48
  platform?: unknown;
55
49
  }) => Promise<string>;
56
- list_releases: (context: ServerContext, {
57
- organizationSlug,
58
- projectSlug
59
- }: {
50
+ list_releases: (context: ServerContext, params: {
60
51
  organizationSlug: string | undefined;
52
+ regionUrl: string | undefined;
61
53
  projectSlug: string | undefined;
62
54
  query?: unknown;
63
55
  sortBy?: unknown;
@@ -69,10 +61,9 @@ declare const TOOL_HANDLERS: {
69
61
  teamSlug?: unknown;
70
62
  platform?: unknown;
71
63
  }) => Promise<string>;
72
- list_tags: (context: ServerContext, {
73
- organizationSlug
74
- }: {
64
+ list_tags: (context: ServerContext, params: {
75
65
  organizationSlug: string | undefined;
66
+ regionUrl: string | undefined;
76
67
  projectSlug?: unknown;
77
68
  query?: unknown;
78
69
  sortBy?: unknown;
@@ -84,12 +75,9 @@ declare const TOOL_HANDLERS: {
84
75
  teamSlug?: unknown;
85
76
  platform?: unknown;
86
77
  }) => Promise<string>;
87
- get_issue_summary: (context: ServerContext, {
88
- issueId,
89
- issueUrl,
90
- organizationSlug
91
- }: {
78
+ get_issue_summary: (context: ServerContext, params: {
92
79
  organizationSlug: string | undefined;
80
+ regionUrl: string | undefined;
93
81
  issueId: string | undefined;
94
82
  issueUrl: string | undefined;
95
83
  projectSlug?: unknown;
@@ -101,12 +89,9 @@ declare const TOOL_HANDLERS: {
101
89
  teamSlug?: unknown;
102
90
  platform?: unknown;
103
91
  }) => Promise<string>;
104
- get_issue_details: (context: ServerContext, {
105
- issueId,
106
- issueUrl,
107
- organizationSlug
108
- }: {
92
+ get_issue_details: (context: ServerContext, params: {
109
93
  organizationSlug: string | undefined;
94
+ regionUrl: string | undefined;
110
95
  issueId: string | undefined;
111
96
  issueUrl: string | undefined;
112
97
  projectSlug?: unknown;
@@ -118,15 +103,9 @@ declare const TOOL_HANDLERS: {
118
103
  teamSlug?: unknown;
119
104
  platform?: unknown;
120
105
  }) => Promise<string>;
121
- search_errors: (context: ServerContext, {
122
- filename,
123
- transaction,
124
- query,
125
- sortBy,
126
- organizationSlug,
127
- projectSlug
128
- }: {
106
+ search_errors: (context: ServerContext, params: {
129
107
  organizationSlug: string | undefined;
108
+ regionUrl: string | undefined;
130
109
  projectSlug: string | undefined;
131
110
  filename: string | undefined;
132
111
  transaction: string | undefined;
@@ -138,14 +117,9 @@ declare const TOOL_HANDLERS: {
138
117
  teamSlug?: unknown;
139
118
  platform?: unknown;
140
119
  }) => Promise<string>;
141
- search_transactions: (context: ServerContext, {
142
- transaction,
143
- query,
144
- sortBy,
145
- organizationSlug,
146
- projectSlug
147
- }: {
120
+ search_transactions: (context: ServerContext, params: {
148
121
  organizationSlug: string | undefined;
122
+ regionUrl: string | undefined;
149
123
  projectSlug: string | undefined;
150
124
  transaction: string | undefined;
151
125
  query: string | undefined;
@@ -157,11 +131,9 @@ declare const TOOL_HANDLERS: {
157
131
  teamSlug?: unknown;
158
132
  platform?: unknown;
159
133
  }) => Promise<string>;
160
- create_team: (context: ServerContext, {
161
- organizationSlug,
162
- name
163
- }: {
134
+ create_team: (context: ServerContext, params: {
164
135
  organizationSlug: string | undefined;
136
+ regionUrl: string | undefined;
165
137
  name: string;
166
138
  projectSlug?: unknown;
167
139
  query?: unknown;
@@ -173,13 +145,9 @@ declare const TOOL_HANDLERS: {
173
145
  teamSlug?: unknown;
174
146
  platform?: unknown;
175
147
  }) => Promise<string>;
176
- create_project: (context: ServerContext, {
177
- organizationSlug,
178
- teamSlug,
179
- name,
180
- platform
181
- }: {
148
+ create_project: (context: ServerContext, params: {
182
149
  organizationSlug: string | undefined;
150
+ regionUrl: string | undefined;
183
151
  teamSlug: string;
184
152
  name: string;
185
153
  platform: string | undefined;
@@ -191,12 +159,9 @@ declare const TOOL_HANDLERS: {
191
159
  filename?: unknown;
192
160
  transaction?: unknown;
193
161
  }) => Promise<string>;
194
- create_dsn: (context: ServerContext, {
195
- organizationSlug,
196
- projectSlug,
197
- name
198
- }: {
162
+ create_dsn: (context: ServerContext, params: {
199
163
  organizationSlug: string | undefined;
164
+ regionUrl: string | undefined;
200
165
  projectSlug: string;
201
166
  name: string;
202
167
  query?: unknown;
@@ -208,11 +173,9 @@ declare const TOOL_HANDLERS: {
208
173
  teamSlug?: unknown;
209
174
  platform?: unknown;
210
175
  }) => Promise<string>;
211
- list_dsns: (context: ServerContext, {
212
- organizationSlug,
213
- projectSlug
214
- }: {
176
+ list_dsns: (context: ServerContext, params: {
215
177
  organizationSlug: string | undefined;
178
+ regionUrl: string | undefined;
216
179
  projectSlug: string;
217
180
  query?: unknown;
218
181
  sortBy?: unknown;
@@ -224,12 +187,9 @@ declare const TOOL_HANDLERS: {
224
187
  teamSlug?: unknown;
225
188
  platform?: unknown;
226
189
  }) => Promise<string>;
227
- begin_autofix: (context: ServerContext, {
228
- organizationSlug,
229
- issueId,
230
- issueUrl
231
- }: {
190
+ begin_autofix: (context: ServerContext, params: {
232
191
  organizationSlug: string | undefined;
192
+ regionUrl: string | undefined;
233
193
  issueId: string | undefined;
234
194
  issueUrl: string | undefined;
235
195
  projectSlug?: unknown;
@@ -241,12 +201,9 @@ declare const TOOL_HANDLERS: {
241
201
  teamSlug?: unknown;
242
202
  platform?: unknown;
243
203
  }) => Promise<string>;
244
- get_autofix_status: (context: ServerContext, {
245
- organizationSlug,
246
- issueId,
247
- issueUrl
248
- }: {
204
+ get_autofix_status: (context: ServerContext, params: {
249
205
  organizationSlug: string | undefined;
206
+ regionUrl: string | undefined;
250
207
  issueId: string | undefined;
251
208
  issueUrl: string | undefined;
252
209
  projectSlug?: unknown;
@@ -1 +1 @@
1
- {"version":3,"file":"tools.d.ts","names":[],"sources":["../src/tools.ts"],"sourcesContent":null,"mappings":";;;;;cAqBa;gCA4rBW;;;;;IA5rBX,WAAA,CA4rBW,EAAA,OAAA;IAAA,KAAA,CAAA,EAAA,OAAA;IAAA,MAAA,CAAA,EAAA,OAAA"}
1
+ {"version":3,"file":"tools.d.ts","names":[],"sources":["../src/tools.ts"],"sourcesContent":null,"mappings":";;;;;cAyBa;gCAwkBW;;;IAxkBX,SAAA,EAAA,MAwkBW,GAAA,SAAA;IAAA,WAAA,CAAA,EAAA,OAAA;IAAA,KAAA,CAAA,EAAA,OAAA"}
package/dist/tools.js CHANGED
@@ -1,10 +1,10 @@
1
- import "./schema-D1B8p0Ib.js";
2
- import "./client-BKLE5Lkt.js";
1
+ import "./schema-BzPfPMq7.js";
2
+ import "./client-CpiyA8FR.js";
3
3
  import "./types-H-TSmRpm.js";
4
4
  import "./api-client-9mzrj2HY.js";
5
5
  import "./formatting-Bacfde0I.js";
6
- import "./issue-helpers-DFde36Zu.js";
6
+ import "./issue-helpers-Cx6bFCUv.js";
7
7
  import "./logging-Cxm8lQvg.js";
8
- import { TOOL_HANDLERS } from "./tools-CXgh-6Vh.js";
8
+ import { TOOL_HANDLERS } from "./tools-_Y9eV4LR.js";
9
9
 
10
10
  export { TOOL_HANDLERS };
@@ -1,12 +1,12 @@
1
1
  "use strict";
2
- require('./schema-Bc6_gUDA.cjs');
3
- require('./client-C_XfRSu3.cjs');
2
+ require('./schema-BnXdl41H.cjs');
3
+ require('./client-GWxnTlSP.cjs');
4
4
  require('./types-o3zWarRp.cjs');
5
5
  require('./api-client-CEBuz3Zu.cjs');
6
6
  require('./formatting-BTSvl7n7.cjs');
7
- require('./issue-helpers-C0kEdXOE.cjs');
7
+ require('./issue-helpers-CdWMhVWJ.cjs');
8
8
  require('./logging-BEMgC5SA.cjs');
9
- const require_tools = require('./tools-B22b8Jjm.cjs');
9
+ const require_tools = require('./tools-Ck2CHZeM.cjs');
10
10
  const require_dist = require('./dist-3oa5SxPp.cjs');
11
11
  const require_vi_ClIskdbk = require('./vi.ClIskdbk-Bn6W0wTE.cjs');
12
12
 
@@ -22,7 +22,15 @@ require_dist.describe("list_organizations", () => {
22
22
  require_vi_ClIskdbk.globalExpect(result).toMatchInlineSnapshot(`
23
23
  "# Organizations
24
24
 
25
- - sentry-mcp-evals
25
+ ## **sentry-mcp-evals**
26
+
27
+ **Web URL:** https://sentry.io/sentry-mcp-evals
28
+ **Region URL:** https://us.sentry.io
29
+
30
+ # Using this information
31
+
32
+ - The organization's name is the identifier for the organization, and is used in many tools for \`organizationSlug\`.
33
+ - If a tool supports passing in the \`regionUrl\`, you should also pass in the correct value there.
26
34
  "
27
35
  `);
28
36
  });
@@ -54,13 +62,13 @@ require_dist.describe("list_projects", () => {
54
62
  require_vi_ClIskdbk.globalExpect(result).toMatchInlineSnapshot(`
55
63
  "# Projects in **sentry-mcp-evals**
56
64
 
57
- - cloudflare-mcp
65
+ - **cloudflare-mcp**
58
66
  "
59
67
  `);
60
68
  });
61
69
  });
62
70
  require_dist.describe("list_issues", () => {
63
- require_dist.it("serializes", async () => {
71
+ require_dist.it("serializes with project", async () => {
64
72
  const tool = require_tools.TOOL_HANDLERS.list_issues;
65
73
  const result = await tool({
66
74
  accessToken: "access-token",
@@ -93,6 +101,44 @@ require_dist.describe("list_issues", () => {
93
101
 
94
102
  # Using this information
95
103
 
104
+ - You can reference the Issue ID in commit messages (e.g. \`Fixes <issueID>\`) to automatically close the issue when the commit is merged.
105
+ - You can get more details about a specific issue by using the tool: \`get_issue_details(organizationSlug="sentry-mcp-evals", issueId=<issueID>)\`
106
+ "
107
+ `);
108
+ });
109
+ require_dist.it("serializes without project", async () => {
110
+ const tool = require_tools.TOOL_HANDLERS.list_issues;
111
+ const result = await tool({
112
+ accessToken: "access-token",
113
+ userId: "1",
114
+ organizationSlug: null
115
+ }, {
116
+ organizationSlug: "sentry-mcp-evals",
117
+ projectSlug: void 0,
118
+ query: void 0,
119
+ sortBy: "last_seen"
120
+ });
121
+ require_vi_ClIskdbk.globalExpect(result).toMatchInlineSnapshot(`
122
+ "# Issues in **sentry-mcp-evals**
123
+
124
+ ## CLOUDFLARE-MCP-41
125
+
126
+ **Description**: Error: Tool list_organizations is already registered
127
+ **Culprit**: Object.fetch(index)
128
+ **First Seen**: 2025-04-03T22:51:19.403Z
129
+ **Last Seen**: 2025-04-12T11:34:11.000Z
130
+ **URL**: https://sentry-mcp-evals.sentry.io/issues/CLOUDFLARE-MCP-41
131
+
132
+ ## CLOUDFLARE-MCP-42
133
+
134
+ **Description**: Error: Tool list_issues is already registered
135
+ **Culprit**: Object.fetch(index)
136
+ **First Seen**: 2025-04-11T22:51:19.403Z
137
+ **Last Seen**: 2025-04-12T11:34:11.000Z
138
+ **URL**: https://sentry-mcp-evals.sentry.io/issues/CLOUDFLARE-MCP-42
139
+
140
+ # Using this information
141
+
96
142
  - You can reference the Issue ID in commit messages (e.g. \`Fixes <issueID>\`) to automatically close the issue when the commit is merged.
97
143
  - You can get more details about a specific issue by using the tool: \`get_issue_details(organizationSlug="sentry-mcp-evals", issueId=<issueID>)\`
98
144
  "