@thalovant/mcp-server 0.1.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/.env.example +49 -0
- package/CHANGELOG.md +14 -0
- package/LICENSE +21 -0
- package/README.md +288 -0
- package/SECURITY.md +22 -0
- package/dist/index.d.ts +38 -0
- package/dist/index.js +1612 -0
- package/examples/claude_desktop_config.json +11 -0
- package/examples/principal-credentials.sample.json +24 -0
- package/package.json +76 -0
- package/server.json +48 -0
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
{
|
|
2
|
+
"principals": {
|
|
3
|
+
"oauth-sub-or-static-token-fingerprint": {
|
|
4
|
+
"control": {
|
|
5
|
+
"apiUrl": "https://api.thalovant.com",
|
|
6
|
+
"accessToken": "thalovant-api-access-token"
|
|
7
|
+
},
|
|
8
|
+
"runtime": {
|
|
9
|
+
"identity": {
|
|
10
|
+
"access_key": "client-access-key",
|
|
11
|
+
"password": "client-password",
|
|
12
|
+
"site_id": "client-site-id",
|
|
13
|
+
"default_master": "https://hub.example.com",
|
|
14
|
+
"data_plane_endpoints": {
|
|
15
|
+
"wss": "wss://hub.example.com/public",
|
|
16
|
+
"https": "https://hub.example.com/public"
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
},
|
|
20
|
+
"allowedTools": ["thalovant_*"],
|
|
21
|
+
"deniedTools": ["thalovant_delete_memory_item"]
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
}
|
package/package.json
ADDED
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@thalovant/mcp-server",
|
|
3
|
+
"version": "0.1.0",
|
|
4
|
+
"description": "Stdio and Streamable HTTP MCP server for Thalovant control-plane and hub runtime APIs.",
|
|
5
|
+
"license": "MIT",
|
|
6
|
+
"type": "module",
|
|
7
|
+
"homepage": "https://github.com/thalovant/thalovant-mcp#readme",
|
|
8
|
+
"repository": {
|
|
9
|
+
"type": "git",
|
|
10
|
+
"url": "git+https://github.com/thalovant/thalovant-mcp.git"
|
|
11
|
+
},
|
|
12
|
+
"bugs": {
|
|
13
|
+
"url": "https://github.com/thalovant/thalovant-mcp/issues"
|
|
14
|
+
},
|
|
15
|
+
"packageManager": "npm@10.9.7",
|
|
16
|
+
"mcpName": "io.github.thalovant/thalovant-mcp",
|
|
17
|
+
"types": "./dist/index.d.ts",
|
|
18
|
+
"exports": {
|
|
19
|
+
".": {
|
|
20
|
+
"types": "./dist/index.d.ts",
|
|
21
|
+
"import": "./dist/index.js"
|
|
22
|
+
}
|
|
23
|
+
},
|
|
24
|
+
"sideEffects": false,
|
|
25
|
+
"publishConfig": {
|
|
26
|
+
"access": "public"
|
|
27
|
+
},
|
|
28
|
+
"bin": {
|
|
29
|
+
"thalovant-mcp": "./dist/index.js"
|
|
30
|
+
},
|
|
31
|
+
"files": [
|
|
32
|
+
"dist",
|
|
33
|
+
"README.md",
|
|
34
|
+
"SECURITY.md",
|
|
35
|
+
"CHANGELOG.md",
|
|
36
|
+
"LICENSE",
|
|
37
|
+
"server.json",
|
|
38
|
+
".env.example",
|
|
39
|
+
"examples"
|
|
40
|
+
],
|
|
41
|
+
"scripts": {
|
|
42
|
+
"build": "tsc && chmod 755 dist/index.js",
|
|
43
|
+
"clean": "rm -rf dist coverage",
|
|
44
|
+
"start": "node dist/index.js",
|
|
45
|
+
"start:http": "node dist/index.js --http",
|
|
46
|
+
"typecheck": "tsc --noEmit",
|
|
47
|
+
"test": "vitest run",
|
|
48
|
+
"test:smoke": "vitest run test/smoke.test.ts",
|
|
49
|
+
"test:http": "vitest run test/http.test.ts",
|
|
50
|
+
"bench": "node scripts/bench-startup.mjs",
|
|
51
|
+
"bench:http": "node scripts/bench-http.mjs",
|
|
52
|
+
"prepack": "npm run build"
|
|
53
|
+
},
|
|
54
|
+
"keywords": [
|
|
55
|
+
"mcp",
|
|
56
|
+
"model-context-protocol",
|
|
57
|
+
"thalovant",
|
|
58
|
+
"agents",
|
|
59
|
+
"claude",
|
|
60
|
+
"codex"
|
|
61
|
+
],
|
|
62
|
+
"engines": {
|
|
63
|
+
"node": ">=20"
|
|
64
|
+
},
|
|
65
|
+
"dependencies": {
|
|
66
|
+
"@modelcontextprotocol/sdk": "^1.29.0",
|
|
67
|
+
"@thalovant/sdk": "^0.2.15",
|
|
68
|
+
"jose": "^6.2.3",
|
|
69
|
+
"zod": "^3.25.76"
|
|
70
|
+
},
|
|
71
|
+
"devDependencies": {
|
|
72
|
+
"@types/node": "^22.18.12",
|
|
73
|
+
"typescript": "^5.9.3",
|
|
74
|
+
"vitest": "^3.2.4"
|
|
75
|
+
}
|
|
76
|
+
}
|
package/server.json
ADDED
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://static.modelcontextprotocol.io/schemas/2025-12-11/server.schema.json",
|
|
3
|
+
"name": "io.github.thalovant/thalovant-mcp",
|
|
4
|
+
"title": "Thalovant MCP",
|
|
5
|
+
"description": "Connect MCP clients to Thalovant control-plane and hub runtime APIs over stdio or Streamable HTTP.",
|
|
6
|
+
"repository": {
|
|
7
|
+
"url": "https://github.com/thalovant/thalovant-mcp",
|
|
8
|
+
"source": "github"
|
|
9
|
+
},
|
|
10
|
+
"version": "0.1.0",
|
|
11
|
+
"remotes": [
|
|
12
|
+
{
|
|
13
|
+
"type": "streamable-http",
|
|
14
|
+
"url": "https://{host}/mcp",
|
|
15
|
+
"variables": {
|
|
16
|
+
"host": {
|
|
17
|
+
"description": "Your deployed Thalovant MCP host, for example mcp.example.com.",
|
|
18
|
+
"isRequired": true
|
|
19
|
+
}
|
|
20
|
+
},
|
|
21
|
+
"headers": [
|
|
22
|
+
{
|
|
23
|
+
"name": "Authorization",
|
|
24
|
+
"description": "Bearer token issued for this MCP resource server.",
|
|
25
|
+
"isRequired": true,
|
|
26
|
+
"isSecret": true
|
|
27
|
+
}
|
|
28
|
+
]
|
|
29
|
+
}
|
|
30
|
+
],
|
|
31
|
+
"packages": [
|
|
32
|
+
{
|
|
33
|
+
"registryType": "npm",
|
|
34
|
+
"identifier": "@thalovant/mcp-server",
|
|
35
|
+
"version": "0.1.0",
|
|
36
|
+
"transport": {
|
|
37
|
+
"type": "stdio"
|
|
38
|
+
}
|
|
39
|
+
},
|
|
40
|
+
{
|
|
41
|
+
"registryType": "oci",
|
|
42
|
+
"identifier": "ghcr.io/thalovant/thalovant-mcp-server:0.1.0",
|
|
43
|
+
"transport": {
|
|
44
|
+
"type": "streamable-http"
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
]
|
|
48
|
+
}
|