Connect Miro to Claude: Design Visuals and Manage Governance
Learn how to connect Miro to Claude using a managed MCP server. This guide covers architecture, API quirks, tool configuration, and automated visual workflows.
If you need to connect Miro to Claude to automate visual design workflows, orchestrate team brainstorming sessions, or manage enterprise governance policies, you need a Model Context Protocol (MCP) server. This server acts as the translation layer between Claude's tool calls and Miro's REST APIs. You can either build and maintain this infrastructure yourself, or use a managed integration platform like Truto to dynamically generate a secure, authenticated MCP server URL.
If your team uses ChatGPT, check out our guide on /connect-miro-to-chatgpt-automate-boards-and-team-workflows/ or explore our broader architectural overview on /connect-miro-to-ai-agents-scale-board-ops-and-org-compliance/.
Giving a Large Language Model (LLM) read and write access to a visual collaboration platform like Miro is an engineering challenge. You have to handle OAuth 2.0 token lifecycles, map highly nested geometric JSON schemas to MCP tool definitions, and deal with Miro's strict API quotas. Every time Miro updates an endpoint or deprecates a legacy resource, you have to update your server code, redeploy, and test the integration.
This guide breaks down exactly how to use Truto to generate a secure, managed MCP server for Miro, connect it natively to Claude Desktop, and execute complex design and administrative workflows using natural language.
The Engineering Reality of the Miro API
A custom MCP server is a self-hosted integration layer. While the open MCP standard provides a predictable way for models to discover tools, the reality of implementing it against Miro's APIs is painful. You are not just integrating a standard CRUD database - you are integrating a spatial canvas, a document store, and an enterprise administration console.
If you decide to build a custom MCP server for Miro, here are the specific integration challenges you will face:
Spatial Geometry and Coordinate Systems
Miro's items rely heavily on relative positioning and geometry. Updating an item on a board is not just a text update; it is a spatial operation. You cannot simply instruct an LLM to "create a sticky note." The payload requires specific x and y coordinates, width, height, and rotation inside a geometry and position object. Furthermore, items are often bound to parent frames or mind map nodes. A generic tool definition will cause Claude to hallucinate coordinates, resulting in items stacked on top of each other at [0,0]. You must define strict JSON schemas that force the LLM to calculate and space out coordinates accurately.
Fragmented Item Taxonomies
Miro does not have a single POST /items endpoint. The API treats the canvas as a collection of distinct types. There are separate endpoints to create a shape, a sticky_note, a text block, an app_card, or a document. Building a custom MCP server requires you to manually define separate tools for every single item type, maintain their distinct style schemas (e.g., shapes have fillColor and borderOpacity, while text relies on textAlign and fontFamily), and keep them synced with Miro's API documentation.
Enterprise-Gated Endpoints
Many powerful administrative endpoints in Miro - such as list_all_miro_team_projects, eDiscovery case management, and data classification settings - are strictly gated behind Enterprise or Enterprise Guard plans. If an LLM attempts to call these endpoints on a standard team plan, it will hard-fail with a 403 Forbidden error. Your MCP server must be intelligent enough to filter available tools based on the specific plan of the authenticated Miro organization.
Strict Rate Limiting
Miro enforces aggressive rate limits on API operations. A common mistake developers make is assuming an integration layer will magically absorb these limits. Factual note on rate limits: Truto does not retry, throttle, or apply backoff on rate limit errors. When the upstream Miro API returns an HTTP 429 (Too Many Requests), Truto passes that error directly back to the caller. Truto normalizes the upstream rate limit information into standardized headers (ratelimit-limit, ratelimit-remaining, ratelimit-reset) per the IETF specification. The caller - in this case, the script bridging Claude to the MCP server - is strictly responsible for implementing its own retry and exponential backoff logic.
Generating the Miro MCP Server
Rather than hand-coding tool definitions, Truto dynamically derives them from your integration's configured resources and OpenAPI documentation schemas. A tool only appears in the MCP server if it has a corresponding documentation entry, acting as a curation mechanism to ensure Claude only sees well-documented endpoints.
Each MCP server is scoped to a single integrated account (a connected instance of Miro for a specific tenant). The server URL contains a cryptographic token that encodes which account to use, what tools to expose, and when the server expires.
You can generate this server in two ways.
Method 1: Via the Truto UI
For administrators and internal tooling, the easiest way to generate an MCP server is through the dashboard:
- Navigate to the Integrated Accounts page for your Miro connection.
- Click the MCP Servers tab.
- Click Create MCP Server.
- Select the desired configuration (e.g., Name: "Miro Admin Agent", Allowed Methods:
read,write). - Copy the generated MCP server URL (e.g.,
https://api.truto.one/mcp/a1b2c3d4...).
Method 2: Via the Truto API
For dynamic agentic workflows, you can provision MCP servers programmatically. This validates that the Miro integration has tools available, generates a secure hashed token, stores it in Truto's edge KV storage, and returns a ready-to-use URL.
Endpoint: POST /integrated-account/:id/mcp
curl -X POST https://api.truto.one/integrated-account/<MIRO_ACCOUNT_ID>/mcp \
-H "Authorization: Bearer <YOUR_TRUTO_API_KEY>" \
-H "Content-Type: application/json" \
-d '{
"name": "Claude Miro Design Server",
"config": {
"methods": ["read", "write"],
"tags": ["boards", "items"]
},
"expires_at": "2026-12-31T23:59:59Z"
}'The response provides the self-contained URL:
{
"id": "mcp_abc123",
"name": "Claude Miro Design Server",
"config": {
"methods": ["read", "write"],
"tags": ["boards", "items"]
},
"expires_at": "2026-12-31T23:59:59.000Z",
"url": "https://api.truto.one/mcp/a1b2c3d4e5f67890"
}Connecting the MCP Server to Claude
Once you have the Truto MCP URL, connecting it to Claude requires zero additional coding. The URL natively speaks JSON-RPC 2.0.
Method A: Via the Claude UI
If you are using Claude Desktop or Claude for Enterprise:
- Open Claude and navigate to Settings -> Integrations -> Add MCP Server.
- Name the integration (e.g., "Truto Miro").
- Paste the Truto MCP URL.
- Click Add.
Claude will immediately execute the initialize handshake, discover the available Miro tools, and make them available in the chat interface.
Method B: Via Manual Configuration File
For local development or headless deployments, you can connect Claude Desktop by modifying the local configuration file. Truto provides an SSE (Server-Sent Events) wrapper to proxy the connection.
Open your claude_desktop_config.json file (typically found in ~/Library/Application Support/Claude/ on macOS or %APPDATA%\Claude\ on Windows) and add the following:
{
"mcpServers": {
"miro-truto": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-sse",
"https://api.truto.one/mcp/a1b2c3d4e5f67890"
]
}
}
}Restart Claude Desktop. The agent is now fully authenticated against the specific Miro workspace encoded in the token.
Security and Access Control
When granting LLMs access to enterprise infrastructure like Miro, security boundaries are critical. Truto MCP servers enforce access control natively:
- Method Filtering: Restrict servers to specific operations. Passing
"methods": ["read"]ensures Claude can only callgetandlistoperations (e.g., listing boards), fundamentally preventing accidental deletions or unwanted board modifications. - Tag Filtering: Group and isolate tools by domain. Passing
"tags": ["governance"]scopes the server exclusively to administrative and compliance endpoints (like eDiscovery cases), hiding standard canvas design tools. - Expiration Enforcement (
expires_at): Ideal for temporary agent sessions. You can set an ISO timestamp to automatically kill the server, revoking the token from edge storage the millisecond it expires. - Extra Authentication (
require_api_token_auth): By default, possessing the MCP URL is enough to access the tools. Setting this flag totrueforces Claude to also pass a valid Truto API token in theAuthorizationheader, securing the integration against leaked URLs.
Miro Hero Tools for Claude
When connected, Claude gains access to standardized proxy tools derived directly from the Miro API. Here are the highest-leverage tools available for AI agents.
create_a_miro_board
Creates a brand new Miro board in a specified team or project. This is the foundational tool Claude uses before orchestrating visual content.
Contextual usage: Claude needs the name and optional description or policy settings. Free plans are strictly capped at 3 team boards, so the LLM should verify available quotas or catch creation errors appropriately.
"Create a new Miro board named 'Q4 Sprint Retrospective' and set the sharing policy so that anyone in the team can view it."
create_a_miro_board_sticky_note
Generates a standard sticky note item on an existing canvas.
Contextual usage: Requires the board_id and a data object containing the text content. Claude must also generate a position object (x, y coordinates) to ensure multiple generated sticky notes do not stack directly on top of each other.
"Add three yellow sticky notes to the Q4 Sprint Retrospective board containing the key takeaways from our meeting notes. Space them out horizontally with 200px between each note."
list_all_miro_board_items
Retrieves the current items on a board. This acts as the "eyes" for the LLM, allowing it to perform Retrieval-Augmented Generation (RAG) against visual workspaces.
Contextual usage: Claude can parse the data.content, type, and geometry of existing items. Because boards can contain thousands of items, Claude must handle the limit and next_cursor variables precisely as returned by Truto to paginate through the canvas.
"List all the items currently on the Architecture Planning board. Find all the red sticky notes and summarize their text content for me."
miro_boards_bulk_update
Creates a copy of an existing Miro board, optionally updating the new board's name, description, and sharing permissions in a single transactional request.
Contextual usage: Requires a copy_from board ID. This is critical for templating workflows, allowing Claude to take a master template board and duplicate it for a new client onboarding session.
"Duplicate the 'Standard Client Onboarding Template' board. Name the new board 'Acme Corp Onboarding' and return the new board's URL."
list_all_miro_members
Lists the members of a Miro organization. This is a core governance tool for auditing seat utilization and security.
Contextual usage: Requires the org_id. This endpoint is exclusive to Enterprise plans. Claude can filter by emails, roles, license types, or active status, allowing it to cross-reference Miro directory data with internal HR systems.
"List all members in the Miro organization who currently hold an 'admin' role, and check if any of them have been inactive for more than 90 days."
create_a_miro_export_job
Triggers an asynchronous board export job. This is vital for compliance archiving and backup routines.
Contextual usage: Requires the org_id and a request_id. This is an Enterprise Guard feature. Because the export runs asynchronously, Claude must trigger this tool and subsequently poll the job status using get_single_miro_export_job_by_id until it completes.
"Trigger an export job for the 'Q3 Financial Planning' board for compliance archiving. Check the job status and let me know when the S3 download links are ready."
For the complete tool inventory and detailed JSON schemas, view the Miro integration page.
Workflows in Action
With the MCP server connected and tools exposed, Claude can autonomously orchestrate multi-step processes across Miro. Here are two real-world scenarios.
Automated Sprint Retrospective Board Setup
Agile teams waste hours manually setting up canvases for sprint ceremonies. Claude can fully automate this environment provisioning.
"Create a new Miro board for our 'Sprint 42 Retrospective'. Once created, add a large text header for 'What went well', 'What didn't go well', and 'Action Items'. Add 5 blank sticky notes under each category for the team to use, appropriately spaced out so they don't overlap."
Execution flow:
- Claude calls
create_a_miro_boardwith the name "Sprint 42 Retrospective" and extracts the newboard_id. - Claude calls
create_a_miro_board_textthree times, calculating X/Y coordinates to position the headers across the top of the canvas. - Claude loops over the
create_a_miro_board_sticky_notetool 15 times, actively calculating grid coordinates (e.g., incrementing the Y axis by 150px per note) to place 5 notes neatly under each of the three headers.
sequenceDiagram
participant ClaudeUI as Claude UI
participant TrutoMCP as Truto MCP
participant MiroAPI as Miro API
ClaudeUI->>TrutoMCP: create_a_miro_board
TrutoMCP->>MiroAPI: POST /v2/boards
MiroAPI-->>ClaudeUI: board_id (12345)
ClaudeUI->>TrutoMCP: create_a_miro_board_text (Header 1)
TrutoMCP->>MiroAPI: POST /v2/boards/12345/texts
ClaudeUI->>TrutoMCP: create_a_miro_board_sticky_note (Loop 5x)
TrutoMCP->>MiroAPI: POST /v2/boards/12345/sticky_notes
MiroAPI-->>ClaudeUI: 201 CreatedE-Discovery & Governance Audit
For enterprise IT teams, ensuring compliance across thousands of boards is a nightmare. Claude can act as an intelligent governance agent.
"We are undergoing a security audit. Check our Miro organization for any legal holds related to the 'Project Alpha' case. List all the legal holds, then check if the 'Alpha Architecture V1' board is included in that hold."
Execution flow:
- Claude calls
list_all_miro_org_casesto retrieve the internalcase_idfor "Project Alpha". - Claude calls
list_all_miro_case_legal_holdsusing thecase_idandorg_idto retrieve active preservation holds. - Claude calls
list_all_miro_legal_hold_content_itemsto retrieve the raw array ofcontentIdreferences protected under the hold. - Claude cross-references this list, parsing the metadata to verify if the specified architecture board is legally preserved from deletion.
Final Thoughts
Building a custom integration to bridge an LLM to a highly complex, spatial API like Miro requires deep investment in token management, dynamic JSON schema rendering, and rate limit architectures.
By leveraging Truto's managed MCP servers, you bypass the infrastructure build entirely. Truto automatically generates the tool schemas from live documentation, handles the OAuth lifecycle, and exposes a secure JSON-RPC interface that natively connects to Claude. Your engineering team can focus on writing better agent prompts, not reading API changelogs.
FAQ
- How do I connect Miro to Claude?
- You can connect Miro to Claude by generating a managed MCP server URL via Truto and adding it to Claude's custom connector settings or your claude_desktop_config.json file.
- Does Truto handle Miro API rate limits automatically?
- No. Truto passes HTTP 429 rate limit errors directly to the caller and normalizes the upstream rate limit information into standardized IETF headers (ratelimit-limit, ratelimit-remaining, ratelimit-reset). The caller is responsible for retries and backoff.
- Can Claude update existing items on a Miro board?
- Yes. Using tools like update_a_miro_board_sticky_note_by_id or update_a_miro_board_shape_by_id, Claude can modify the content, style, geometry, and coordinates of existing items.
- Are all Miro endpoints available as MCP tools?
- Truto dynamically generates MCP tools based on available API endpoints and their documentation schemas. You can further restrict which tools Claude can access using method and tag filtering.