@mindstone-engineering/mcp-server-talentlms 0.1.0 → 0.2.0

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/LICENSE ADDED
@@ -0,0 +1,97 @@
1
+ # Functional Source License, Version 1.1, MIT Future License
2
+
3
+ ## Abbreviation
4
+
5
+ FSL-1.1-MIT
6
+
7
+ ## Notice
8
+
9
+ Copyright 2026 Mindstone Engineering
10
+
11
+ ## Terms and Conditions
12
+
13
+ ### Licensor ("We")
14
+
15
+ The party offering the Software under these Terms and Conditions.
16
+
17
+ **Licensor**: Mindstone Engineering
18
+
19
+ ### The Software
20
+
21
+ The "Software" is each version of the software that we make available under
22
+ these Terms and Conditions, as indicated by our inclusion of these Terms and
23
+ Conditions with the Software.
24
+
25
+ **Software**: TalentLMS MCP Server
26
+
27
+ ### License Grant
28
+
29
+ Subject to your compliance with this License Grant and the Patents,
30
+ Redistribution and Trademark clauses below, we hereby grant you the right to
31
+ use, copy, modify, create derivative works, publicly perform, publicly display
32
+ and redistribute the Software for any Permitted Purpose identified below.
33
+
34
+ ### Permitted Purpose
35
+
36
+ A Permitted Purpose is any purpose other than a Competing Use. A "Competing
37
+ Use" means making the Software available to third parties as a commercial
38
+ hosted service that directly competes with any product or service provided by
39
+ the Licensor.
40
+
41
+ ### Patents
42
+
43
+ To the extent your use for a Permitted Purpose would necessarily infringe our
44
+ patents, the license grant above includes a license under our patents. If you
45
+ make a claim against any party that the Software infringes or contributes to
46
+ the infringement of any patent, then your patent license to the Software ends
47
+ immediately.
48
+
49
+ ### Redistribution
50
+
51
+ The Terms and Conditions apply to all copies, modifications and derivatives of
52
+ the Software.
53
+
54
+ If you redistribute any copies, modifications or derivatives of the Software,
55
+ you must include a copy of or a link to these Terms and Conditions and not
56
+ remove any copyright notices provided in or with the Software.
57
+
58
+ ### Disclaimer
59
+
60
+ THE SOFTWARE IS PROVIDED "AS IS" AND WITHOUT WARRANTIES OF ANY KIND, EXPRESS OR
61
+ IMPLIED, INCLUDING WITHOUT LIMITATION WARRANTIES OF FITNESS FOR A PARTICULAR
62
+ PURPOSE, MERCHANTABILITY, TITLE OR NON-INFRINGEMENT.
63
+
64
+ IN NO EVENT WILL WE HAVE ANY LIABILITY TO YOU ARISING OUT OF OR RELATED TO THE
65
+ SOFTWARE, INCLUDING INDIRECT, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES, OF
66
+ ANY CHARACTER INCLUDING DAMAGES FOR LOSS OF GOODWILL, LOST PROFITS, LOST SALES
67
+ OR BUSINESS, WORK STOPPAGE, COMPUTER FAILURE OR MALFUNCTION, LOST CONTENT,
68
+ DATA OR DATA USE, BREACH OF DUTY OF GOOD FAITH, OR ANY AND ALL OTHER DAMAGES
69
+ OR LOSSES OF ANY KIND OR NATURE WHATSOEVER (WHETHER DIRECT, INDIRECT, SPECIAL,
70
+ COLLATERAL, INCIDENTAL, CONSEQUENTIAL OR OTHERWISE) ARISING OUT OF OR IN
71
+ CONNECTION WITH THE SOFTWARE OR THIS LICENSE, EVEN IF SUCH PARTY SHALL HAVE
72
+ BEEN INFORMED OF THE POSSIBILITY OF SUCH DAMAGES.
73
+
74
+ ### Trademark
75
+
76
+ Except for displaying the License Details and identifying us as the origin of
77
+ the Software, you have no right under these Terms and Conditions to use our
78
+ trademarks, trade names, service marks or product names.
79
+
80
+ ## Change Date
81
+
82
+ Four years from the date the Software is made available under these Terms and
83
+ Conditions: **2030-04-08**
84
+
85
+ ## Change License
86
+
87
+ MIT License
88
+
89
+ ## License Details
90
+
91
+ | Parameter | Value |
92
+ |---|---|
93
+ | Licensor | Mindstone Engineering |
94
+ | Software | TalentLMS MCP Server |
95
+ | Use Limitation | Competing Use |
96
+ | Change Date | 2030-04-08 |
97
+ | Change License | MIT |
package/README.md ADDED
@@ -0,0 +1,123 @@
1
+ # @mindstone-engineering/mcp-server-talentlms
2
+
3
+ [![npm version](https://img.shields.io/npm/v/@mindstone-engineering/mcp-server-talentlms.svg)](https://www.npmjs.com/package/@mindstone-engineering/mcp-server-talentlms)
4
+ [![License: FSL-1.1-MIT](https://img.shields.io/badge/License-FSL--1.1--MIT-blue.svg)](./LICENSE)
5
+
6
+ TalentLMS MCP server for Model Context Protocol hosts. Manage users, courses, groups, branches, enrolments, reporting, and assessments in TalentLMS through a standardised MCP interface.
7
+
8
+ ## Requirements
9
+
10
+ - Node.js 20+
11
+ - npm
12
+
13
+ ## Quick Start
14
+
15
+ ### Install & build
16
+
17
+ ```bash
18
+ cd <path-to-repo>/connectors/talentlms
19
+ npm install
20
+ npm run build
21
+ ```
22
+
23
+ ### npx (once published)
24
+
25
+ ```bash
26
+ npx -y @mindstone-engineering/mcp-server-talentlms
27
+ ```
28
+
29
+ ### Local
30
+
31
+ ```bash
32
+ node dist/index.js
33
+ ```
34
+
35
+ ## Configuration
36
+
37
+ ### Environment variables
38
+
39
+ - `TALENTLMS_API_KEY` — TalentLMS API key
40
+ - `TALENTLMS_DOMAIN` — TalentLMS subdomain (e.g. `acme` for acme.talentlms.com)
41
+ - `TALENTLMS_REQUEST_TIMEOUT` — request timeout in milliseconds (default: `30000`)
42
+ - `MCP_HOST_BRIDGE_STATE` — optional path to a host bridge state file used for credential management
43
+ - `MINDSTONE_REBEL_BRIDGE_STATE` — backwards-compatible alias for `MCP_HOST_BRIDGE_STATE`
44
+
45
+ ## Host configuration examples
46
+
47
+ ### Claude Desktop / Cursor
48
+
49
+ ```json
50
+ {
51
+ "mcpServers": {
52
+ "TalentLMS": {
53
+ "command": "npx",
54
+ "args": ["-y", "@mindstone-engineering/mcp-server-talentlms"],
55
+ "env": {
56
+ "TALENTLMS_API_KEY": "your-api-key",
57
+ "TALENTLMS_DOMAIN": "your-domain"
58
+ }
59
+ }
60
+ }
61
+ }
62
+ ```
63
+
64
+ ### Local development (no npm publish needed)
65
+
66
+ ```json
67
+ {
68
+ "mcpServers": {
69
+ "TalentLMS": {
70
+ "command": "node",
71
+ "args": ["<path-to-repo>/connectors/talentlms/dist/index.js"],
72
+ "env": {
73
+ "TALENTLMS_API_KEY": "your-api-key",
74
+ "TALENTLMS_DOMAIN": "your-domain"
75
+ }
76
+ }
77
+ }
78
+ }
79
+ ```
80
+
81
+ ## Tools (24)
82
+
83
+ ### Configuration
84
+ - `configure_talentlms` — Configure TalentLMS API credentials
85
+
86
+ ### Users
87
+ - `list_talentlms_users` — List all users
88
+ - `get_talentlms_user` — Get a user's full profile by ID or email
89
+ - `create_talentlms_user` — Create a new user
90
+ - `set_talentlms_user_status` — Activate or deactivate a user
91
+ - `get_talentlms_user_courses` — Get all courses a user is enrolled in
92
+
93
+ ### Courses
94
+ - `list_talentlms_courses` — List all courses
95
+ - `get_talentlms_course` — Get full course details by ID
96
+ - `create_talentlms_course` — Create a new course
97
+ - `get_talentlms_course_users` — Get all users enrolled in a course
98
+ - `enrol_talentlms_user` — Enrol a user into a course
99
+ - `unenrol_talentlms_user` — Remove a user from a course
100
+ - `get_talentlms_course_sso_link` — Generate an SSO link to launch a user into a course
101
+
102
+ ### Groups
103
+ - `list_talentlms_groups` — List all groups
104
+ - `get_talentlms_group` — Get group details including members and courses
105
+ - `create_talentlms_group` — Create a new group
106
+ - `add_course_to_talentlms_group` — Assign a course to a group
107
+
108
+ ### Branches
109
+ - `list_talentlms_branches` — List all branches (multi-tenant)
110
+
111
+ ### Reporting
112
+ - `get_talentlms_site_info` — Get site-level statistics and configuration
113
+ - `get_talentlms_timeline` — Get activity timeline for users or courses
114
+ - `get_talentlms_user_progress` — Get detailed progress for a user in a course
115
+
116
+ ### Assessments
117
+ - `get_talentlms_test_answers` — Get a user's answers for a test/quiz
118
+ - `get_talentlms_survey_answers` — Get a user's responses to a survey
119
+ - `get_talentlms_ilt_sessions` — Get instructor-led training sessions for a unit
120
+
121
+ ## Licence
122
+
123
+ [FSL-1.1-MIT](./LICENSE) — Functional Source License, Version 1.1, with MIT future licence. The software converts to MIT licence on 2030-04-08.
package/dist/bridge.d.ts CHANGED
@@ -5,7 +5,7 @@ export declare const BRIDGE_STATE_PATH: string;
5
5
  /**
6
6
  * Send a request to the host app bridge.
7
7
  *
8
- * The bridge is an HTTP server running inside the host app (e.g. Rebel)
8
+ * The bridge is an HTTP server running inside the host app (e.g. the host application)
9
9
  * that handles credential management and other cross-process operations.
10
10
  */
11
11
  export declare const bridgeRequest: (urlPath: string, body: Record<string, unknown>) => Promise<{
package/dist/bridge.js CHANGED
@@ -18,7 +18,7 @@ const loadBridgeState = () => {
18
18
  /**
19
19
  * Send a request to the host app bridge.
20
20
  *
21
- * The bridge is an HTTP server running inside the host app (e.g. Rebel)
21
+ * The bridge is an HTTP server running inside the host app (e.g. the host application)
22
22
  * that handles credential management and other cross-process operations.
23
23
  */
24
24
  export const bridgeRequest = async (urlPath, body) => {
package/dist/index.d.ts CHANGED
@@ -13,8 +13,8 @@
13
13
  * Environment variables:
14
14
  * - TALENTLMS_API_KEY: TalentLMS API key (Super Admin required)
15
15
  * - TALENTLMS_DOMAIN: TalentLMS subdomain (e.g., "acme" for acme.talentlms.com)
16
- * - MCP_HOST_BRIDGE_STATE: Path to host app bridge state file (optional)
17
- * - MINDSTONE_REBEL_BRIDGE_STATE: Legacy bridge state path (optional)
16
+ * - MCP_HOST_BRIDGE_STATE: Path to host app bridge state file (primary, optional)
17
+ * - MINDSTONE_REBEL_BRIDGE_STATE: Legacy/deprecated bridge state path (optional)
18
18
  */
19
19
  export {};
20
20
  //# sourceMappingURL=index.d.ts.map
package/dist/index.js CHANGED
@@ -13,8 +13,8 @@
13
13
  * Environment variables:
14
14
  * - TALENTLMS_API_KEY: TalentLMS API key (Super Admin required)
15
15
  * - TALENTLMS_DOMAIN: TalentLMS subdomain (e.g., "acme" for acme.talentlms.com)
16
- * - MCP_HOST_BRIDGE_STATE: Path to host app bridge state file (optional)
17
- * - MINDSTONE_REBEL_BRIDGE_STATE: Legacy bridge state path (optional)
16
+ * - MCP_HOST_BRIDGE_STATE: Path to host app bridge state file (primary, optional)
17
+ * - MINDSTONE_REBEL_BRIDGE_STATE: Legacy/deprecated bridge state path (optional)
18
18
  */
19
19
  import { StdioServerTransport } from '@modelcontextprotocol/sdk/server/stdio.js';
20
20
  import { createServer } from './server.js';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mindstone-engineering/mcp-server-talentlms",
3
- "version": "0.1.0",
3
+ "version": "0.2.0",
4
4
  "description": "TalentLMS MCP server for Model Context Protocol hosts — users, courses, groups, branches, reporting, assessments",
5
5
  "license": "FSL-1.1-MIT",
6
6
  "type": "module",