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