Flower MCP
Project management via MCP (Model Context Protocol).
Setup
Install the MCP server:
CODEBLOCK0
Configure in your MCP client (e.g., ~/.mcporter/mcporter.json):
CODEBLOCK1
Get your API token from Flower → Settings → API Tokens.
Tools (25 total)
Teams & Projects
- -
flower_list_teams — List all teams - INLINECODE2 — Get project with columns and tasks
- INLINECODE3 — List projects in a team
Tasks
- -
flower_list_tasks — List tasks (filter by projectId, columnId, assigneeId) - INLINECODE5 — Get task details
- INLINECODE6 — Create task (projectId, columnId, title required)
- INLINECODE7 — Update task fields
- INLINECODE8 — Delete a task
- INLINECODE9 — Move to different column
- INLINECODE10 — Search by title, description, or ticket number
Columns
- -
flower_list_columns — List columns in a project - INLINECODE12 — Create a column
- INLINECODE13 — Update column name/position
- INLINECODE14 — Delete a column
Comments
- -
flower_list_comments — List comments on a task - INLINECODE16 — Add a comment
- INLINECODE17 — Edit a comment
- INLINECODE18 — Delete a comment
Users & Members
- -
flower_list_users — List all users - INLINECODE20 — Get authenticated user
- INLINECODE21 — List team members
- INLINECODE22 — Add user to team
- INLINECODE23 — Remove from team
Notifications
- -
flower_get_notification_preferences — Get notification settings - INLINECODE25 — Update settings
Common Patterns
Find a ticket by number
CODEBLOCK2
Create a task
CODEBLOCK3
Move task to different column
CODEBLOCK4
Add a comment
CODEBLOCK5
Field Values
Priority: LOW, MEDIUM, HIGH, INLINECODE29
Type: TASK, BUG, INLINECODE32
PR fields: prUrl, prNumber, prRepo (for GitHub PR linking)
Flower MCP
通过 MCP(模型上下文协议)进行项目管理。
设置
安装 MCP 服务器:
bash
npx -y @xferops/flower-mcp
在 MCP 客户端中配置(例如 ~/.mcporter/mcporter.json):
json
{
mcpServers: {
flower: {
command: npx,
args: [-y, @xferops/flower-mcp],
env: {
FLOWER_URL: https://flower.xferops.com,
FLOWER_TOKEN: your-api-token
}
}
}
}
从 Flower → 设置 → API 令牌获取您的 API 令牌。
工具(共 25 个)
团队与项目
- - flowerlistteams — 列出所有团队
- flowergetproject — 获取项目及其列和任务
- flowerlistprojects — 列出团队中的项目
任务
- - flowerlisttasks — 列出任务(可按 projectId、columnId、assigneeId 筛选)
- flowergettask — 获取任务详情
- flowercreatetask — 创建任务(必填:projectId、columnId、title)
- flowerupdatetask — 更新任务字段
- flowerdeletetask — 删除任务
- flowermovetask — 移动到不同列
- flowersearchtasks — 按标题、描述或工单号搜索
列
- - flowerlistcolumns — 列出项目中的列
- flowercreatecolumn — 创建列
- flowerupdatecolumn — 更新列名称/位置
- flowerdeletecolumn — 删除列
评论
- - flowerlistcomments — 列出任务评论
- flowercreatecomment — 添加评论
- flowerupdatecomment — 编辑评论
- flowerdeletecomment — 删除评论
用户与成员
- - flowerlistusers — 列出所有用户
- flowergetcurrentuser — 获取当前认证用户
- flowerlistteammembers — 列出团队成员
- floweraddteammember — 将用户添加到团队
- flowerremoveteammember — 从团队中移除
通知
- - flowergetnotificationpreferences — 获取通知设置
- flowerupdatenotificationpreferences — 更新通知设置
常见模式
按编号查找工单
bash
mcporter call flower.flowersearchtasks query=#123
创建任务
bash
mcporter call flower.flowercreatetask \
projectId= \
columnId= \
title=任务标题 \
description=详情 \
priority=HIGH \
type=BUG
将任务移动到不同列
bash
mcporter call flower.flowermovetask \
taskId= \
columnId=
添加评论
bash
mcporter call flower.flowercreatecomment \
taskId= \
content=评论内容
字段值
优先级: LOW(低)、MEDIUM(中)、HIGH(高)、URGENT(紧急)
类型: TASK(任务)、BUG(缺陷)、STORY(故事)
PR 字段: prUrl、prNumber、prRepo(用于 GitHub PR 关联)