File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -3,6 +3,8 @@ package main
33import (
44 "flag"
55 "fmt"
6+
7+ "github.com/sourcegraph/src-cli/internal/mcp"
68)
79
810func init () {
@@ -14,7 +16,7 @@ func init() {
1416}
1517func mcpMain (args []string ) error {
1618 fmt .Println ("NOTE: This command is still experimental" )
17- tools , err := LoadMCPToolDefinitions ( mcpToolListJSON )
19+ tools , err := mcp . LoadToolDefinitions ( )
1820 if err != nil {
1921 return err
2022 }
@@ -35,7 +37,7 @@ func mcpMain(args []string) error {
3537 return handleMcpTool (tool , args [1 :])
3638}
3739
38- func handleMcpTool (tool * MCPToolDef , args []string ) error {
40+ func handleMcpTool (tool * mcp. MCPToolDef , args []string ) error {
3941 fmt .Printf ("handling tool %q args: %+v" , tool .Name , args )
4042 return nil
4143}
You can’t perform that action at this time.
0 commit comments