@tuteliq/mcp 3.3.0 → 3.3.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/src/index.d.ts +1 -1
- package/dist/src/index.d.ts.map +1 -1
- package/dist/src/index.js +3 -4
- package/package.json +1 -1
package/dist/src/index.d.ts
CHANGED
package/dist/src/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":";AAEA,OAAO,EAAE,SAAS,EAAE,MAAM,yCAAyC,CAAC;AAUpE,wBAAgB,YAAY,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":";AAEA,OAAO,EAAE,SAAS,EAAE,MAAM,yCAAyC,CAAC;AAUpE,wBAAgB,YAAY,CAAC,cAAc,CAAC,EAAE,MAAM,GAAG,SAAS,CAqB/D"}
|
package/dist/src/index.js
CHANGED
|
@@ -7,11 +7,10 @@ import { registerMediaTools } from './tools/media.js';
|
|
|
7
7
|
import { registerAnalysisTools } from './tools/analysis.js';
|
|
8
8
|
import { registerAdminTools } from './tools/admin.js';
|
|
9
9
|
import { getTransportMode, startStdio } from './transport.js';
|
|
10
|
-
export function createServer() {
|
|
11
|
-
const apiKey = process.env.TUTELIQ_API_KEY;
|
|
10
|
+
export function createServer(apiKeyOverride) {
|
|
11
|
+
const apiKey = apiKeyOverride || process.env.TUTELIQ_API_KEY;
|
|
12
12
|
if (!apiKey) {
|
|
13
|
-
|
|
14
|
-
process.exit(1);
|
|
13
|
+
throw new Error('API key is required: pass it to createServer() or set TUTELIQ_API_KEY env var');
|
|
15
14
|
}
|
|
16
15
|
const client = new Tuteliq(apiKey);
|
|
17
16
|
const server = new McpServer({
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tuteliq/mcp",
|
|
3
|
-
"version": "3.3.
|
|
3
|
+
"version": "3.3.1",
|
|
4
4
|
"description": "MCP App server for Tuteliq - AI-powered child safety analysis with interactive UI widgets for Claude, ChatGPT, and other MCP hosts",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/src/index.js",
|