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.
This commit is contained in:
Deluan 2025-04-19 14:48:18 -04:00
parent fb0714562d
commit 674129a34b

View File

@ -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