@edicarlos.lds/businessmap-mcp 2.1.1 → 2.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +111 -558
- package/dist/client/modules/card-client.d.ts +1 -0
- package/dist/client/modules/card-client.d.ts.map +1 -1
- package/dist/client/modules/card-client.js.map +1 -1
- package/dist/index.d.ts +2 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +33 -16
- package/dist/index.js.map +1 -1
- package/dist/schemas/card-schemas.d.ts +3 -0
- package/dist/schemas/card-schemas.d.ts.map +1 -1
- package/dist/schemas/card-schemas.js +5 -0
- package/dist/schemas/card-schemas.js.map +1 -1
- package/dist/server/http.d.ts +6 -1
- package/dist/server/http.d.ts.map +1 -1
- package/dist/server/http.js +73 -56
- package/dist/server/http.js.map +1 -1
- package/docs/LOGGING.md +169 -0
- package/docs/MCP_CLIENTS.md +215 -0
- package/docs/MIDDLEWARE.md +141 -0
- package/docs/RELEASE_PROCESS.md +146 -0
- package/docs/TOOLS.md +292 -0
- package/package.json +2 -1
package/docs/TOOLS.md
ADDED
|
@@ -0,0 +1,292 @@
|
|
|
1
|
+
# Tools, Resources & Prompts Reference
|
|
2
|
+
|
|
3
|
+
Complete reference for all tools, resources, and prompts provided by the BusinessMap MCP Server.
|
|
4
|
+
|
|
5
|
+
## Summary
|
|
6
|
+
|
|
7
|
+
| Category | Count |
|
|
8
|
+
| --------- | :---: |
|
|
9
|
+
| Tools | 59 |
|
|
10
|
+
| Resources | 5 |
|
|
11
|
+
| Prompts | 4 |
|
|
12
|
+
|
|
13
|
+
---
|
|
14
|
+
|
|
15
|
+
## Tools
|
|
16
|
+
|
|
17
|
+
### Workspace Management (3 tools)
|
|
18
|
+
|
|
19
|
+
| Tool | Description | Read-Only Safe |
|
|
20
|
+
| :----------------- | :---------------------------------- | :------------: |
|
|
21
|
+
| `list_workspaces` | Get a list of all workspaces | ✅ |
|
|
22
|
+
| `get_workspace` | Get details of a specific workspace | ✅ |
|
|
23
|
+
| `create_workspace` | Create a new workspace | ❌ |
|
|
24
|
+
|
|
25
|
+
---
|
|
26
|
+
|
|
27
|
+
### Board Management (11 tools)
|
|
28
|
+
|
|
29
|
+
| Tool | Description | Read-Only Safe |
|
|
30
|
+
| :---------------------------- | :--------------------------------------------------------------------------------------------- | :------------: |
|
|
31
|
+
| `list_boards` | Get a list of boards with optional workspace filter | ✅ |
|
|
32
|
+
| `search_board` | Search for a board by ID or name, with fallback to list | ✅ |
|
|
33
|
+
| `get_columns` | Get all columns for a board | ✅ |
|
|
34
|
+
| `get_lanes` | Get all lanes/swimlanes for a board | ✅ |
|
|
35
|
+
| `get_lane` | Get details of a specific lane/swimlane | ✅ |
|
|
36
|
+
| `get_current_board_structure` | Get the complete structure of a board (workflows, columns, lanes, configs) | ✅ |
|
|
37
|
+
| `create_board` | Create a new board in a workspace | ❌ |
|
|
38
|
+
| `create_lane` | Create a new lane/swimlane in a board | ❌ |
|
|
39
|
+
| `create_column` | Create a new column (main or sub-column). Section: 1=Backlog, 2=Requested, 3=Progress, 4=Done | ❌ |
|
|
40
|
+
| `update_column` | Update the details of a specific column | ❌ |
|
|
41
|
+
| `delete_column` | Delete a column from a board | ❌ ⚠️ |
|
|
42
|
+
|
|
43
|
+
---
|
|
44
|
+
|
|
45
|
+
### Card Management (36 tools)
|
|
46
|
+
|
|
47
|
+
#### Basic Operations
|
|
48
|
+
|
|
49
|
+
| Tool | Description | Read-Only Safe |
|
|
50
|
+
| :--------------- | :------------------------------------------- | :------------: |
|
|
51
|
+
| `list_cards` | Get cards from a board with optional filters | ✅ |
|
|
52
|
+
| `get_card` | Get detailed card information | ✅ |
|
|
53
|
+
| `get_card_size` | Get the size/points of a specific card | ✅ |
|
|
54
|
+
| `get_card_types` | Get all available card types | ✅ |
|
|
55
|
+
| `create_card` | Create a new card in a board | ❌ |
|
|
56
|
+
| `move_card` | Move a card to a different column or lane | ❌ |
|
|
57
|
+
| `update_card` | Update card properties | ❌ |
|
|
58
|
+
| `set_card_size` | Set the size/points of a specific card | ❌ |
|
|
59
|
+
| `delete_card` | Permanently delete a card (irreversible) | ❌ ⚠️ |
|
|
60
|
+
|
|
61
|
+
`list_cards` supports a `state` parameter (`active` | `archived` | `discarded` | `all`) to control which card lifecycle states are returned. The API defaults to `active`, so archived or discarded cards are only included when explicitly requested:
|
|
62
|
+
|
|
63
|
+
```json
|
|
64
|
+
{
|
|
65
|
+
"board_id": 285,
|
|
66
|
+
"type_ids": [8],
|
|
67
|
+
"state": "archived",
|
|
68
|
+
"created_from_date": "2026-01-01"
|
|
69
|
+
}
|
|
70
|
+
```
|
|
71
|
+
|
|
72
|
+
#### Comments
|
|
73
|
+
|
|
74
|
+
| Tool | Description | Read-Only Safe |
|
|
75
|
+
| :------------------ | :------------------------------------- | :------------: |
|
|
76
|
+
| `get_card_comments` | Get all comments for a specific card | ✅ |
|
|
77
|
+
| `get_card_comment` | Get details of a specific comment | ✅ |
|
|
78
|
+
| `create_comment` | Add a new comment to a card | ❌ |
|
|
79
|
+
| `update_comment` | Update the text of an existing comment | ❌ |
|
|
80
|
+
| `delete_comment` | Delete a comment from a card | ❌ ⚠️ |
|
|
81
|
+
|
|
82
|
+
#### Custom Fields
|
|
83
|
+
|
|
84
|
+
| Tool | Description | Read-Only Safe |
|
|
85
|
+
| :----------------------- | :---------------------------------------- | :------------: |
|
|
86
|
+
| `get_card_custom_fields` | Get all custom fields for a specific card | ✅ |
|
|
87
|
+
|
|
88
|
+
#### Outcomes & History
|
|
89
|
+
|
|
90
|
+
| Tool | Description | Read-Only Safe |
|
|
91
|
+
| :------------------ | :----------------------------------------- | :------------: |
|
|
92
|
+
| `get_card_outcomes` | Get all outcomes for a specific card | ✅ |
|
|
93
|
+
| `get_card_history` | Get the history of a specific card outcome | ✅ |
|
|
94
|
+
|
|
95
|
+
#### Relationships
|
|
96
|
+
|
|
97
|
+
| Tool | Description | Read-Only Safe |
|
|
98
|
+
| :---------------------- | :--------------------------------------- | :------------: |
|
|
99
|
+
| `get_card_linked_cards` | Get all linked cards for a specific card | ✅ |
|
|
100
|
+
|
|
101
|
+
#### Subtasks
|
|
102
|
+
|
|
103
|
+
| Tool | Description | Read-Only Safe |
|
|
104
|
+
| :-------------------- | :----------------------------------- | :------------: |
|
|
105
|
+
| `get_card_subtasks` | Get all subtasks for a specific card | ✅ |
|
|
106
|
+
| `get_card_subtask` | Get details of a specific subtask | ✅ |
|
|
107
|
+
| `create_card_subtask` | Create a new subtask for a card | ❌ |
|
|
108
|
+
|
|
109
|
+
#### Parent-Child Relationships
|
|
110
|
+
|
|
111
|
+
| Tool | Description | Read-Only Safe |
|
|
112
|
+
| :---------------------- | :----------------------------------------------------- | :------------: |
|
|
113
|
+
| `get_card_parents` | Get a list of parent cards for a specific card | ✅ |
|
|
114
|
+
| `get_card_parent` | Check if a card is a parent of a given card | ✅ |
|
|
115
|
+
| `get_card_parent_graph` | Get parent cards including their parents (full graph) | ✅ |
|
|
116
|
+
| `get_card_children` | Get a list of child cards of a specified parent card | ✅ |
|
|
117
|
+
| `add_card_parent` | Make a card a parent of a given card | ❌ |
|
|
118
|
+
| `remove_card_parent` | Remove the link between a child card and a parent card | ❌ |
|
|
119
|
+
|
|
120
|
+
#### Blocking
|
|
121
|
+
|
|
122
|
+
| Tool | Description | Read-Only Safe |
|
|
123
|
+
| :------------- | :------------------------------------------ | :------------: |
|
|
124
|
+
| `block_card` | Block a card and set a reason/comment | ❌ |
|
|
125
|
+
| `unblock_card` | Unblock a card by removing its block reason | ❌ |
|
|
126
|
+
|
|
127
|
+
#### Tags
|
|
128
|
+
|
|
129
|
+
| Tool | Description | Read-Only Safe |
|
|
130
|
+
| :--------------------- | :-------------------------------- | :------------: |
|
|
131
|
+
| `create_tag` | Create a new tag in the workspace | ❌ |
|
|
132
|
+
| `add_tag_to_card` | Add an existing tag to a card | ❌ |
|
|
133
|
+
| `remove_tag_from_card` | Remove a tag from a card | ❌ |
|
|
134
|
+
|
|
135
|
+
#### Stickers
|
|
136
|
+
|
|
137
|
+
| Tool | Description | Read-Only Safe |
|
|
138
|
+
| :------------------------- | :----------------------------------------------------------------- | :------------: |
|
|
139
|
+
| `add_sticker_to_card` | Add a sticker to a card | ❌ |
|
|
140
|
+
| `remove_sticker_from_card` | Remove a sticker from a card using the sticker-card association ID | ❌ |
|
|
141
|
+
|
|
142
|
+
#### Predecessors
|
|
143
|
+
|
|
144
|
+
| Tool | Description | Read-Only Safe |
|
|
145
|
+
| :------------------- | :------------------------------------------------------------------------- | :------------: |
|
|
146
|
+
| `add_predecessor` | Establish or update a predecessor-successor relationship between two cards | ❌ |
|
|
147
|
+
| `remove_predecessor` | Remove the predecessor-successor relationship between two cards | ❌ |
|
|
148
|
+
|
|
149
|
+
---
|
|
150
|
+
|
|
151
|
+
### Custom Field Management (1 tool)
|
|
152
|
+
|
|
153
|
+
| Tool | Description | Read-Only Safe |
|
|
154
|
+
| :----------------- | :------------------------------------------- | :------------: |
|
|
155
|
+
| `get_custom_field` | Get details of a specific custom field by ID | ✅ |
|
|
156
|
+
|
|
157
|
+
---
|
|
158
|
+
|
|
159
|
+
### Workflow & Cycle Time Analysis (2 tools)
|
|
160
|
+
|
|
161
|
+
| Tool | Description | Read-Only Safe |
|
|
162
|
+
| :------------------------------------------ | :------------------------------------------ | :------------: |
|
|
163
|
+
| `get_workflow_cycle_time_columns` | Get workflow's cycle time columns | ✅ |
|
|
164
|
+
| `get_workflow_effective_cycle_time_columns` | Get workflow's effective cycle time columns | ✅ |
|
|
165
|
+
|
|
166
|
+
---
|
|
167
|
+
|
|
168
|
+
### User Management (4 tools)
|
|
169
|
+
|
|
170
|
+
| Tool | Description | Read-Only Safe |
|
|
171
|
+
| :----------------- | :------------------------------------- | :------------: |
|
|
172
|
+
| `list_users` | Get a list of all users | ✅ |
|
|
173
|
+
| `get_user` | Get details of a specific user | ✅ |
|
|
174
|
+
| `get_current_user` | Get details of the current logged user | ✅ |
|
|
175
|
+
| `invite_user` | Add and invite a new user by email | ❌ |
|
|
176
|
+
|
|
177
|
+
---
|
|
178
|
+
|
|
179
|
+
### System (2 tools)
|
|
180
|
+
|
|
181
|
+
| Tool | Description | Read-Only Safe |
|
|
182
|
+
| :------------- | :---------------------------------------- | :------------: |
|
|
183
|
+
| `health_check` | Check the connection to BusinessMap API | ✅ |
|
|
184
|
+
| `get_api_info` | Get information about the BusinessMap API | ✅ |
|
|
185
|
+
|
|
186
|
+
---
|
|
187
|
+
|
|
188
|
+
## Resources
|
|
189
|
+
|
|
190
|
+
MCP resources provide structured data access via URI. Clients can read resources directly without invoking tools.
|
|
191
|
+
|
|
192
|
+
| URI | Name | Description | Listable |
|
|
193
|
+
| :-------------------------------------- | :----------- | :---------------------------------- | :------: |
|
|
194
|
+
| `businessmap://workspaces` | `workspaces` | List all workspaces | ✅ |
|
|
195
|
+
| `businessmap://boards` | `boards` | List all boards | ✅ |
|
|
196
|
+
| `businessmap://boards/{board_id}` | `board` | Get details of a specific board | ❌ |
|
|
197
|
+
| `businessmap://boards/{board_id}/cards` | `cards` | List all cards for a specific board | ✅ |
|
|
198
|
+
| `businessmap://cards/{card_id}` | `card` | Get details of a specific card | ❌ |
|
|
199
|
+
|
|
200
|
+
---
|
|
201
|
+
|
|
202
|
+
## Prompts
|
|
203
|
+
|
|
204
|
+
MCP prompts provide guided, multi-step workflows for common AI-assisted tasks.
|
|
205
|
+
|
|
206
|
+
### `analyze-board-performance`
|
|
207
|
+
|
|
208
|
+
**Title:** Analyze Board Performance
|
|
209
|
+
|
|
210
|
+
Analyze a board's performance: flow efficiency, bottlenecks, cycle time, and workload distribution across columns and lanes.
|
|
211
|
+
|
|
212
|
+
**Arguments:**
|
|
213
|
+
|
|
214
|
+
- `board_id` (required) — The board ID to analyze
|
|
215
|
+
|
|
216
|
+
**Workflow:**
|
|
217
|
+
|
|
218
|
+
1. Uses `get_current_board_structure` to retrieve the full board structure
|
|
219
|
+
2. Uses `list_cards` to retrieve all active cards
|
|
220
|
+
3. Uses `get_workflow_cycle_time_columns` for each workflow
|
|
221
|
+
4. Delivers a structured analysis covering flow efficiency, cycle time, workload distribution, and actionable recommendations
|
|
222
|
+
|
|
223
|
+
---
|
|
224
|
+
|
|
225
|
+
### `generate-board-report`
|
|
226
|
+
|
|
227
|
+
**Title:** Generate Board Report
|
|
228
|
+
|
|
229
|
+
Generate a comprehensive status report for a board, including cards summary, progress, and highlights.
|
|
230
|
+
|
|
231
|
+
**Arguments:**
|
|
232
|
+
|
|
233
|
+
- `board_id` (required) — The board ID to report on
|
|
234
|
+
|
|
235
|
+
**Workflow:**
|
|
236
|
+
|
|
237
|
+
1. Uses `get_current_board_structure` to get the board structure
|
|
238
|
+
2. Uses `list_cards` to get all cards
|
|
239
|
+
3. Uses `get_card` for detailed info on a sample of cards
|
|
240
|
+
4. Generates a structured report with: Executive Summary, Column Breakdown, Recently Updated Cards, Risks & Blockers, and Next Steps
|
|
241
|
+
|
|
242
|
+
---
|
|
243
|
+
|
|
244
|
+
### `create-card-from-description`
|
|
245
|
+
|
|
246
|
+
**Title:** Create Card from Description
|
|
247
|
+
|
|
248
|
+
Guide the creation of a well-structured card from a natural language description.
|
|
249
|
+
|
|
250
|
+
**Arguments:**
|
|
251
|
+
|
|
252
|
+
- `description` (required) — Natural language description of what the card should be
|
|
253
|
+
- `board_id` (required) — The board ID where the card should be created
|
|
254
|
+
|
|
255
|
+
**Workflow:**
|
|
256
|
+
|
|
257
|
+
1. Uses `get_current_board_structure` to understand available columns, lanes, and workflows
|
|
258
|
+
2. Uses `get_card_types` to list available card types
|
|
259
|
+
3. Determines the best card title, description, type, target column, lane, and size/priority
|
|
260
|
+
4. Uses `create_card` to create the card and confirms creation with ID and summary
|
|
261
|
+
|
|
262
|
+
---
|
|
263
|
+
|
|
264
|
+
### `workspace-status-overview`
|
|
265
|
+
|
|
266
|
+
**Title:** Workspace Status Overview
|
|
267
|
+
|
|
268
|
+
Generate a high-level status overview of a workspace, including all boards and their key metrics.
|
|
269
|
+
|
|
270
|
+
**Arguments:**
|
|
271
|
+
|
|
272
|
+
- `workspace_id` (required) — The workspace ID to generate an overview for
|
|
273
|
+
|
|
274
|
+
**Workflow:**
|
|
275
|
+
|
|
276
|
+
1. Uses `get_workspace` to get workspace details
|
|
277
|
+
2. Uses `list_boards` with `workspace_id` filter to list all boards
|
|
278
|
+
3. Uses `list_cards` for each board to get active card counts
|
|
279
|
+
4. Uses `get_current_board_structure` for up to 3 boards
|
|
280
|
+
5. Delivers a structured overview with: Workspace Summary, Board Summaries, Highlights, and Recommendations
|
|
281
|
+
|
|
282
|
+
---
|
|
283
|
+
|
|
284
|
+
## Read-Only Mode
|
|
285
|
+
|
|
286
|
+
When `BUSINESSMAP_READ_ONLY_MODE=true`, only tools marked ✅ in the "Read-Only Safe" column are registered. Write operations (❌) are not available. This is useful for:
|
|
287
|
+
|
|
288
|
+
- Safe data exploration without risk of modifications
|
|
289
|
+
- Granting read-only access to AI assistants
|
|
290
|
+
- Auditing and reporting use cases
|
|
291
|
+
|
|
292
|
+
> Note: All 5 resources and all 4 prompts are available regardless of read-only mode setting.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@edicarlos.lds/businessmap-mcp",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.2.1",
|
|
4
4
|
"description": "Model Context Protocol server for BusinessMap (Kanbanize) integration",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -9,6 +9,7 @@
|
|
|
9
9
|
},
|
|
10
10
|
"files": [
|
|
11
11
|
"dist",
|
|
12
|
+
"docs",
|
|
12
13
|
"README.md",
|
|
13
14
|
"LICENSE"
|
|
14
15
|
],
|