3ae697ef1e
Claude Code 2.1.281 не экспортирует CLAUDE_PLUGIN_OPTION_* в MCP-сервер
сам, поэтому plugin.json подставляет их через ${user_config.*}.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
73 lines
3.0 KiB
JSON
73 lines
3.0 KiB
JSON
{
|
|
"name": "trello-tools",
|
|
"description": "Карточки Trello, QA-документы и задания для фронта/бэка",
|
|
"author": {
|
|
"name": "maxerton"
|
|
},
|
|
"mcpServers": {
|
|
"trello-tools": {
|
|
"command": "uv",
|
|
"args": ["run", "--quiet", "--script", "${CLAUDE_PLUGIN_ROOT}/server.py"],
|
|
"env": {
|
|
"CLAUDE_PLUGIN_OPTION_TRELLO_API_KEY": "${user_config.trello_api_key}",
|
|
"CLAUDE_PLUGIN_OPTION_TRELLO_TOKEN": "${user_config.trello_token}",
|
|
"CLAUDE_PLUGIN_OPTION_QA_TASKS_TOKEN": "${user_config.qa_tasks_token}",
|
|
"CLAUDE_PLUGIN_OPTION_QA_SERVICE_API_KEY": "${user_config.qa_service_api_key}",
|
|
"CLAUDE_PLUGIN_OPTION_QA_SERVICE_URL": "${user_config.qa_service_url}",
|
|
"CLAUDE_PLUGIN_OPTION_TRELLO_BOARD_ID": "${user_config.trello_board_id}",
|
|
"CLAUDE_PLUGIN_OPTION_TRELLO_CREATE_LISTS": "${user_config.trello_create_lists}",
|
|
"CLAUDE_PLUGIN_OPTION_TRELLO_ATTACHMENTS_DIR": "${user_config.trello_attachments_dir}"
|
|
}
|
|
}
|
|
},
|
|
"userConfig": {
|
|
"trello_api_key": {
|
|
"type": "string",
|
|
"title": "Trello API key",
|
|
"description": "Ключ Trello: https://trello.com/power-ups/admin → API key",
|
|
"sensitive": true
|
|
},
|
|
"trello_token": {
|
|
"type": "string",
|
|
"title": "Trello token",
|
|
"description": "Токен Trello, выданный под этот API key",
|
|
"sensitive": true
|
|
},
|
|
"qa_tasks_token": {
|
|
"type": "string",
|
|
"title": "QA tasks token",
|
|
"description": "Токен заданий для фронта/бэка (доступ только к /tasks). Выдаёт владелец сервиса",
|
|
"sensitive": true
|
|
},
|
|
"qa_service_api_key": {
|
|
"type": "string",
|
|
"title": "QA service API key",
|
|
"description": "Ключ владельца для публикации QA-документов. Фронту и бэку не нужен — оставь пустым",
|
|
"sensitive": true
|
|
},
|
|
"qa_service_url": {
|
|
"type": "string",
|
|
"title": "QA service URL",
|
|
"description": "Адрес qa-docs-service",
|
|
"default": "https://hpd.maxerton.live/"
|
|
},
|
|
"trello_board_id": {
|
|
"type": "string",
|
|
"title": "Trello board",
|
|
"description": "Доска, на которой trello_create_card создаёт карточки: id или shortLink из https://trello.com/b/<shortLink>/...",
|
|
"default": "3SXxWovk"
|
|
},
|
|
"trello_create_lists": {
|
|
"type": "string",
|
|
"title": "Trello lists",
|
|
"description": "Столбцы этой доски, куда разрешено создавать карточки, через запятую",
|
|
"default": "Next Spring Backend,Next Sprint FrontEnd"
|
|
},
|
|
"trello_attachments_dir": {
|
|
"type": "string",
|
|
"title": "Attachments dir",
|
|
"description": "Куда trello_get_attachment скачивает вложения. Пусто — <tmp>/trello-attachments/<card_id>/"
|
|
}
|
|
}
|
|
}
|