@massteck/aloc-mcp-server 1.0.6 → 1.0.7

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/README.md +43 -10
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -23,15 +23,33 @@ Official Model Context Protocol (MCP) server for **ALOC** (`@massteck/aloc-mcp-s
23
23
 
24
24
  ---
25
25
 
26
- ## Quickstart
26
+ ## Standard MCP Prompts
27
27
 
28
- ### 1. Installation
28
+ In addition to tools, the server registers standard pedagogical prompt templates:
29
+
30
+ | Prompt | Target Domain | Description |
31
+ | :--- | :---: | :--- |
32
+ | `aloc_socratic_tutor` | Socratic Pedagogy | Guides LLMs to retrieve questions and provide progressive hints without spoiling answers. |
33
+ | `aloc_exam_revision_planner` | Curriculum Planning | Analyzes syllabus topic hierarchies and Bloom difficulty to compile structured study timetables. |
34
+ | `aloc_bloom_evaluator` | Psychometrics | Evaluates cognitive complexity and diagnoses underlying student misconceptions. |
35
+
36
+ ---
37
+
38
+ ## Quickstart & Installation
39
+
40
+ ### Option A: 1-Click Install via Smithery.ai (Claude Desktop)
41
+
42
+ ```bash
43
+ npx -y @smithery/cli install @massteck/aloc-mcp-server --client claude
44
+ ```
45
+
46
+ ### Option B: Manual Installation
29
47
 
30
48
  ```bash
31
49
  npm install -g @massteck/aloc-mcp-server
32
50
  ```
33
51
 
34
- ### 2. Configuration (Claude Desktop)
52
+ ### 1. Configuration (Claude Desktop)
35
53
 
36
54
  Add the following to your `claude_desktop_config.json`:
37
55
 
@@ -50,7 +68,7 @@ Add the following to your `claude_desktop_config.json`:
50
68
  }
51
69
  ```
52
70
 
53
- ### 3. Configuration (Cursor IDE)
71
+ ### 2. Configuration (Cursor IDE)
54
72
 
55
73
  Add the following to your `.cursor/mcp.json`:
56
74
 
@@ -71,13 +89,28 @@ Add the following to your `.cursor/mcp.json`:
71
89
 
72
90
  ---
73
91
 
74
- ## Security & Anti-Scraping
92
+ ## Cursor IDE Integration (`.cursorrules`)
93
+
94
+ Drop a `.cursorrules` file into your project root:
95
+
96
+ ```markdown
97
+ # .cursorrules — ALOC Assessment Infrastructure Assistant
98
+
99
+ You are an expert full-stack EdTech engineer building on ALOC Station (https://aloc.com.ng).
100
+
101
+ ## Best Practices
102
+ 1. Assessment Generation: Use 'aloc_generate_assessment' with official presets ('jamb_standard_40', 'waec_standard_50', 'micro_test_10') instead of raw single-question loops.
103
+ 2. Anti-Cheating: Always pass 'shuffleOptions: true' and unique deterministic seeds ('seed') when creating candidate sitting mock tests.
104
+ 3. Socratic Tutoring: When helping students, use 'aloc_get_question_explanation' to extract misconception hints rather than immediately revealing correct answer keys.
105
+ ```
106
+
107
+ ---
108
+
109
+ ## Authentication & Quota Metering
75
110
 
76
- Every MCP tool call:
77
- 1. Passes an authenticated API key via `X-API-Key`.
78
- 2. Sends client telemetry headers (`X-Client-Type: mcp`, `X-Is-Agent: true`).
79
- 3. Deducts metered credits matching the ALOC pricing tiers.
80
- 4. Enforces request limits (maximum 20 items per search) to prevent bulk harvesting.
111
+ - **API Key Security**: Tool invocations authenticate via your `ALOC_API_KEY` passed in the MCP server environment.
112
+ - **Transparent Metering**: Tool executions consume standard API credits matching ALOC tier rates (Discovery tools are free 0-credit, assessment generation is 1 credit, L3 step-by-step reasoning is 10 credits).
113
+ - **Agent Analytics**: Automatic agent telemetry (`X-Client-Type: mcp`) logs tool usage in your Developer Dashboard for real-time cost and volume tracking.
81
114
 
82
115
  ---
83
116
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@massteck/aloc-mcp-server",
3
- "version": "1.0.6",
3
+ "version": "1.0.7",
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",