Skip to main content
Glama

Excalidraw MCP Server

by yctimlin
index.html6.48 kB
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>Excalidraw POC - Backend API Integration</title> <style> body { margin: 0; padding: 0; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', sans-serif; background-color: #f5f5f5; } .header { background: #fff; box-shadow: 0 2px 4px rgba(0,0,0,0.1); padding: 10px 20px; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px; } .header h1 { margin: 0; color: #333; font-size: 24px; } .controls { display: flex; gap: 10px; flex-wrap: wrap; } button { padding: 8px 16px; border: none; border-radius: 4px; cursor: pointer; font-size: 14px; transition: background-color 0.2s; } .btn-primary { background-color: #007bff; color: white; } .btn-primary:hover { background-color: #0056b3; } .btn-secondary { background-color: #6c757d; color: white; } .btn-secondary:hover { background-color: #545b62; } .btn-success { background-color: #28a745; color: white; } .btn-success:hover { background-color: #218838; } .btn-danger { background-color: #dc3545; color: white; } .btn-danger:hover { background-color: #c82333; } .status { display: flex; align-items: center; gap: 8px; font-size: 14px; } .status-dot { width: 8px; height: 8px; border-radius: 50%; } .status-connected { background-color: #28a745; } .status-disconnected { background-color: #dc3545; } .canvas-container { height: calc(100vh - 80px); width: 100%; position: relative; } .api-panel { position: fixed; right: 20px; top: 100px; background: white; border-radius: 8px; box-shadow: 0 4px 12px rgba(0,0,0,0.15); padding: 20px; width: 300px; max-height: 400px; overflow-y: auto; z-index: 1000; } .api-panel h3 { margin: 0 0 15px 0; color: #333; font-size: 18px; } .api-form { display: flex; flex-direction: column; gap: 10px; } .form-group { display: flex; flex-direction: column; gap: 5px; } label { font-weight: 500; color: #555; font-size: 14px; } input, select { padding: 8px; border: 1px solid #ddd; border-radius: 4px; font-size: 14px; } .form-row { display: flex; gap: 10px; } .form-row .form-group { flex: 1; } .toggle-panel { position: fixed; right: 20px; top: 60px; background: #007bff; color: white; border: none; border-radius: 4px; padding: 10px; cursor: pointer; font-size: 14px; z-index: 1001; } .api-panel.hidden { display: none; } .notification { position: fixed; top: 20px; right: 20px; padding: 12px 16px; border-radius: 4px; color: white; font-size: 14px; z-index: 1002; animation: slideIn 0.3s ease; } .notification.success { background-color: #28a745; } .notification.error { background-color: #dc3545; } @keyframes slideIn { from { transform: translateX(100%); opacity: 0; } to { transform: translateX(0); opacity: 1; } } .element-count { font-size: 14px; color: #666; } .loading { display: flex; justify-content: center; align-items: center; height: 100%; font-size: 16px; color: #666; } .loading-content { text-align: center; } .loading-content div:first-child { margin-bottom: 10px; } /* Sync Controls Styles */ .sync-controls { display: flex; align-items: center; gap: 10px; } .btn-loading { position: relative; } .spinner { display: inline-block; width: 12px; height: 12px; border: 2px solid #ffffff40; border-top: 2px solid #ffffff; border-radius: 50%; animation: spin 1s linear infinite; margin-right: 5px; } @keyframes spin { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } } .sync-status { font-size: 12px; min-width: 100px; } .sync-success { color: #4caf50; } .sync-error { color: #f44336; } .sync-time { color: #666; } </style> </head> <body> <div id="root"></div> <script type="module" src="./src/main.jsx"></script> </body> </html>

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/yctimlin/mcp_excalidraw'

If you have feedback or need assistance with the MCP directory API, please join our Discord server