Skip to content

Commit 09ffd35

Browse files
authored
Merge pull request #11 from universal-tool-calling-protocol/dev
Update MCP Plugin
2 parents 2b820ac + 89b3b62 commit 09ffd35

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

packages/mcp/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@utcp/mcp",
3-
"version": "1.0.12",
3+
"version": "1.0.14",
44
"description": "Model Context Protocol integration for UTCP",
55
"main": "dist/index.cjs",
66
"module": "dist/index.js",

packages/mcp/src/mcp_communication_protocol.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ export class McpCommunicationProtocol implements CommunicationProtocol {
9999
};
100100

101101
transport = new StdioClientTransport({
102-
command: isWindows ? 'cmd.exe' : '/bin/sh',
102+
command: isWindows ? 'cmd.exe' : 'sh',
103103
args: isWindows ? ['/c', commandString] : ['-c', commandString],
104104
cwd: stdioConfig.cwd,
105105
env: combinedEnv,
@@ -192,7 +192,7 @@ export class McpCommunicationProtocol implements CommunicationProtocol {
192192

193193
const utcpTools = mcpToolsResult.tools.map((mcpTool: McpToolResponse) => {
194194
return {
195-
name: `${serverName}.${mcpTool.name}`,
195+
name: `${mcpCallTemplate.name}.${serverName}.${mcpTool.name}`,
196196
description: mcpTool.description || '',
197197
inputs: mcpTool.inputSchema as JsonSchema,
198198
outputs: mcpTool.outputSchema as JsonSchema,

0 commit comments

Comments
 (0)