-
Notifications
You must be signed in to change notification settings - Fork 1
Open
15 / 1515 of 15 issues completedOpen
15 / 1515 of 15 issues completed
Copy link
Description
Currently, tool generation is not adding in the parameters for a given request in the following generation function:
func generateMCPTool(g *protogen.GeneratedFile, method *protogen.Method, mcpServerName string)
currently this function is outputting things like:
func (s *vibeServiceMCPServer) SetVibeTool() mcp.Tool {
tool := mcp.NewTool("SetVibe", mcp.WithDescription("Set the Vibe"))
return tool
}
This should handle the parameters of the input to the RCP, in this case, something like this should be output:
func (s *vibeServiceMCPServer) SetVibeTool() mcp.Tool {
tool := mcp.NewTool(
"SetVibe", mcp.WithDescription("Set the Vibe"),
mcp.WithString(
"vibe",
mcp.Required(),
mcp.Description("The vibe to set on the server"),
),
)
return tool
}
Sub-issues
Metadata
Metadata
Assignees
Labels
No labels