brightspace-mcp-server 5.2.2 → 5.2.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.
@@ -44,8 +44,10 @@ export function registerGetDropboxFolders(server, apiClient) {
44
44
  }
45
45
  catch (error) {
46
46
  if (error instanceof ApiError && error.status === 403) {
47
- return errorResponse("Instructor or TA access required for this course. This tool reads every student's " +
48
- "dropbox folder metadata, which Brightspace only grants to course staff.", "permission");
47
+ return errorResponse("Brightspace refused to list this course's assignment folders (403). Students can " +
48
+ "normally read this list, so the likely causes are that you are not enrolled in this " +
49
+ "course (check the courseId with get_my_courses) or that the course hides its " +
50
+ "Assignments tool from your role. Check the course in Brightspace.", "permission");
49
51
  }
50
52
  if (error instanceof ApiError && error.status === 404) {
51
53
  return toolResponse({
@@ -31,8 +31,10 @@ export function registerGetRubricsForObject(server, apiClient) {
31
31
  }
32
32
  catch (error) {
33
33
  if (error instanceof ApiError && error.status === 403) {
34
- return errorResponse("Instructor or TA access required for this course. This tool reads dropbox rubric " +
35
- "metadata, which Brightspace only grants to course staff.", "permission");
34
+ return errorResponse("Brightspace refused to list this course's assignment folders (403). Students can " +
35
+ "normally read this list, so the likely causes are that you are not enrolled in this " +
36
+ "course (check the courseId with get_my_courses) or that the course hides its " +
37
+ "Assignments tool from your role. Check the course in Brightspace.", "permission");
36
38
  }
37
39
  if (error instanceof ApiError && error.status === 404) {
38
40
  return toolResponse({
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "brightspace-mcp-server",
3
- "version": "5.2.2",
3
+ "version": "5.2.3",
4
4
  "mcpName": "io.github.RohanMuppa/brightspace",
5
5
  "description": "MCP server for Brightspace (D2L). Check grades, due dates, assignments, announcements, syllabus, rosters and more via Claude, ChatGPT, Cursor, Windsurf, or any MCP client.",
6
6
  "type": "module",