enhance_mcp_data ================ .. py:module:: enhance_mcp_data .. autoapi-nested-parse:: Enhanced MCP Data Collector. Collects comprehensive information about MCP servers including: - Full README content - Detailed documentation - Installation instructions - Code examples - Dependencies Attributes ---------- .. autoapisummary:: enhance_mcp_data.logger Classes ------- .. autoapisummary:: enhance_mcp_data.GitHubDataEnhancer enhance_mcp_data.MCPDataEnhancer Functions --------- .. autoapisummary:: enhance_mcp_data.main Module Contents --------------- .. py:class:: GitHubDataEnhancer(github_token: str | None = None) Enhanced data collection from GitHub repositories. .. py:method:: __aenter__() :async: Aenter . .. py:method:: __aexit__(exc_type, exc_val, exc_tb) :async: Aexit . :param exc_type: [TODO: Add description] :param exc_val: [TODO: Add description] :param exc_tb: [TODO: Add description] .. py:method:: check_rate_limit() :async: Check and respect GitHub rate limits. .. py:method:: extract_github_info(url: str) -> dict[str, str] | None Extract owner and repo from GitHub URL. .. py:method:: fetch_github_api(url: str) -> dict[str, Any] | None :async: Fetch data from GitHub API with rate limiting. .. py:method:: get_dependencies(owner: str, repo: str) -> dict[str, Any] :async: Extract dependencies from package files. .. py:method:: get_repository_info(repo_url: str) -> dict[str, Any] :async: Get comprehensive repository information. .. py:attribute:: github_token :value: None .. py:attribute:: rate_limit_remaining :value: 5000 .. py:attribute:: rate_limit_reset :value: 0 .. py:attribute:: session :value: None .. py:class:: MCPDataEnhancer(github_token: str | None = None) Main class for enhancing MCP server data. .. py:method:: enhance_all_servers(max_servers: int | None = None) -> None :async: Enhance data for all MCP servers. .. py:method:: enhance_single_server(server: dict[str, Any], enhancer: GitHubDataEnhancer) -> dict[str, Any] :async: Enhance data for a single MCP server. .. py:method:: extract_install_instructions(readme_content: str) -> dict[str, str] Extract installation instructions from README content. .. py:method:: load_existing_data() -> list[dict[str, Any]] :async: Load existing MCP servers data. .. py:attribute:: data_path .. py:attribute:: github_token :value: None .. py:function:: main() :async: Main execution function. .. py:data:: logger