buildPath is a helper method to build a path with the path prefix
(p string)
| 370 | |
| 371 | // buildPath is a helper method to build a path with the path prefix |
| 372 | func (s *MCPServer) buildPath(p string) string { |
| 373 | return path.Join(s.pathPrefix, p) |
| 374 | } |
| 375 | |
| 376 | func toolResult(body string, contentType string, encoding string, version string) *mcp.CallToolResult { |
| 377 | res := mcp.NewToolResultText(body) |
no test coverage detected