From 674129a34be7f874701b714005c1d84827e70ec1 Mon Sep 17 00:00:00 2001 From: Deluan Date: Sat, 19 Apr 2025 14:48:18 -0400 Subject: [PATCH] fix: update MCP server path for agent initialization Change the MCP server path in MCPAgent from a WASM file to a directory. This adjustment aligns with recent enhancements to the MCPAgent's handling of server types, ensuring proper initialization and access to the server resources. --- core/agents/mcp/mcp_agent.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/agents/mcp/mcp_agent.go b/core/agents/mcp/mcp_agent.go index 5f039d966..45077bee3 100644 --- a/core/agents/mcp/mcp_agent.go +++ b/core/agents/mcp/mcp_agent.go @@ -27,7 +27,7 @@ import ( // Exported constants for testing const ( McpAgentName = "mcp" - McpServerPath = "/Users/deluan/Development/navidrome/plugins-mcp/mcp-server.wasm" + McpServerPath = "/Users/deluan/Development/navidrome/plugins-mcp/mcp-server" McpToolNameGetBio = "get_artist_biography" McpToolNameGetURL = "get_artist_url" initializationTimeout = 10 * time.Second