@massteck/aloc-mcp-server 1.0.7 → 1.0.9

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,16 @@
1
+ {
2
+ "$schema": "http://json-schema.org/draft-07/schema#",
3
+ "type": "object",
4
+ "required": ["apiKey"],
5
+ "properties": {
6
+ "apiKey": {
7
+ "type": "string",
8
+ "description": "Your ALOC live or sandbox API key (obtain from https://aloc.com.ng/dashboard/api-keys)"
9
+ },
10
+ "baseUrl": {
11
+ "type": "string",
12
+ "default": "https://dev.aloc.com.ng/api/v1",
13
+ "description": "ALOC Station API base URL"
14
+ }
15
+ }
16
+ }
package/dist/client.js CHANGED
@@ -70,7 +70,7 @@ class AlocClient {
70
70
  L4: { name: "Intelligence", cost: "10 credits", description: "Semantic vector similarity, question generation, and trend analytics" },
71
71
  },
72
72
  guidelines: {
73
- pagination: "Cursor-based pagination with max 20 items per request (50 items max via direct REST)",
73
+ pagination: "Cursor-based pagination with max 15 items per request on /v1/questions (up to 60 items via POST /v1/assessments/generate)",
74
74
  filtering: "At least one filter (subject, examType, or year) is required",
75
75
  },
76
76
  };
package/dist/index.js CHANGED
@@ -92,7 +92,7 @@ server.setRequestHandler(types_js_1.ListToolsRequestSchema, async () => {
92
92
  },
93
93
  limit: {
94
94
  type: "number",
95
- description: "Number of questions to return (max 20, default 5)",
95
+ description: "Number of questions to return (max 15, default 5)",
96
96
  default: 5,
97
97
  },
98
98
  },
@@ -346,7 +346,7 @@ server.setRequestHandler(types_js_1.CallToolRequestSchema, async (request) => {
346
346
  year,
347
347
  topic,
348
348
  difficulty,
349
- limit: Math.min(limit || 5, 20),
349
+ limit: Math.min(limit || 5, 15),
350
350
  });
351
351
  return {
352
352
  content: [
package/manifest.json ADDED
@@ -0,0 +1,21 @@
1
+ {
2
+ "manifest_version": "0.2",
3
+ "name": "@massteck/aloc-mcp-server",
4
+ "version": "1.0.0",
5
+ "description": "Official Model Context Protocol (MCP) Server for ALOC assessment content infrastructure",
6
+ "author": {
7
+ "name": "ALOC Infrastructure Team"
8
+ },
9
+ "server": {
10
+ "type": "node",
11
+ "entry_point": "dist/index.js",
12
+ "mcp_config": {
13
+ "command": "node",
14
+ "args": [
15
+ "${__dirname}/dist/index.js"
16
+ ],
17
+ "env": {}
18
+ }
19
+ },
20
+ "license": "Proprietary"
21
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@massteck/aloc-mcp-server",
3
- "version": "1.0.7",
3
+ "version": "1.0.9",
4
4
  "description": "Official Model Context Protocol (MCP) Server for ALOC assessment content infrastructure",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
package/src/client.ts CHANGED
@@ -78,7 +78,7 @@ export class AlocClient {
78
78
  L4: { name: "Intelligence", cost: "10 credits", description: "Semantic vector similarity, question generation, and trend analytics" },
79
79
  },
80
80
  guidelines: {
81
- pagination: "Cursor-based pagination with max 20 items per request (50 items max via direct REST)",
81
+ pagination: "Cursor-based pagination with max 15 items per request on /v1/questions (up to 60 items via POST /v1/assessments/generate)",
82
82
  filtering: "At least one filter (subject, examType, or year) is required",
83
83
  },
84
84
  };
package/src/index.ts CHANGED
@@ -107,7 +107,7 @@ server.setRequestHandler(ListToolsRequestSchema, async () => {
107
107
  },
108
108
  limit: {
109
109
  type: "number",
110
- description: "Number of questions to return (max 20, default 5)",
110
+ description: "Number of questions to return (max 15, default 5)",
111
111
  default: 5,
112
112
  },
113
113
  },
@@ -374,7 +374,7 @@ server.setRequestHandler(CallToolRequestSchema, async (request) => {
374
374
  year,
375
375
  topic,
376
376
  difficulty,
377
- limit: Math.min(limit || 5, 20),
377
+ limit: Math.min(limit || 5, 15),
378
378
  });
379
379
  return {
380
380
  content: [