File tree Expand file tree Collapse file tree 3 files changed +5
-3
lines changed
Expand file tree Collapse file tree 3 files changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -49,7 +49,7 @@ func addServerResources(srv *server.MCPServer) {
4949 getWorkspaceExecutables := mcp .NewResourceTemplate (
5050 "flow://workspace/{name}/executables" ,
5151 "workspace_executables" ,
52- mcp .WithTemplateDescription ("Flow executables for a given workspace" ))
52+ mcp .WithTemplateDescription ("List of Flow executables for a given workspace" ))
5353 srv .AddResourceTemplate (getWorkspaceExecutables , getWorkspaceExecutablesHandler )
5454
5555 getExecutable := mcp .NewResourceTemplate (
Original file line number Diff line number Diff line change @@ -17,7 +17,9 @@ func NewMCPServer(ctx *context.Context) *MCPServer {
1717 srv := server .NewMCPServer (
1818 "Flow" ,
1919 "1.0.0" ,
20- server .WithToolCapabilities (true ),
20+ server .WithToolCapabilities (false ),
21+ server .WithResourceCapabilities (false , true ),
22+ server .WithPromptCapabilities (false ),
2123 )
2224
2325 addServerResources (srv )
Original file line number Diff line number Diff line change @@ -19,7 +19,7 @@ func addServerTools(srv *server.MCPServer) {
1919 srv .AddTool (listWorkspaces , listWorkspacesHandler )
2020
2121 listExecutables := mcp .NewTool ("list_executables" ,
22- mcp .WithDescription ("List executables in a workspace " ),
22+ mcp .WithDescription ("List and filter executables across all workspaces " ),
2323 mcp .WithString ("workspace" , mcp .Description ("Workspace name (optional)" )),
2424 mcp .WithString ("namespace" , mcp .Description ("Namespace filter (optional)" )),
2525 mcp .WithString ("verb" , mcp .Description ("Verb filter (optional)" )),
You can’t perform that action at this time.
0 commit comments