Skip to content

Conversation

@juanmaguitar
Copy link
Contributor

Summary

  • Added new repository extraction tool for downloading and analyzing GitHub repositories
  • Implemented plugin comparison functionality to compare WordPress plugins with their GitHub counterparts
  • Enhanced documentation with local testing guide

Changes

  • New Features:

    • repository-extractor.ts: Tool for downloading and extracting GitHub repositories with smart filtering
    • plugin-comparator.ts: Utility for comparing WordPress.org plugins with GitHub repositories
    • Enhanced MCP server with new tools for repository management
  • Documentation:

    • Added comprehensive LOCAL_TESTING.md guide
    • Updated README with new features and usage instructions
  • Infrastructure:

    • Updated .gitignore for better development workflow
    • Enhanced index.ts with additional WordPress.org API tools

Test Plan

  • Test repository extraction with various GitHub URLs
  • Verify plugin comparison functionality works correctly
  • Confirm all existing WordPress.org API tools still function
  • Test with MCP inspector for proper tool registration
  • Validate documentation accuracy

🤖 Generated with Claude Code

- Introduced new `RepositoryExtractor` class for extracting repository URLs and downloading source code from GitHub, GitLab, Bitbucket, and SVN.
- Added new tools in the MCP server for finding repository URLs, downloading from repositories, and comparing WordPress.org plugins with their original repositories.
- Updated `PluginComparator` to include detailed analysis of JavaScript and CSS files, including minified files and build artifacts.
- Expanded README.md with new features and usage examples for the added repository functionalities.
- Created `LOCAL_TESTING.md` to guide users on testing the MCP server locally in Claude Desktop.
…tion

- Removed redundant directory creation for 'assets' and 'lib' in plugin-comparator.test.ts, streamlining the test setup process.
- Updated LOCAL_TESTING.md to provide detailed instructions for configuring the MCP server using the Claude CLI and manual methods.
- Expanded the error message for missing repository URLs in the WordPressOrgMCPServer class to include additional search locations and suggestions for plugin authors.
- Enhanced the repository extraction logic in the RepositoryExtractor class with improved patterns and scoring for better detection of repository URLs across various file types.
- Expanded the list of files searched for repository URLs to include both root and nested paths for better compatibility.
- Introduced special handling for 'readme.txt' files to extract GitHub links using improved regex patterns, enhancing the detection of repository URLs.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants