Skip to content

Conversation

subhobhai943
Copy link

Add Claude Code Plugin / Marketplace Support

Fixes #52

This PR implements Claude Code Plugin/Marketplace distribution support as requested in issue #52, enabling easy discovery and installation of the Perplexity MCP server through Claude Code's plugin system.

Changes Made

📁 Marketplace Configuration

  • .claude-plugin/marketplace.json - Main marketplace configuration defining the Perplexity plugin collection
  • Follows the standard structure used by Docker and other official Claude Code plugins
  • Includes proper metadata, categorization, and plugin references

🔧 Plugin Structure

  • plugins/perplexity-mcp-server/.claude-plugin/plugin.json - Individual plugin manifest with complete metadata
  • plugins/perplexity-mcp-server/.mcp.json - MCP server runtime configuration
  • plugins/perplexity-mcp-server/README.md - Comprehensive plugin documentation

📚 Documentation Updates

  • Updated main README.md to include Claude Code Plugin marketplace as the recommended installation method
  • Added step-by-step installation instructions
  • Maintained backward compatibility with existing installation methods
  • Highlighted benefits of using the plugin system (automatic updates, easier management)

Installation Experience

Users can now easily install the Perplexity MCP server with just two commands:

# Add the marketplace
/plugin marketplace add perplexityai/modelcontextprotocol

# Install the plugin
/plugin install perplexity-mcp-server@perplexity

Key Features

Easy Discovery - Plugin discoverable through Claude Code marketplace system
Automated Installation - Handles MCP server configuration automatically
Proper Categorization - Classified as "ai-tools" with relevant keywords
Environment Setup - Pre-configured with API key and timeout variables
Comprehensive Documentation - Installation, usage, and troubleshooting guides
Backward Compatible - Existing installation methods still work

Testing

The plugin structure follows Claude Code standards and includes:

  • Proper JSON schema validation
  • Required metadata fields
  • Standard MCP server configuration
  • Environment variable setup
  • Documentation completeness

Benefits

This implementation will:

  • Increase adoption by removing installation complexity
  • Improve distribution through Claude Code's marketplace discovery
  • Enable automatic updates via the plugin system
  • Provide better UX with guided setup and configuration
  • Maintain compatibility with all existing installation methods

Future Compatibility

Once merged, this repository can be listed on https://claudecodemarketplace.com by adding it to the marketplaces.json, making it discoverable to thousands of users automatically.


Ready for review! This PR addresses all requirements from issue #52 and follows established patterns from Docker's official Claude Code plugins.

This adds support for Claude Code Plugin/Marketplace distribution as requested in issue perplexityai#52.

- Creates .claude-plugin/marketplace.json with Perplexity MCP server plugin definition
- Follows the standard marketplace structure used by Docker and other official plugins
- Includes proper metadata, keywords, and categorization
- References the plugin directory structure for easy installation
- Creates plugin.json with complete metadata for the Perplexity MCP server
- Includes proper categorization, dependencies, and engine requirements
- References MCP server configuration file
- Follows Claude Code plugin standards
- Defines how to run the Perplexity MCP server using npx
- Includes required environment variables for API key and timeout
- Uses the official @perplexity-ai/mcp-server package
- Sets reasonable default timeout of 5 minutes
- Provides comprehensive installation instructions for Claude Code
- Documents all available tools and their use cases
- Includes troubleshooting guide and support information
- Follows Claude Code plugin documentation standards
- Add Claude Code Plugin marketplace as the recommended installation method
- Provide step-by-step instructions for marketplace installation
- Keep existing manual configuration options
- Highlight the benefits of using the plugin system (automatic updates, easier management)
- Maintain all existing documentation for other MCP clients
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.

Add Claude Code Plugin / Marketplace

1 participant