# MCP Server v1.1.1 - Published Successfully! š
## Publication Details
**Package:** `@canveletedotcom/mcp-server`
**Version:** 1.1.1
**Published:** December 19, 2024
**Registry:** https://registry.npmjs.org/
**Package URL:** https://www.npmjs.com/package/@canveletedotcom/mcp-server
## What's New in v1.1.1
### Critical Bug Fixes š
#### 1. QR Code and Barcode Element Types Fixed
- ā
Changed QR code type from `qrcode` to `qr` (matches frontend)
- ā
Fixed property names: `qrData` ā `qrValue`, `barcodeData` ā `barcodeValue`
- ā
Fixed barcode text size: `barcodeTextSize` ā `barcodeFontSize`
- ā
Added missing properties: `barcodeTextMargin`, `barcodeTextAlign`
- ā
QR codes and barcodes now render correctly in the frontend
#### 2. Asset Search Authentication Fixed
- ā
Fixed 401 Unauthorized errors in all asset search tools
- ā
Added authentication headers to Pixabay, Unsplash, Iconify, Clipart, Illustrations
- ā
Updated `AuthContext` to include `apiKey` property
- ā
Added `apiKey` parameter to all asset search tool schemas
- ā
Asset searches now work correctly with API key authentication
## Installation
### For Users
```bash
# Install globally
npm install -g @canveletedotcom/mcp-server
# Or use with npx
npx @canveletedotcom/mcp-server --api-key YOUR_API_KEY
```
### For MCP Clients (Claude Desktop, etc.)
```json
{
"mcpServers": {
"canvelete": {
"command": "npx",
"args": ["-y", "@canveletedotcom/mcp-server@1.1.1"],
"env": {
"CANVELETE_API_KEY": "your-api-key-here"
}
}
}
}
```
## Breaking Changes
### QR Code Type Change
**Before (v1.1.0):**
```typescript
{
type: "qrcode",
qrData: "https://example.com"
}
```
**After (v1.1.1):**
```typescript
{
type: "qr",
qrValue: "https://example.com"
}
```
### Barcode Property Changes
**Before (v1.1.0):**
```typescript
{
type: "barcode",
barcodeData: "12345",
barcodeTextSize: 12
}
```
**After (v1.1.1):**
```typescript
{
type: "barcode",
barcodeValue: "12345",
barcodeFontSize: 20,
barcodeTextMargin: 2,
barcodeTextAlign: "center"
}
```
### Asset Search Authentication
All asset search tools now require API key:
```typescript
// Before (v1.1.0) - Would fail with 401
{
"tool": "search_stock_images",
"arguments": {
"query": "nature"
}
}
// After (v1.1.1) - Works correctly
{
"tool": "search_stock_images",
"arguments": {
"apiKey": "cvl_xxxxxxxxxxxxx",
"query": "nature"
}
}
```
## Package Contents
Published files:
- ā
`dist/index.cjs` (1.3 MB) - Compiled server
- ā
`README.md` (20.5 KB) - Main documentation
- ā
`CHANGELOG.md` (6.7 KB) - Version history
- ā
`ELEMENT_TYPES_GUIDE.md` (14.7 KB) - Element documentation
- ā
`ASSET_SEARCH_GUIDE.md` (14.5 KB) - Asset search documentation
- ā
`DEPLOYMENT.md` (8.4 KB) - Deployment guide
- ā
`MCP_COMPLIANCE.md` (9.9 KB) - MCP specification compliance
- ā
`SPECIFICATION_COMPLIANCE.md` (8.1 KB) - Detailed compliance
- ā
`ENHANCEMENTS_SUMMARY.md` (13.4 KB) - Feature summary
- ā
`CONTRIBUTING.md` (4.1 KB) - Contribution guidelines
- ā
`LICENSE` (1.1 KB) - MIT License
**Total Package Size:** 269.8 KB (compressed)
**Unpacked Size:** 1.4 MB
## Verification
### Check Published Version
```bash
npm view @canveletedotcom/mcp-server version
# Should output: 1.1.1
```
### Install and Test
```bash
# Install globally
npm install -g @canveletedotcom/mcp-server@1.1.1
# Test with API key
canvelete-mcp --api-key YOUR_API_KEY
```
### Test QR Code Creation
```typescript
// Should now work correctly
{
"tool": "add_element",
"arguments": {
"apiKey": "cvl_xxx",
"designId": "design_id",
"element": {
"type": "qr",
"x": 100,
"y": 100,
"width": 200,
"height": 200,
"qrValue": "https://canvelete.com"
}
}
}
```
### Test Asset Search
```typescript
// Should now work correctly
{
"tool": "search_stock_images",
"arguments": {
"apiKey": "cvl_xxx",
"query": "nature",
"page": 1,
"perPage": 20
}
}
```
## Documentation
### New Documentation Files
- `QR_BARCODE_FIX.md` - Detailed QR/Barcode fix documentation
- `ASSET_AUTH_FIX.md` - Detailed asset authentication fix
- `MCP_FIXES_SUMMARY.md` - Comprehensive summary of all fixes
- `PUBLISH_SUCCESS.md` - This file
### Updated Documentation
- `CHANGELOG.md` - Added v1.1.1 release notes
- `package.json` - Updated version to 1.1.1
## Next Steps
### For Users
1. Update your MCP client configuration to use v1.1.1
2. Update any code using `type: "qrcode"` to `type: "qr"`
3. Update property names: `qrData` ā `qrValue`, `barcodeData` ā `barcodeValue`
4. Ensure API key is provided for asset search tools
### For Developers
1. Pull latest changes from repository
2. Review breaking changes in CHANGELOG.md
3. Update integration tests if needed
4. Monitor npm downloads and user feedback
## Support
- **Issues:** https://github.com/canvelete/canvelete/issues
- **Documentation:** https://docs.canvelete.com
- **Website:** https://canvelete.com
- **npm Package:** https://www.npmjs.com/package/@canveletedotcom/mcp-server
## Build Information
- **Node Version:** >=18.0.0
- **Build Tool:** tsup v8.5.1
- **Build Time:** 120ms
- **Target:** node18
- **Format:** CommonJS (CJS)
## Success Metrics
ā
Build completed successfully
ā
All TypeScript diagnostics cleared
ā
Package published to npm registry
ā
Version 1.1.1 available for installation
ā
All critical bugs fixed
ā
Documentation updated
ā
CHANGELOG updated
---
**Status:** š¢ Published and Ready for Use
**Version:** 1.1.1
**Date:** December 19, 2024
**Publisher:** canveletedotcom