miro-remote-mcp
Provides tools for managing Miro boards, items (sticky notes, shapes, text, frames), and connectors via the Miro API, with OAuth2 authentication and token refresh.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@miro-remote-mcpCreate a Miro board for project planning"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Miro MCP Server
Model Context Protocol (MCP) server for Miro API with OAuth2 authentication. Enables Claude AI to programmatically create and manipulate Miro boards.
Features
Full OAuth2 Support: Authorization code flow with automatic token refresh
14 MCP Tools covering all essential Miro operations:
Board operations (list, get, create)
Item operations (list, get, update, delete)
Item creation (sticky notes, shapes, text, frames)
Connectors (create, update)
Rate Limiting: Built-in handling of Miro's API rate limits
Error Handling: Comprehensive error reporting and recovery
Related MCP server: miro-mcp-server
Architecture Pattern
Standalone Single-Account MCP Server:
This server follows the standalone pattern where it manages its own Miro OAuth tokens:
One server instance = one Miro account (the server owner's account)
Tokens stored locally (
/data/tokens.jsonin production,~/.config/mcps/miro-dev/tokens.jsonin development)No multi-user support (all clients use the same Miro account)
Reauthentication URL:
${BASE_URI}/oauth/authorize(the server itself)
Comparison with mcp-gateway pattern:
This is different from the mcp-gateway architecture where:
The gateway manages tokens per user across multiple services
Each user has their own service accounts (Gmail, Miro, etc.)
Tokens stored in gateway database
Reauthentication URL:
${GATEWAY_URL}/mcp/miro/oauth/authorize?user_id=X
Choose standalone when:
✅ Single Miro account for all Claude users
✅ Simpler deployment (no gateway infrastructure)
✅ Direct MCP connection
Choose gateway when:
✅ Multiple users with different Miro accounts
✅ Unified access control across services
✅ Centralized token management
Installation
npm install
npm run buildConfiguration
1. Set up environment variables
Copy .env.example to .env and configure:
cp .env.example .envEdit .env:
MIRO_CLIENT_ID=your_client_id
MIRO_CLIENT_SECRET=your_client_secret
MIRO_REDIRECT_URI=http://localhost:3000/oauth/callback2. Get OAuth2 tokens
The provided tokens have expired. You need to obtain new tokens:
Option A: Manual OAuth2 Flow
Visit the authorization URL:
https://miro.com/oauth/authorize?response_type=code&client_id=YOUR_CLIENT_ID&redirect_uri=http://localhost:3000/oauth/callbackAuthorize the app and copy the
codefrom the redirect URLExchange the code for tokens:
curl -X POST "https://api.miro.com/v1/oauth/token" \
-H "Content-Type: application/x-www-form-urlencoded" \
-d "grant_type=authorization_code" \
-d "code=YOUR_CODE_HERE" \
-d "client_id=YOUR_CLIENT_ID" \
-d "client_secret=YOUR_CLIENT_SECRET" \
-d "redirect_uri=http://localhost:3000/oauth/callback"Copy the
access_tokenandrefresh_tokento your.envfile
Option B: Use Existing OAuth Helper (TODO)
A simple OAuth callback server will be added to automate this process.
Usage
Test API Access
npm testThis will:
Verify authentication
List your boards
Create a test board
Create items on the test board
Start MCP Server
npm run dev # Development mode with auto-reload
npm start # Production modeConfigure in Claude Desktop
Add to your Claude Desktop config (~/Library/Application Support/Claude/claude_desktop_config.json):
{
"mcpServers": {
"miro-dev": {
"command": "node",
"args": ["/path/to/miro-mcp/dist/index.js"],
"env": {
"MIRO_CLIENT_ID": "YOUR_CLIENT_ID",
"MIRO_CLIENT_SECRET": "YOUR_CLIENT_SECRET",
"MIRO_ACCESS_TOKEN": "your_access_token",
"MIRO_REFRESH_TOKEN": "your_refresh_token"
}
}
}
}Available Tools
Board Operations
list_boards- List all accessible boardsget_board- Get board detailscreate_board- Create a new board
Item Operations
list_items- List items with optional type filteringget_item- Get item detailsupdate_item- Update item propertiesdelete_item- Delete an item
Item Creation
create_sticky_note- Create sticky notes with custom stylingcreate_shape- Create shapes (rectangle, circle, etc.)create_text- Create text itemscreate_frame- Create frames for grouping
Connectors
create_connector- Create lines/arrows between itemsupdate_connector- Update connector styling
Example Usage with Claude
Create a Miro board showing 3 agile squads (Alpha, Beta, Gamma).
Each squad has 1 Product Owner, 1 Scrum Master, and 5 developers.
Use frames for each squad, sticky notes for team members, and connectors
to show reporting lines.
Color coding:
- Product Owners: yellow sticky notes
- Scrum Masters: green sticky notes
- Developers: blue sticky notesDevelopment
Project Structure
miro-mcp/
├── src/
│ ├── index.ts # MCP server entry point
│ ├── oauth.ts # OAuth2 manager
│ ├── miro-client.ts # Miro API client wrapper
│ ├── tools.ts # MCP tool definitions
│ ├── test-api.ts # API testing script
│ └── test-mcp.ts # MCP protocol tests
├── dist/ # Compiled JavaScript
├── package.json
├── tsconfig.json
└── .env # Configuration (not in git)Running Tests
npm run build # Build TypeScript
npm test # Test API access
npm run test:integration # Test MCP protocolTroubleshooting
Token Expired Error
If you see authentication errors:
The access token expires after 1 hour
The server will automatically refresh using the refresh token
If refresh token also expires, you need to re-authenticate
Automatic Reauthentication Flow:
When tokens are expired or invalid, Claude Desktop/Code will receive an error with a reauthentication URL:
{
"error": {
"code": -32001,
"message": "Miro authentication expired or invalid.",
"data": {
"authorize_url": "https://your-server.com/oauth/authorize",
"action_hint": "Visit the authorize_url to reauthenticate with Miro"
}
}
}To reauthenticate:
Visit the
authorize_urlfrom the error messageYou'll be redirected to Miro for authorization
After approval, tokens are automatically saved
Retry your original request
Rate Limiting
Miro allows 100 requests/minute per user. The client tracks rate limits and will report errors if exceeded.
Connection Issues
Make sure:
Environment variables are set correctly
Tokens are valid and not expired
Network allows access to api.miro.com
API Documentation
License
MIT
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/FlyAgileWithGiom/miro-remote-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server