Miro Automation via Rube MCP
Automate Miro whiteboard operations through Composio's Miro toolkit via Rube MCP.
Prerequisites
- Rube MCP must be connected (RUBE_SEARCH_TOOLS available)
- Active Miro connection via
RUBE_MANAGE_CONNECTIONS with toolkit miro
- Always call
RUBE_SEARCH_TOOLS first to get current tool schemas
Setup
Get Rube MCP: Add https://rube.app/mcp as an MCP server in your client configuration. No API keys needed — just add the endpoint and it works.
- Verify Rube MCP is available by confirming
RUBE_SEARCH_TOOLS responds
- Call
RUBE_MANAGE_CONNECTIONS with toolkit miro
- If connection is not ACTIVE, follow the returned auth link to complete Miro OAuth
- Confirm connection status shows ACTIVE before running any workflows
Core Workflows
1. List and Browse Boards
When to use: User wants to find boards or get board details
Tool sequence:
MIRO_GET_BOARDS2 - List all accessible boards [Required]
MIRO_GET_BOARD - Get detailed info for a specific board [Optional]
Key parameters:
query: Search term to filter boards by name
sort: Sort by 'default', 'last_modified', 'last_opened', 'last_created', 'alphabetically'
limit: Number of results per page (max 50)
offset: Pagination offset
board_id: Specific board ID for detailed retrieval
Pitfalls:
- Pagination uses offset-based approach, not cursor-based
- Maximum 50 boards per page; iterate with offset for full list
- Board IDs are long alphanumeric strings; always resolve by search first
2. Create Boards and Items
When to use: User wants to create a new board or add items to an existing board
Tool sequence:
MIRO_CREATE_BOARD - Create a new empty board [Optional]
MIRO_CREATE_STICKY_NOTE_ITEM - Add sticky notes to a board [Optional]
MIRO_CREATE_FRAME_ITEM2 - Add frames to organize content [Optional]
MIRO_CREATE_ITEMS_IN_BULK - Add multiple items at once [Optional]
Key parameters:
name / description: Board name and description (for CREATE_BOARD)
board_id: Target board ID (required for all item creation)
data: Content object with content field for sticky note text
style: Styling object with fillColor for sticky note color
position: Object with x and y coordinates
geometry: Object with width and height
Pitfalls:
board_id is required for ALL item operations; resolve via GET_BOARDS2 first
- Sticky note colors use hex codes (e.g., '#FF0000') in the
fillColor field
- Position coordinates use the board's coordinate system (origin at center)
- BULK create has a maximum items-per-request limit; check current schema
- Frame items require
geometry with both width and height
3. Browse and Manage Board Items
When to use: User wants to view, find, or organize items on a board
Tool sequence:
MIRO_GET_BOARD_ITEMS - List all items on a board [Required]
MIRO_GET_CONNECTORS2 - List connections between items [Optional]
Key parameters:
board_id: Target board ID (required)
type: Filter by item type ('sticky_note', 'shape', 'text', 'frame', 'image', 'card')
limit: Number of items per page
cursor: Pagination cursor from previous response
Pitfalls:
- Results are paginated; follow
cursor until absent for complete item list
- Item types must match Miro's predefined types exactly
- Large boards may have thousands of items; use type filtering to narrow results
- Connectors are separate from items; use GET_CONNECTORS2 for relationship data
4. Share and Collaborate on Boards
When to use: User wants to share a board with team members or manage access
Tool sequence:
MIRO_GET_BOARDS2 - Find the board to share [Prerequisite]
MIRO_SHARE_BOARD - Share the board with users [Required]
MIRO_GET_BOARD_MEMBERS - Verify current board members [Optional]
Key parameters:
board_id: Board to share (required)
emails: Array of email addresses to invite
role: Access level ('viewer', 'commenter', 'editor')
message: Optional invitation message
Pitfalls:
- Email addresses must be valid; invalid emails cause the entire request to fail
- Role must be one of the predefined values; case-sensitive
- Sharing with users outside the organization may require admin approval
- GET_BOARD_MEMBERS returns all members including the owner
5. Create Visual Connections
When to use: User wants to connect items on a board with lines or arrows
Tool sequence:
MIRO_GET_BOARD_ITEMS - Find items to connect [Prerequisite]
MIRO_GET_CONNECTORS2 - View existing connections [Optional]
Key parameters:
board_id: Target board ID
startItem: Object with id of the source item
endItem: Object with id of the target item
style: Connector style (line type, color, arrows)
Pitfalls:
- Both start and end items must exist on the same board
- Item IDs are required for connections; resolve via GET_BOARD_ITEMS first
- Connector styles vary; check available options in schema
- Self-referencing connections (same start and end) are not allowed
Common Patterns
ID Resolution
Board name -> Board ID:
1. Call MIRO_GET_BOARDS2 with query=board_name
2. Find board by name in results
3. Extract id field
Item lookup on board:
1. Call MIRO_GET_BOARD_ITEMS with board_id and optional type filter
2. Find item by content or position
3. Extract item id for further operations
Pagination
- Boards: Use
offset and limit (offset-based)
- Board items: Use
cursor and limit (cursor-based)
- Continue until no more results or cursor is absent
- Default page sizes vary by endpoint
Coordinate System
- Board origin (0,0) is at the center
- Positive X is right, positive Y is down
- Items positioned by their center point
- Use
position: {x: 0, y: 0} for center of board
- Frames define bounded areas; items inside inherit frame position
Known Pitfalls
Board IDs:
- Board IDs are required for virtually all operations
- Always resolve board names to IDs via GET_BOARDS2 first
- Do not hardcode board IDs; they vary by account
Item Creation:
- Each item type has different required fields
- Sticky notes need
data.content for text
- Frames need
geometry.width and geometry.height
- Position defaults to (0,0) if not specified; items may overlap
Rate Limits:
- Miro API has rate limits per token
- Bulk operations preferred over individual item creation
- Use MIRO_CREATE_ITEMS_IN_BULK for multiple items
Response Parsing:
- Response data may be nested under
data key
- Item types determine which fields are present in response
- Parse defensively; optional fields may be absent
Quick Reference
| Task |
Tool Slug |
Key Params |
| List boards |
MIRO_GET_BOARDS2 |
query, sort, limit, offset |
| Get board details |
MIRO_GET_BOARD |
board_id |
| Create board |
MIRO_CREATE_BOARD |
name, description |
| Add sticky note |
MIRO_CREATE_STICKY_NOTE_ITEM |
board_id, data, style, position |
| Add frame |
MIRO_CREATE_FRAME_ITEM2 |
board_id, data, geometry, position |
| Bulk add items |
MIRO_CREATE_ITEMS_IN_BULK |
board_id, items |
| Get board items |
MIRO_GET_BOARD_ITEMS |
board_id, type, cursor |
| Share board |
MIRO_SHARE_BOARD |
board_id, emails, role |
| Get members |
MIRO_GET_BOARD_MEMBERS |
board_id |
| Get connectors |
MIRO_GET_CONNECTORS2 |
board_id |
1---2name: miro-automation3description: Automate Miro tasks via Rube MCP (Composio): boards, items, sticky notes, frames, sharing, connectors. Always search tools first for current schemas.4---5
6# Miro Automation via Rube MCP
7
8Automate Miro whiteboard operations through Composio's Miro toolkit via Rube MCP.
9
10## Prerequisites
11
12- Rube MCP must be connected (RUBE_SEARCH_TOOLS available)
13- Active Miro connection via `RUBE_MANAGE_CONNECTIONS` with toolkit `miro`
14- Always call `RUBE_SEARCH_TOOLS` first to get current tool schemas
15
16## Setup
17
18**Get Rube MCP**: Add `https://rube.app/mcp` as an MCP server in your client configuration. No API keys needed — just add the endpoint and it works.
19
20
211. Verify Rube MCP is available by confirming `RUBE_SEARCH_TOOLS` responds
222. Call `RUBE_MANAGE_CONNECTIONS` with toolkit `miro`
233. If connection is not ACTIVE, follow the returned auth link to complete Miro OAuth
244. Confirm connection status shows ACTIVE before running any workflows
25
26## Core Workflows
27
28### 1. List and Browse Boards
29
30**When to use**: User wants to find boards or get board details
31
32**Tool sequence**:
331. `MIRO_GET_BOARDS2` - List all accessible boards [Required]
342. `MIRO_GET_BOARD` - Get detailed info for a specific board [Optional]
35
36**Key parameters**:
37- `query`: Search term to filter boards by name
38- `sort`: Sort by 'default', 'last_modified', 'last_opened', 'last_created', 'alphabetically'
39- `limit`: Number of results per page (max 50)
40- `offset`: Pagination offset
41- `board_id`: Specific board ID for detailed retrieval
42
43**Pitfalls**:
44- Pagination uses offset-based approach, not cursor-based
45- Maximum 50 boards per page; iterate with offset for full list
46- Board IDs are long alphanumeric strings; always resolve by search first
47
48### 2. Create Boards and Items
49
50**When to use**: User wants to create a new board or add items to an existing board
51
52**Tool sequence**:
531. `MIRO_CREATE_BOARD` - Create a new empty board [Optional]
542. `MIRO_CREATE_STICKY_NOTE_ITEM` - Add sticky notes to a board [Optional]
553. `MIRO_CREATE_FRAME_ITEM2` - Add frames to organize content [Optional]
564. `MIRO_CREATE_ITEMS_IN_BULK` - Add multiple items at once [Optional]
57
58**Key parameters**:
59- `name` / `description`: Board name and description (for CREATE_BOARD)
60- `board_id`: Target board ID (required for all item creation)
61- `data`: Content object with `content` field for sticky note text
62- `style`: Styling object with `fillColor` for sticky note color
63- `position`: Object with `x` and `y` coordinates
64- `geometry`: Object with `width` and `height`
65
66**Pitfalls**:
67- `board_id` is required for ALL item operations; resolve via GET_BOARDS2 first
68- Sticky note colors use hex codes (e.g., '#FF0000') in the `fillColor` field
69- Position coordinates use the board's coordinate system (origin at center)
70- BULK create has a maximum items-per-request limit; check current schema
71- Frame items require `geometry` with both width and height
72
73### 3. Browse and Manage Board Items
74
75**When to use**: User wants to view, find, or organize items on a board
76
77**Tool sequence**:
781. `MIRO_GET_BOARD_ITEMS` - List all items on a board [Required]
792. `MIRO_GET_CONNECTORS2` - List connections between items [Optional]
80
81**Key parameters**:
82- `board_id`: Target board ID (required)
83- `type`: Filter by item type ('sticky_note', 'shape', 'text', 'frame', 'image', 'card')
84- `limit`: Number of items per page
85- `cursor`: Pagination cursor from previous response
86
87**Pitfalls**:
88- Results are paginated; follow `cursor` until absent for complete item list
89- Item types must match Miro's predefined types exactly
90- Large boards may have thousands of items; use type filtering to narrow results
91- Connectors are separate from items; use GET_CONNECTORS2 for relationship data
92
93### 4. Share and Collaborate on Boards
94
95**When to use**: User wants to share a board with team members or manage access
96
97**Tool sequence**:
981. `MIRO_GET_BOARDS2` - Find the board to share [Prerequisite]
992. `MIRO_SHARE_BOARD` - Share the board with users [Required]
1003. `MIRO_GET_BOARD_MEMBERS` - Verify current board members [Optional]
101
102**Key parameters**:
103- `board_id`: Board to share (required)
104- `emails`: Array of email addresses to invite
105- `role`: Access level ('viewer', 'commenter', 'editor')
106- `message`: Optional invitation message
107
108**Pitfalls**:
109- Email addresses must be valid; invalid emails cause the entire request to fail
110- Role must be one of the predefined values; case-sensitive
111- Sharing with users outside the organization may require admin approval
112- GET_BOARD_MEMBERS returns all members including the owner
113
114### 5. Create Visual Connections
115
116**When to use**: User wants to connect items on a board with lines or arrows
117
118**Tool sequence**:
1191. `MIRO_GET_BOARD_ITEMS` - Find items to connect [Prerequisite]
1202. `MIRO_GET_CONNECTORS2` - View existing connections [Optional]
121
122**Key parameters**:
123- `board_id`: Target board ID
124- `startItem`: Object with `id` of the source item
125- `endItem`: Object with `id` of the target item
126- `style`: Connector style (line type, color, arrows)
127
128**Pitfalls**:
129- Both start and end items must exist on the same board
130- Item IDs are required for connections; resolve via GET_BOARD_ITEMS first
131- Connector styles vary; check available options in schema
132- Self-referencing connections (same start and end) are not allowed
133
134## Common Patterns
135
136### ID Resolution
137
138**Board name -> Board ID**:
139```
1401. Call MIRO_GET_BOARDS2 with query=board_name
1412. Find board by name in results
1423. Extract id field
143```
144
145**Item lookup on board**:
146```
1471. Call MIRO_GET_BOARD_ITEMS with board_id and optional type filter
1482. Find item by content or position
1493. Extract item id for further operations
150```
151
152### Pagination
153
154- Boards: Use `offset` and `limit` (offset-based)
155- Board items: Use `cursor` and `limit` (cursor-based)
156- Continue until no more results or cursor is absent
157- Default page sizes vary by endpoint
158
159### Coordinate System
160
161- Board origin (0,0) is at the center
162- Positive X is right, positive Y is down
163- Items positioned by their center point
164- Use `position: {x: 0, y: 0}` for center of board
165- Frames define bounded areas; items inside inherit frame position
166
167## Known Pitfalls
168
169**Board IDs**:
170- Board IDs are required for virtually all operations
171- Always resolve board names to IDs via GET_BOARDS2 first
172- Do not hardcode board IDs; they vary by account
173
174**Item Creation**:
175- Each item type has different required fields
176- Sticky notes need `data.content` for text
177- Frames need `geometry.width` and `geometry.height`
178- Position defaults to (0,0) if not specified; items may overlap
179
180**Rate Limits**:
181- Miro API has rate limits per token
182- Bulk operations preferred over individual item creation
183- Use MIRO_CREATE_ITEMS_IN_BULK for multiple items
184
185**Response Parsing**:
186- Response data may be nested under `data` key
187- Item types determine which fields are present in response
188- Parse defensively; optional fields may be absent
189
190## Quick Reference
191
192| Task | Tool Slug | Key Params |
193|------|-----------|------------|
194| List boards | MIRO_GET_BOARDS2 | query, sort, limit, offset |
195| Get board details | MIRO_GET_BOARD | board_id |
196| Create board | MIRO_CREATE_BOARD | name, description |
197| Add sticky note | MIRO_CREATE_STICKY_NOTE_ITEM | board_id, data, style, position |
198| Add frame | MIRO_CREATE_FRAME_ITEM2 | board_id, data, geometry, position |
199| Bulk add items | MIRO_CREATE_ITEMS_IN_BULK | board_id, items |
200| Get board items | MIRO_GET_BOARD_ITEMS | board_id, type, cursor |
201| Share board | MIRO_SHARE_BOARD | board_id, emails, role |
202| Get members | MIRO_GET_BOARD_MEMBERS | board_id |
203| Get connectors | MIRO_GET_CONNECTORS2 | board_id |