@pyai/mcp 0.3.0 → 0.3.2
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/extra-tools.js +1 -0
- package/dist/server.js +1 -1
- package/dist/tools.js +9 -1
- package/package.json +1 -1
- package/server.json +2 -2
package/dist/extra-tools.js
CHANGED
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.
|
|
5
|
+
export const MCP_VERSION = "0.3.2";
|
|
6
6
|
export function createMcpServer(client, context = localContext) {
|
|
7
7
|
const server = new Server({
|
|
8
8
|
name: "pyai",
|
package/dist/tools.js
CHANGED
|
@@ -388,7 +388,15 @@ export const TOOLS = [
|
|
|
388
388
|
...EXTRA_TOOLS,
|
|
389
389
|
].map((t) => ({
|
|
390
390
|
...t,
|
|
391
|
-
|
|
391
|
+
// Every client receives a display title, including handwritten tools.
|
|
392
|
+
// Keep protocol names stable and preserve acronyms in human-facing labels.
|
|
393
|
+
title: t.title ??
|
|
394
|
+
(t.name === "whoami"
|
|
395
|
+
? "Who Am I"
|
|
396
|
+
: t.name
|
|
397
|
+
.split("_")
|
|
398
|
+
.map((word) => word === "amd" ? "AMD" : word[0].toUpperCase() + word.slice(1))
|
|
399
|
+
.join(" ")),
|
|
392
400
|
annotations: t.annotations ?? {
|
|
393
401
|
readOnlyHint: readOnly.has(t.name),
|
|
394
402
|
destructiveHint: ["configure_amd", "enable_recap"].includes(t.name),
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pyai/mcp",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.2",
|
|
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.
|
|
11
|
+
"version": "0.3.2",
|
|
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.
|
|
23
|
+
"version": "0.3.2",
|
|
24
24
|
"transport": {
|
|
25
25
|
"type": "stdio"
|
|
26
26
|
},
|