承接 orchestra-mcp/plugins 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

orchestra-mcp/plugins

最新稳定版本:v0.0.1

Composer 安装命令:

composer require orchestra-mcp/plugins

包简介

Orchestra MCP Plugins — Master/Core package for the extension runtime, DI, manifest, contributes, and VS Code API compatibility

README 文档

README

Screenshot

Orchestra MCP Plugins

The master/core package for Orchestra MCP — a plugin-based application framework built on Laravel.

Provides the extension runtime, dependency injection container, manifest system, contributes registry, VS Code extension compatibility, and Laravel Pennant feature flag integration.

Features

  • Plugin Lifecycle — Register, activate, deactivate, and manage plugins with dependency resolution
  • DI Container — Plugin-scoped service registry with singleton and transient scopes
  • Contributes System — VS Code-style declarative contributions (commands, menus, themes, languages, grammars, keybindings, settings)
  • VS Code Compatibility — Load VS Code extensions (themes, languages, grammars) via VSIX packages
  • Feature Flags — Laravel Pennant integration for per-user/scope plugin toggling
  • Plugin Generator — Scaffold new plugins with php artisan make:plugin
  • Events — Hook into plugin lifecycle with PluginRegistered, PluginActivated, PluginDeactivated

Requirements

  • PHP 8.2+
  • Laravel 12.x

Installation

composer require orchestra-mcp/plugins

The service provider is auto-discovered. To publish the config:

php artisan vendor:publish --tag=orchestra-plugins-config

Quick Start

1. Create a Plugin

php artisan make:plugin Git

This generates a full package scaffold at packages/orchestra-mcp/git/.

2. Implement Your Plugin

use OrchestraMcp\Plugins\Plugin\Plugin;

class GitPlugin extends Plugin
{
    public function id(): string
    {
        return 'orchestra-mcp/git';
    }

    public function name(): string
    {
        return 'Git';
    }

    protected function boot(): void
    {
        // Setup logic after activation
    }
}

3. Register in Your ServiceProvider

use OrchestraMcp\Plugins\Services\PluginManagerService;

public function register(): void
{
    $this->app->afterResolving(PluginManagerService::class, function (PluginManagerService $manager) {
        $manager->register(new GitPlugin());
    });
}

4. Use the Facade

use OrchestraMcp\Plugins\Facades\Plugins;

$allPlugins = Plugins::plugins()->all();
$activePlugins = Plugins::plugins()->active();
$mcpTools = Plugins::mcpTools();

Artisan Commands

Command Description
make:plugin {name} Create a new plugin package
plugins:list List all registered plugins
plugins:enable {id} Enable a disabled plugin
plugins:disable {id} Disable an active plugin
plugins:install-vscode {path} Install a VS Code extension from VSIX

Documentation

Full documentation is available in the docs/ directory:

Development

# Install dependencies
composer install

# Run tests
composer test

# Format code
composer format

# Static analysis
composer check

# Lint
composer lint

License

MIT

统计信息

  • 总下载量: 271
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 3
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 0
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2026-02-10

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固