@transcend-io/mcp-server-assessment 0.4.13 → 0.5.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/cli.mjs +13 -7
- package/dist/cli.mjs.map +1 -1
- package/package.json +3 -3
package/dist/cli.mjs
CHANGED
|
@@ -1,18 +1,24 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { n as ASSESSMENT_OAUTH_SCOPES, r as getAssessmentTools, t as AssessmentsMixin } from "./graphql-DGk8vCRP.mjs";
|
|
3
|
-
import {
|
|
3
|
+
import { createMCPServer, createTranscendRestClient } from "@transcend-io/mcp-server-base";
|
|
4
4
|
//#endregion
|
|
5
5
|
//#region src/cli.ts
|
|
6
6
|
createMCPServer({
|
|
7
7
|
name: "transcend-mcp-assessment",
|
|
8
|
-
version: "0.
|
|
8
|
+
version: "0.5.1",
|
|
9
9
|
oauthScopes: ASSESSMENT_OAUTH_SCOPES,
|
|
10
10
|
getTools: getAssessmentTools,
|
|
11
|
-
createClients: ({ auth, sombraUrl, graphqlUrl, dashboardUrl }) =>
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
11
|
+
createClients: ({ auth, sombraUrl, sombraCustomerKey, graphqlUrl, dashboardUrl }) => {
|
|
12
|
+
const graphql = new AssessmentsMixin(auth, graphqlUrl);
|
|
13
|
+
return {
|
|
14
|
+
rest: createTranscendRestClient(auth, graphql, {
|
|
15
|
+
sombraUrl,
|
|
16
|
+
sombraCustomerKey
|
|
17
|
+
}),
|
|
18
|
+
graphql,
|
|
19
|
+
dashboardUrl
|
|
20
|
+
};
|
|
21
|
+
}
|
|
16
22
|
});
|
|
17
23
|
//#endregion
|
|
18
24
|
export {};
|
package/dist/cli.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"cli.mjs","names":["packageJson.version"],"sources":["../package.json","../src/cli.ts"],"sourcesContent":["","#!/usr/bin/env node\nimport { createMCPServer,
|
|
1
|
+
{"version":3,"file":"cli.mjs","names":["packageJson.version"],"sources":["../package.json","../src/cli.ts"],"sourcesContent":["","#!/usr/bin/env node\nimport { createMCPServer, createTranscendRestClient } from '@transcend-io/mcp-server-base';\n\nimport packageJson from '../package.json' with { type: 'json' };\nimport { AssessmentsMixin } from './graphql.js';\nimport { ASSESSMENT_OAUTH_SCOPES } from './scopes.js';\nimport { getAssessmentTools } from './tools/index.js';\n\ncreateMCPServer({\n name: 'transcend-mcp-assessment',\n version: packageJson.version,\n oauthScopes: ASSESSMENT_OAUTH_SCOPES,\n getTools: getAssessmentTools,\n createClients: ({ auth, sombraUrl, sombraCustomerKey, graphqlUrl, dashboardUrl }) => {\n const graphql = new AssessmentsMixin(auth, graphqlUrl);\n return {\n rest: createTranscendRestClient(auth, graphql, { sombraUrl, sombraCustomerKey }),\n graphql,\n dashboardUrl,\n };\n },\n});\n"],"mappings":";;;;;ACQA,gBAAgB;CACd,MAAM;CACGA;CACT,aAAa;CACb,UAAU;CACV,gBAAgB,EAAE,MAAM,WAAW,mBAAmB,YAAY,mBAAmB;EACnF,MAAM,UAAU,IAAI,iBAAiB,MAAM,WAAW;AACtD,SAAO;GACL,MAAM,0BAA0B,MAAM,SAAS;IAAE;IAAW;IAAmB,CAAC;GAChF;GACA;GACD;;CAEJ,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@transcend-io/mcp-server-assessment",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.5.1",
|
|
4
4
|
"description": "Transcend MCP Server — Assessments tools.",
|
|
5
5
|
"homepage": "https://github.com/transcend-io/tools/tree/main/packages/mcp/mcp-server-assessment",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -34,8 +34,8 @@
|
|
|
34
34
|
"@modelcontextprotocol/sdk": "^1.29.0",
|
|
35
35
|
"graphql": "^16.14.0",
|
|
36
36
|
"zod": "^4.3.6",
|
|
37
|
-
"@transcend-io/mcp-server-base": "0.
|
|
38
|
-
"@transcend-io/privacy-types": "5.9.
|
|
37
|
+
"@transcend-io/mcp-server-base": "0.9.0",
|
|
38
|
+
"@transcend-io/privacy-types": "5.9.1"
|
|
39
39
|
},
|
|
40
40
|
"devDependencies": {
|
|
41
41
|
"@arethetypeswrong/cli": "^0.18.2",
|