@edubase/mcp 1.1.0 → 1.1.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.
- package/dist/index.js +2 -2
- package/dist/tools/exams.js +1 -1
- package/package.json +4 -2
package/dist/index.js
CHANGED
|
@@ -105,14 +105,14 @@ function createMcpServer(apiUrl = null, authentication = null) {
|
|
|
105
105
|
/* Register prompts */
|
|
106
106
|
server.registerPrompt(prompt.name, { description: prompt.description, argsSchema: prompt.argsSchema }, prompt.handler);
|
|
107
107
|
});
|
|
108
|
-
server.registerTool('edubase_mcp_server_version', { description: 'Get the MCP server version' }, async () => {
|
|
108
|
+
server.registerTool('edubase_mcp_server_version', { description: 'Get the MCP server version (only use for debugging)' }, async () => {
|
|
109
109
|
/* Static response with server version, useful for testing connectivity and authentication */
|
|
110
110
|
return {
|
|
111
111
|
content: [{ type: 'text', text: VERSION }],
|
|
112
112
|
isError: false,
|
|
113
113
|
};
|
|
114
114
|
});
|
|
115
|
-
server.registerTool('edubase_mcp_server_api', { description: 'Get the MCP server API URL' }, async () => {
|
|
115
|
+
server.registerTool('edubase_mcp_server_api', { description: 'Get the MCP server API URL (only use for debugging)' }, async () => {
|
|
116
116
|
/* Static response with server API URL, useful for testing connectivity and authentication */
|
|
117
117
|
return {
|
|
118
118
|
content: [{ type: 'text', text: apiUrl || EDUBASE_API_URL }],
|
package/dist/tools/exams.js
CHANGED
|
@@ -57,7 +57,7 @@ export const EDUBASE_API_TOOLS_EXAMS = [
|
|
|
57
57
|
title: z.string().describe('title of the exam'),
|
|
58
58
|
id: z.string().describe('External unique exam identifier. Should be maximum 64 characters long!'),
|
|
59
59
|
type: z.string().describe('Type of the exam. (default: exam) - exam: regular exam - championship: exam with championship features enabled - homework: homework assignment, can be paused and continued during the exam period - survey: survey (optionally anonymous) with no grading'),
|
|
60
|
-
quiz: z.string().describe('the Quiz set (specified using the
|
|
60
|
+
quiz: z.string().describe('the Quiz set (specified using the Quiz identification string) the exam is attached to'),
|
|
61
61
|
open: z.string().describe('exam start time (in YYYY-mm-dd HH:ii:ss format)'),
|
|
62
62
|
close: z.string().describe('exam end time (in YYYY-mm-dd HH:ii:ss format)'),
|
|
63
63
|
}).partial({ language: true, id: true, type: true }),
|
package/package.json
CHANGED
|
@@ -1,13 +1,15 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@edubase/mcp",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.1",
|
|
4
4
|
"description": "EduBase MCP server",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "EduBase, LLC (https://www.edubase.net)",
|
|
7
7
|
"homepage": "https://www.edubase.net",
|
|
8
8
|
"bugs": "https://github.com/EduBase/MCP/issues",
|
|
9
9
|
"type": "module",
|
|
10
|
-
"bin":
|
|
10
|
+
"bin": {
|
|
11
|
+
"mcp": "dist/index.js"
|
|
12
|
+
},
|
|
11
13
|
"files": [
|
|
12
14
|
"dist"
|
|
13
15
|
],
|