Commit e042a64
authored
Refactor: Use MCP registry API as source of truth (#492)
- Replace static github-mcp-registry.json with live API calls
- Fetch from https://api.mcp.github.com/v0.1/servers/ with pagination support
- Extract displayName from GitHub metadata for better matching
- Implement smart matching logic:
* Case-insensitive comparison
* Match against both displayName and full name
* Strip common suffixes like -mcp-server for pattern matching
- Make build process async to support API calls
- Cache registry data to only hit API once per build run
- Remove obsolete github-mcp-registry.json file
Benefits:
- No more manual updates to registry data
- Always uses latest MCP registry information
- Improved server name matching resilience
- Successfully loads all 54 servers from registry1 parent cef3031 commit e042a64
File tree
4 files changed
+161
-1060
lines changed- collections
- docs
- eng
4 files changed
+161
-1060
lines changed
0 commit comments