Claude Code Plugin MCP - Access Claude Code plugins via MCP protocol
Project description
cc-plugin-mcp
Claude CodeプラグインにREST API経由でアクセスするためのサーバーです。
概要
Claude Codeのプラグインシステムとのインタフェースを提供し、プラグイン一覧の取得や詳細情報の参照を可能にします。
主な機能
- セキュリティ: パストトラバーサル対策、入力検証、エラーハンドリング
- パフォーマンス: LRUキャッシュによる高速化
- 運用性: 包括的なロギング、29個のテストケース
API エンドポイント
GET /health- ヘルスチェックGET /plugins- プラグイン一覧取得POST /plugins/{plugin_name}/load-elements- プラグイン要素読み込み
詳細は API ドキュメント を参照してください。
インストール
# 依存関係のインストール
uv sync
# 開発環境の場合
uv sync --all-extras
使い方
# サーバー起動
uv run python -m cc_plugin_mcp.main
# API ドキュメント
# Swagger UI: http://127.0.0.1:8000/docs
# ReDoc: http://127.0.0.1:8000/redoc
テスト
# テスト実行
uv run pytest
# カバレッジ付き
uv run pytest --cov=cc_plugin_mcp
トラブルシューティング
プラグインが見つからない場合
~/.claude/plugins/ディレクトリの存在確認~/.claude/plugins/marketplaces/に marketplace.json があるか確認
テストが失敗する場合
uv sync --all-extras --refresh
uv run pytest -v
ライセンス
MIT
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.0.tar.gz
(88.5 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file cc_plugin_mcp-0.1.0.tar.gz.
File metadata
- Download URL: cc_plugin_mcp-0.1.0.tar.gz
- Upload date:
- Size: 88.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
874905936c362399acdaba254113103a785cb9ac8f3df61ea440d64732fee2b5
|
|
| MD5 |
4e120be13a8868f1c4bf21cbb9b3fa38
|
|
| BLAKE2b-256 |
efafac9332e95976a52e088a5c03104d717c14d09b73ec2fdda7f06dae4c9751
|
File details
Details for the file cc_plugin_mcp-0.1.0-py3-none-any.whl.
File metadata
- Download URL: cc_plugin_mcp-0.1.0-py3-none-any.whl
- Upload date:
- Size: 9.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
271d3ad1f2ada9d1454146603d08a502855ac5b0c1f627d9dfc63e82af001a67
|
|
| MD5 |
ca1c51bb34890a0089679473325937bf
|
|
| BLAKE2b-256 |
774d08ad6003d8a65b58619f749dbfcf65b463a6960fde52c373987964de77c1
|