@epic-web/workshop-mcp 6.62.2 → 6.62.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.
Files changed (2) hide show
  1. package/dist/tools.js +12 -8
  2. package/package.json +2 -2
package/dist/tools.js CHANGED
@@ -140,9 +140,10 @@ export function initTools(server) {
140
140
  const timeout = setTimeout(() => {
141
141
  void server.server
142
142
  .notification({
143
- method: 'notification',
143
+ method: 'notifications/message',
144
144
  params: {
145
- message: 'Device authorization timed out',
145
+ level: 'warning',
146
+ data: 'Device authorization timed out',
146
147
  },
147
148
  })
148
149
  .catch(() => { });
@@ -152,9 +153,10 @@ export function initTools(server) {
152
153
  clearTimeout(timeout);
153
154
  if (!tokenSet) {
154
155
  await server.server.notification({
155
- method: 'notification',
156
+ method: 'notifications/message',
156
157
  params: {
157
- message: 'No token set',
158
+ level: 'error',
159
+ data: 'No token set',
158
160
  },
159
161
  });
160
162
  return;
@@ -164,9 +166,10 @@ export function initTools(server) {
164
166
  const userinfoResult = UserInfoSchema.safeParse(userinfoRaw);
165
167
  if (!userinfoResult.success) {
166
168
  await server.server.notification({
167
- method: 'notification',
169
+ method: 'notifications/message',
168
170
  params: {
169
- message: `Failed to parse user info: ${userinfoResult.error.message}`,
171
+ level: 'error',
172
+ data: `Failed to parse user info: ${userinfoResult.error.message}`,
170
173
  },
171
174
  });
172
175
  return;
@@ -180,9 +183,10 @@ export function initTools(server) {
180
183
  });
181
184
  await getUserInfo({ forceFresh: true });
182
185
  await server.server.notification({
183
- method: 'notification',
186
+ method: 'notifications/message',
184
187
  params: {
185
- message: 'Authentication successful',
188
+ level: 'info',
189
+ data: 'Authentication successful',
186
190
  },
187
191
  });
188
192
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@epic-web/workshop-mcp",
3
- "version": "6.62.2",
3
+ "version": "6.62.3",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -35,7 +35,7 @@
35
35
  },
36
36
  "dependencies": {
37
37
  "@epic-web/invariant": "^1.0.0",
38
- "@epic-web/workshop-utils": "6.62.2",
38
+ "@epic-web/workshop-utils": "6.62.3",
39
39
  "@mcp-ui/server": "^5.13.1",
40
40
  "@modelcontextprotocol/sdk": "^1.21.1",
41
41
  "@sentry/node": "^10.25.0",