(entries []string)
| 322 | } |
| 323 | |
| 324 | func parseEnv(entries []string) map[string]string { |
| 325 | if len(entries) == 0 { |
| 326 | return nil |
| 327 | } |
| 328 | out := map[string]string{} |
| 329 | for _, e := range entries { |
| 330 | if i := strings.IndexByte(e, '='); i > 0 { |
| 331 | out[e[:i]] = e[i+1:] |
| 332 | } |
| 333 | } |
| 334 | return out |
| 335 | } |
| 336 | |
| 337 | // searchGitHubMCP searches GitHub for MCP server repositories matching a query. |
| 338 | func searchGitHubMCP(query string, limit int) ([]ghSearchResult, error) { |