-
Notifications
You must be signed in to change notification settings - Fork 10
feat: Add npm package for MCP server and improve deprecated UI #41
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
- Create @drupaltools/mcp npm package for easy installation - Self-contained package with 186 Drupal tools data - Support for npx installation: npx @drupaltools/mcp@latest - GitHub Actions workflow for automated npm publishing - Interactive publish script for manual releases - Remove obsolete REST API implementation - Deleted /api/ folder and all related files - Removed build-api.yml workflow and API generator plugin - Cleaned up _scripts/ folder and automation scripts - Improve UI for deprecated tools - Add light red background (#ffebee) for deprecated tags - JavaScript to automatically wrap deprecated text - CSS styling with pill appearance - Update documentation - Simplified MCP server README (removed API references) - Updated npm package documentation with clear installation instructions - Removed redundant local install section 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
- Created .github/workflows/update-mcp-package.yml - Triggers on pushes/PRs that modify _data/projects/*.yml - Properly checks for changes before committing (avoids empty commits) - Updates MCP package with latest Drupal tools data - Includes detailed summary in GitHub Actions output Key improvements: - Uses git status --porcelain to check for actual changes - Only commits when MCP package data has been updated - Provides clear feedback about what was changed - Includes tool count in commit message 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
PR Compliance Guide 🔍(Compliance updated until commit 4df1933)Below is a summary of compliance checks for this PR:
Compliance status legend🟢 - Fully Compliant🟡 - Partial Compliant 🔴 - Not Compliant ⚪ - Requires Further Human Verification 🏷️ - Compliance label Previous compliance checksCompliance check up to commit fce6eee
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||
PR Code Suggestions ✨Latest suggestions up to 4df1933
Previous suggestionsSuggestions up to commit fce6eee
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
💡 Codex Review
Here are some automated review suggestions for this pull request.
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
- Document required GitHub secrets (NPM_TOKEN) - Clarify npm package name: @drupaltools/mcp - Add step-by-step publishing instructions - Include first-time publishing guide - Add verification steps after publishing 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
User description
Summary
Testing
Screenshots (optional)
Additional Notes (optional)
PR Type
Enhancement, Documentation
Description
Create
@drupaltools/mcpnpm package with 186+ Drupal toolslist_tools,search_tools,get_toolAdd GitHub Actions workflows for automated package updates and publishing
Improve UI for deprecated tools with styled badges
Update project configuration and documentation
Diagram Walkthrough
File Walkthrough
6 files
MCP server implementation with tool discoveryCompiled MCP server distribution fileBuild script to generate projects.json from YAMLManual npm publishing script with version managementAdd deprecated item styling with JavaScriptAdd CSS styling for deprecated badges5 files
NPM package configuration and scriptsDistribution package.json for npm publishingAuto-update MCP package on data changesAutomated npm publishing workflow on version tagsSimplify root package scripts and description3 files
Comprehensive MCP package documentationDistribution README with project overviewUpdate copyright year to 20251 files
Test script for MCP server validation101 files