From a15f2c6f53c70280858b9c3aea6811f6f58da913 Mon Sep 17 00:00:00 2001 From: PeterZhong Date: Sun, 1 Jun 2025 16:44:36 +0800 Subject: [PATCH] =?UTF-8?q?=E5=88=9D=E6=AD=A5=E6=8E=A5=E5=85=A5Python?= =?UTF-8?q?=E6=89=A7=E8=A1=8C=E7=9A=84MCP?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- host/McpServerList.cs | 30 +++++++++++++++--------------- 1 file changed, 15 insertions(+), 15 deletions(-) diff --git a/host/McpServerList.cs b/host/McpServerList.cs index 2752204..ca7415d 100644 --- a/host/McpServerList.cs +++ b/host/McpServerList.cs @@ -67,21 +67,21 @@ public class McpServerList "bing-cn-mcp" } }); - // servers.Add("mcp-python-interpreter", new StdioMcpServer() - // { - // Name = "mcp-python-interpreter", - // Type = "stdio", - // Command = "uvx", - // Args = new List() - // { - // "--native-tls", - // "mcp-python-interpreter", - // "--dir", - // "D:\\01_Project\\20250305_LinkTool\\20250420_AiDemoProject\\TestData", - // "--python-path", - // "C:\\Program Files\\ArcGIS\\Pro\\bin\\Python\\envs\\custom\\python.exe" - // } - // }); + servers.Add("mcp-python-interpreter", new StdioMcpServer() + { + Name = "mcp-python-interpreter", + Type = "stdio", + Command = "uvx", + Args = new List() + { + "--native-tls", + "mcp-python-interpreter", + "--dir", + "D:\\01_Project\\20250305_LinkTool\\20250420_AiDemoProject\\TestData", + "--python-path", + "C:\\Program Files\\ArcGIS\\Pro\\bin\\Python\\envs\\custom\\python.exe" + } + }); } public McpServer GetServer(string name)