@pyai/mcp 0.3.2 → 0.3.3

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.
@@ -14,7 +14,7 @@ export const API_TOOLS = [
14
14
  "readOnlyHint": true,
15
15
  "destructiveHint": false,
16
16
  "idempotentHint": true,
17
- "openWorldHint": true
17
+ "openWorldHint": false
18
18
  },
19
19
  "route": {
20
20
  "method": "GET",
@@ -338,7 +338,7 @@ export const API_TOOLS = [
338
338
  "readOnlyHint": true,
339
339
  "destructiveHint": false,
340
340
  "idempotentHint": true,
341
- "openWorldHint": true
341
+ "openWorldHint": false
342
342
  },
343
343
  "route": {
344
344
  "method": "GET",
@@ -634,7 +634,7 @@ export const API_TOOLS = [
634
634
  },
635
635
  "annotations": {
636
636
  "readOnlyHint": false,
637
- "destructiveHint": false,
637
+ "destructiveHint": true,
638
638
  "idempotentHint": false,
639
639
  "openWorldHint": true
640
640
  },
@@ -761,7 +761,7 @@ export const API_TOOLS = [
761
761
  "readOnlyHint": false,
762
762
  "destructiveHint": true,
763
763
  "idempotentHint": true,
764
- "openWorldHint": true
764
+ "openWorldHint": false
765
765
  },
766
766
  "route": {
767
767
  "method": "PUT",
@@ -789,7 +789,7 @@ export const API_TOOLS = [
789
789
  "readOnlyHint": true,
790
790
  "destructiveHint": false,
791
791
  "idempotentHint": true,
792
- "openWorldHint": true
792
+ "openWorldHint": false
793
793
  },
794
794
  "route": {
795
795
  "method": "GET",
@@ -939,7 +939,7 @@ export const API_TOOLS = [
939
939
  "readOnlyHint": false,
940
940
  "destructiveHint": true,
941
941
  "idempotentHint": true,
942
- "openWorldHint": true
942
+ "openWorldHint": false
943
943
  },
944
944
  "route": {
945
945
  "method": "PUT",
@@ -962,7 +962,7 @@ export const API_TOOLS = [
962
962
  "readOnlyHint": true,
963
963
  "destructiveHint": false,
964
964
  "idempotentHint": true,
965
- "openWorldHint": true
965
+ "openWorldHint": false
966
966
  },
967
967
  "route": {
968
968
  "method": "GET",
@@ -1020,7 +1020,7 @@ export const API_TOOLS = [
1020
1020
  "readOnlyHint": false,
1021
1021
  "destructiveHint": false,
1022
1022
  "idempotentHint": false,
1023
- "openWorldHint": true
1023
+ "openWorldHint": false
1024
1024
  },
1025
1025
  "route": {
1026
1026
  "method": "POST",
@@ -1064,7 +1064,7 @@ export const API_TOOLS = [
1064
1064
  "readOnlyHint": true,
1065
1065
  "destructiveHint": false,
1066
1066
  "idempotentHint": true,
1067
- "openWorldHint": true
1067
+ "openWorldHint": false
1068
1068
  },
1069
1069
  "route": {
1070
1070
  "method": "GET",
@@ -1099,7 +1099,7 @@ export const API_TOOLS = [
1099
1099
  "readOnlyHint": true,
1100
1100
  "destructiveHint": false,
1101
1101
  "idempotentHint": true,
1102
- "openWorldHint": true
1102
+ "openWorldHint": false
1103
1103
  },
1104
1104
  "route": {
1105
1105
  "method": "GET",
@@ -1155,7 +1155,7 @@ export const API_TOOLS = [
1155
1155
  "readOnlyHint": true,
1156
1156
  "destructiveHint": false,
1157
1157
  "idempotentHint": true,
1158
- "openWorldHint": true
1158
+ "openWorldHint": false
1159
1159
  },
1160
1160
  "route": {
1161
1161
  "method": "GET",
@@ -1210,7 +1210,7 @@ export const API_TOOLS = [
1210
1210
  "readOnlyHint": true,
1211
1211
  "destructiveHint": false,
1212
1212
  "idempotentHint": true,
1213
- "openWorldHint": true
1213
+ "openWorldHint": false
1214
1214
  },
1215
1215
  "route": {
1216
1216
  "method": "GET",
@@ -1247,7 +1247,7 @@ export const API_TOOLS = [
1247
1247
  "readOnlyHint": true,
1248
1248
  "destructiveHint": false,
1249
1249
  "idempotentHint": true,
1250
- "openWorldHint": true
1250
+ "openWorldHint": false
1251
1251
  },
1252
1252
  "route": {
1253
1253
  "method": "GET",
@@ -1272,7 +1272,7 @@ export const API_TOOLS = [
1272
1272
  "readOnlyHint": true,
1273
1273
  "destructiveHint": false,
1274
1274
  "idempotentHint": true,
1275
- "openWorldHint": true
1275
+ "openWorldHint": false
1276
1276
  },
1277
1277
  "route": {
1278
1278
  "method": "GET",
@@ -1295,7 +1295,7 @@ export const API_TOOLS = [
1295
1295
  "readOnlyHint": true,
1296
1296
  "destructiveHint": false,
1297
1297
  "idempotentHint": true,
1298
- "openWorldHint": true
1298
+ "openWorldHint": false
1299
1299
  },
1300
1300
  "route": {
1301
1301
  "method": "GET",
@@ -1333,7 +1333,7 @@ export const API_TOOLS = [
1333
1333
  "readOnlyHint": false,
1334
1334
  "destructiveHint": false,
1335
1335
  "idempotentHint": false,
1336
- "openWorldHint": true
1336
+ "openWorldHint": false
1337
1337
  },
1338
1338
  "route": {
1339
1339
  "method": "POST",
@@ -1423,7 +1423,7 @@ export const API_TOOLS = [
1423
1423
  "readOnlyHint": false,
1424
1424
  "destructiveHint": false,
1425
1425
  "idempotentHint": false,
1426
- "openWorldHint": true
1426
+ "openWorldHint": false
1427
1427
  },
1428
1428
  "route": {
1429
1429
  "method": "POST",
@@ -1458,7 +1458,7 @@ export const API_TOOLS = [
1458
1458
  "readOnlyHint": true,
1459
1459
  "destructiveHint": false,
1460
1460
  "idempotentHint": true,
1461
- "openWorldHint": true
1461
+ "openWorldHint": false
1462
1462
  },
1463
1463
  "route": {
1464
1464
  "method": "GET",
package/dist/server.js CHANGED
@@ -2,7 +2,7 @@ import { Server } from "@modelcontextprotocol/sdk/server/index.js";
2
2
  import { CallToolRequestSchema, ListToolsRequestSchema, ListResourcesRequestSchema, ReadResourceRequestSchema, ListPromptsRequestSchema, GetPromptRequestSchema, McpError, ErrorCode, } from "@modelcontextprotocol/sdk/types.js";
3
3
  import { TOOLS, TOOL_SCOPES, callTool, localContext, } from "./tools.js";
4
4
  import { GUIDE, RESOURCES, SERVER_INSTRUCTIONS, WORKFLOWS, } from "./workflows.js";
5
- export const MCP_VERSION = "0.3.2";
5
+ export const MCP_VERSION = "0.3.3";
6
6
  export function createMcpServer(client, context = localContext) {
7
7
  const server = new Server({
8
8
  name: "pyai",
package/dist/tools.js CHANGED
@@ -401,7 +401,8 @@ export const TOOLS = [
401
401
  readOnlyHint: readOnly.has(t.name),
402
402
  destructiveHint: ["configure_amd", "enable_recap"].includes(t.name),
403
403
  idempotentHint: readOnly.has(t.name),
404
- openWorldHint: !["get_started", "discover_tools"].includes(t.name),
404
+ openWorldHint: !readOnly.has(t.name) &&
405
+ !["synthesize_speech", "create_dub", "preview_cast_line", "transcribe_audio"].includes(t.name),
405
406
  },
406
407
  _meta: {
407
408
  securitySchemes: TOOL_SCOPES[t.name]
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pyai/mcp",
3
- "version": "0.3.2",
3
+ "version": "0.3.3",
4
4
  "description": "PyAI MCP: OAuth-connected voice agents, speech, transcription, compliance, call summaries, dubbing and expressive narration for chat apps and coding agents.",
5
5
  "type": "module",
6
6
  "license": "MIT",
package/server.json CHANGED
@@ -8,7 +8,7 @@
8
8
  "source": "github",
9
9
  "subfolder": "mcp"
10
10
  },
11
- "version": "0.3.2",
11
+ "version": "0.3.3",
12
12
  "websiteUrl": "https://pyai.com/mcp",
13
13
  "remotes": [
14
14
  {
@@ -20,7 +20,7 @@
20
20
  {
21
21
  "registryType": "npm",
22
22
  "identifier": "@pyai/mcp",
23
- "version": "0.3.2",
23
+ "version": "0.3.3",
24
24
  "transport": {
25
25
  "type": "stdio"
26
26
  },