-
Notifications
You must be signed in to change notification settings - Fork 107
Description
Not sure what went wrong here , just tried to run a quick test and got this error
mcp > call read_file {"path": "~/.cursor/mcp.json"}
panic: runtime error: index out of range [4] with length 3
goroutine 1 [running]:
main.main.newShellCmd.func8(0x140000fa500?, {0x140000ae500, 0x4, 0x100931fe7?})
github.com/f/mcptools/cmd/mcptools/main.go:688 +0x14b4
github.com/spf13/cobra.(*Command).execute(0x140000ff808, {0x140000ae500, 0x4, 0x4})
github.com/spf13/[email protected]/command.go:1019 +0x810
github.com/spf13/cobra.(*Command).ExecuteC(0x140000fe008)
github.com/spf13/[email protected]/command.go:1148 +0x350
github.com/spf13/cobra.(*Command).Execute(...)
github.com/spf13/[email protected]/command.go:1071
main.main()
github.com/f/mcptools/cmd/mcptools/main.go:64 +0x314