Skip to main content

Claude Code Plugin MCP - Access Claude Code plugins via MCP protocol

Project description

cc-plugin-mcp

MCP (Model Context Protocol) server for accessing Claude Code plugins.

Overview

This MCP server provides an interface to Claude Code's plugin system via the Model Context Protocol, enabling you to retrieve plugin lists and detailed information. It can be used from MCP clients such as Claude Desktop, Cursor, etc.

Key Features

  • MCP Protocol Support: Compliant with Model Context Protocol
  • Plugin Management: Retrieve plugin lists and load elements from Claude Code plugins
  • Security: Path traversal protection, input validation, error handling
  • Performance: LRU cache for fast access
  • Operability: Comprehensive logging, 29 test cases

MCP Tools

  • get-plugin-list - Get a list of available plugins
  • load-elements - Load elements (skills, agents, commands) from specified plugins

Configuration

Add the following to your MCP client configuration file (e.g., claude_desktop_config.json for Claude Desktop):

{
  "mcpServers": {
    "cc-plugin-mcp": {
      "command": "uvx",
      "args": ["cc-plugin-mcp"]
    }
  }
}

Installation

# Run directly with uvx (recommended)
uvx cc-plugin-mcp

# Or install from PyPI
pip install cc-plugin-mcp

# For development
git clone https://github.com/ppspps824/cc-plugin-mcp.git
cd cc-plugin-mcp
uv sync --all-extras

Usage

This runs as an MCP server and is called directly by MCP clients. For manual testing:

# Start MCP server with uvx (recommended)
uvx cc-plugin-mcp

# Or for development
uv run python -m cc_plugin_mcp.main

Testing

# Run tests
uv run pytest

# With coverage
uv run pytest --cov=cc_plugin_mcp

Troubleshooting

Plugins not found

  1. Check if ~/.claude/plugins/ directory exists
  2. Verify marketplace.json exists in ~/.claude/plugins/marketplaces/

MCP client doesn't recognize the server

  1. Verify MCP client configuration file is set up correctly
  2. Check if uvx command is available (uvx --version)
  3. Check MCP client logs for error messages

Tests failing

uv sync --all-extras --refresh
uv run pytest -v

License

MIT

Repository

https://github.com/ppspps824/cc-plugin-mcp

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

cc_plugin_mcp-0.1.4.tar.gz (90.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

cc_plugin_mcp-0.1.4-py3-none-any.whl (9.1 kB view details)

Uploaded Python 3

File details

Details for the file cc_plugin_mcp-0.1.4.tar.gz.

File metadata

  • Download URL: cc_plugin_mcp-0.1.4.tar.gz
  • Upload date:
  • Size: 90.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.0

File hashes

Hashes for cc_plugin_mcp-0.1.4.tar.gz
Algorithm Hash digest
SHA256 944790885b9718cd862b451826cacdc7d5c50644b7c8160564b710aecd5c6205
MD5 ef49e8e18db5c14d7838b7a9a9eab394
BLAKE2b-256 19164b3fa3e61e977d7dfcb706382d6534a4d3f828c9dbe9025515ad540e2927

See more details on using hashes here.

File details

Details for the file cc_plugin_mcp-0.1.4-py3-none-any.whl.

File metadata

  • Download URL: cc_plugin_mcp-0.1.4-py3-none-any.whl
  • Upload date:
  • Size: 9.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.0

File hashes

Hashes for cc_plugin_mcp-0.1.4-py3-none-any.whl
Algorithm Hash digest
SHA256 5eb68c2fa7ff56ec9819c34d9ba96ce7415ec2859786b0abcb8c67a74fb199a8
MD5 2da34edc7f20f652a5be7c7e32d55bd4
BLAKE2b-256 89174bd36b3c006acd6f8c4d7bbb8ca6816c55bbe36737e45a6c9f3e577c0ecd

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page