MCPcopy
hub / github.com/collabnix/kubetools / extract_tool_info

Method extract_tool_info

scripts/discover_tools.py:84–94  ·  view source on GitHub ↗

Extract relevant information from GitHub repo

(self, repo)

Source from the content-addressed store, hash-verified

82 return unique_tools
83
84 def extract_tool_info(self, repo):
85 """Extract relevant information from GitHub repo"""
86 return {
87 'name': repo['name'],
88 'full_name': repo['full_name'],
89 'description': repo.get('description', ''),
90 'url': repo['html_url'],
91 'stars': repo['stargazers_count'],
92 'topics': repo.get('topics', []),
93 'created_at': repo['created_at'],
94 }
95
96 def is_valid_kubernetes_tool(self, tool):
97 """Validate if this is a legitimate Kubernetes tool"""

Callers 1

search_new_toolsMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected