MCP Server
The Canvelete (opens in a new tab) MCP (Model Context Protocol) server enables AI assistants like Claude, Kiro, and other MCP-compatible clients to create and manipulate designs programmatically.
Installation
Global Installation
npm install -g @canveletedotcom/mcp-serverNPX (No Installation)
npx -y @canveletedotcom/mcp-server startConfiguration
Claude Desktop
Add to your Claude Desktop config file:
macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
Windows: %APPDATA%\Claude\claude_desktop_config.json
Linux: ~/.config/Claude/claude_desktop_config.json
{
"mcpServers": {
"canvelete-mcp-server": {
"command": "canvelete-mcp",
"args": ["start"],
"env": {
"CANVELETE_API_KEY": "your_api_key_here"
}
}
}
}Kiro
Add to ~/.kiro/settings/mcp.json:
{
"mcpServers": {
"canvelete-mcp-server": {
"command": "canvelete-mcp",
"args": ["start"],
"env": {
"CANVELETE_API_KEY": "your_api_key_here"
}
}
}
}Authentication
Get your API key from canvelete.com/settings/api-keys (opens in a new tab).
Available Tools
Design Management
| Tool | Description |
|---|---|
list_designs | List all designs with pagination |
get_design | Get design details |
create_design | Create a new design |
update_design | Update design properties |
delete_design | Delete a design |
duplicate_design | Copy an existing design |
export_design | Export to PNG, JPG, PDF, SVG |
Canvas Manipulation
| Tool | Description |
|---|---|
add_element | Add element (shape, text, image, QR, barcode) |
update_element | Modify element properties |
delete_element | Remove element from canvas |
resize_canvas | Change canvas dimensions |
clear_canvas | Remove all elements |
Element Types
The MCP server supports 13 element types:
- Shapes: rectangle, circle, polygon, star, line
- Content: text, image, svg
- Data: qr, barcode, table
- Layout: container, bezier
Templates
| Tool | Description |
|---|---|
list_templates | Browse available templates |
apply_template | Apply template to design |
create_template | Save design as template |
Assets
| Tool | Description |
|---|---|
list_assets | View asset library |
search_stock_images | Search Pixabay (2.7M+ images) |
search_icons | Search Iconify (200K+ icons) |
search_clipart | Search clipart graphics |
list_fonts | List available fonts |
AI Integration
| Tool | Description |
|---|---|
generate_design | Generate design with AI |
chat_with_civi | Interact with Civi AI |
Example Conversations
Once configured, ask your AI assistant:
- "Create a 1080x1080 Instagram post design"
- "Add a text element that says 'Hello World'"
- "Export design_123 as PNG"
- "Search for stock images of mountains"
- "List all my designs"
Quick Example
// 1. Create design
create_design({
name: "Social Post",
width: 1080,
height: 1080
})
// 2. Add background
add_element({
designId: "design_id",
element: {
type: "rectangle",
x: 0, y: 0,
width: 1080, height: 1080,
fill: "linear-gradient(135deg, #667eea 0%, #764ba2 100%)"
}
})
// 3. Add text
add_element({
designId: "design_id",
element: {
type: "text",
text: "HELLO WORLD",
x: 100, y: 400,
width: 880, height: 150,
fontSize: 72,
fontFamily: "Poppins",
fill: "#FFFFFF",
fontWeight: "bold"
}
})
// 4. Export
export_design({
designId: "design_id",
format: "png"
})Available Resources
Resources provide read-only access to Canvelete data:
| URI | Description |
|---|---|
canvelete://api/designs/list | List user designs |
canvelete://api/design/{id} | Get design details |
canvelete://api/canvas/{id} | Get canvas state |
canvelete://api/assets/library | User assets |
canvelete://api/assets/fonts | Available fonts |
canvelete://api/user/profile | User profile |
Prompts
Built-in prompts for common tasks:
create_social_post— Create social media postscreate_presentation_slide— Create presentation slidesadd_text_element— Add styled text elements
Troubleshooting
"Invalid API key"
- Verify key at canvelete.com/settings/api-keys (opens in a new tab)
- Check key hasn't expired
"Permission denied"
- Ensure API key has appropriate scopes
- Verify you own the resource
Claude Desktop doesn't show resources
- Restart Claude Desktop
- Check config file syntax
- Verify server path is correct
Support
- Documentation: docs.canvelete.com
- Platform: canvelete.com (opens in a new tab)
- GitHub Issues: github.com/Canvelete/canvelete/issues (opens in a new tab)
- Email: support@canvelete.com