38 lines
1.0 KiB
PHP
38 lines
1.0 KiB
PHP
<?php
|
|
|
|
namespace App\Mcp\Servers;
|
|
|
|
use App\Mcp\Tools\GetTicket;
|
|
use App\Mcp\Tools\ListMyAssignedTickets;
|
|
use App\Mcp\Tools\ListTicketsByStatus;
|
|
use App\Mcp\Tools\MoveTicketStatus;
|
|
use App\Mcp\Tools\UpdateTicketAssignee;
|
|
use App\Mcp\Tools\UpdateTicketDescription;
|
|
use Laravel\Mcp\Server;
|
|
use Laravel\Mcp\Server\Attributes\Instructions;
|
|
use Laravel\Mcp\Server\Attributes\Name;
|
|
use Laravel\Mcp\Server\Attributes\Version;
|
|
|
|
#[Name('KanbanGit MCP')]
|
|
#[Version('0.1.0')]
|
|
#[Instructions('Use these tools to read and update KanbanGit tickets with the authenticated application key owner permissions. Prefer stable IDs when available, especially ticket_id and ticket_status_id.')]
|
|
class KanbanGitServer extends Server
|
|
{
|
|
protected array $tools = [
|
|
ListMyAssignedTickets::class,
|
|
ListTicketsByStatus::class,
|
|
GetTicket::class,
|
|
UpdateTicketDescription::class,
|
|
UpdateTicketAssignee::class,
|
|
MoveTicketStatus::class,
|
|
];
|
|
|
|
protected array $resources = [
|
|
//
|
|
];
|
|
|
|
protected array $prompts = [
|
|
//
|
|
];
|
|
}
|