Skip to main content
Glama

Personal MCP Server

by pablicio
styles.css15.6 kB
/* MCP Server Dashboard - Styles */ * { margin: 0; padding: 0; box-sizing: border-box; } :root { --primary: #3b82f6; --primary-dark: #2563eb; --secondary: #64748b; --success: #10b981; --danger: #ef4444; --warning: #f59e0b; --info: #06b6d4; --bg: #0f172a; --bg-secondary: #1e293b; --surface: #1e293b; --surface-hover: #334155; --text: #f1f5f9; --text-secondary: #94a3b8; --border: #334155; --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.3); } body { font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; background: var(--bg); color: var(--text); line-height: 1.6; overflow-x: hidden; } /* HEADER */ .header { background: linear-gradient(135deg, var(--primary), var(--primary-dark)); padding: 24px; box-shadow: var(--shadow); position: sticky; top: 0; z-index: 100; } .header-content { max-width: 1400px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; } .header-title h1 { font-size: 24px; font-weight: 700; color: white; } .header-title .subtitle { color: rgba(255, 255, 255, 0.8); font-size: 13px; } .server-status { display: flex; align-items: center; gap: 8px; padding: 8px 16px; background: rgba(255, 255, 255, 0.1); border-radius: 20px; font-size: 13px; color: white; } .status-dot { width: 8px; height: 8px; border-radius: 50%; } .status-online { background: var(--success); animation: pulse 2s infinite; } .status-offline { background: var(--danger); } @keyframes pulse { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.5; transform: scale(1.1); } } /* CONTAINER */ .container { max-width: 1400px; margin: 0 auto; padding: 24px; } /* STATS GRID */ .stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; margin-bottom: 32px; } .stat-card { background: var(--surface); padding: 24px; border-radius: 16px; border: 1px solid var(--border); box-shadow: var(--shadow); transition: transform 0.2s; position: relative; overflow: hidden; } .stat-card:hover { transform: translateY(-4px); } .stat-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: linear-gradient(90deg, var(--primary), var(--info)); } .stat-header { display: flex; justify-content: space-between; margin-bottom: 16px; } .stat-icon { font-size: 32px; opacity: 0.8; } .stat-label { font-size: 12px; color: var(--text-secondary); text-transform: uppercase; letter-spacing: 0.5px; font-weight: 600; } .stat-value { font-size: 36px; font-weight: 700; color: var(--primary); line-height: 1; margin-bottom: 8px; } .stat-change { font-size: 13px; color: var(--text-secondary); } /* TABS */ .tabs-container { background: var(--surface); border-radius: 16px; padding: 8px; margin-bottom: 24px; border: 1px solid var(--border); display: flex; gap: 8px; overflow-x: auto; } .tab { padding: 12px 24px; background: transparent; border: none; color: var(--text-secondary); cursor: pointer; border-radius: 10px; transition: all 0.2s; font-weight: 500; font-size: 14px; white-space: nowrap; } .tab:hover { background: var(--surface-hover); color: var(--text); } .tab.active { background: var(--primary); color: white; box-shadow: 0 4px 12px rgba(59, 130, 246, 0.4); } /* CONTENT PANELS */ .content-panel { background: var(--surface); border-radius: 16px; padding: 32px; border: 1px solid var(--border); box-shadow: var(--shadow); display: none; animation: fadeIn 0.3s; } .content-panel.active { display: block; } @keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } } .panel-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 24px; padding-bottom: 16px; border-bottom: 1px solid var(--border); } .panel-title { font-size: 22px; font-weight: 700; } .panel-actions { display: flex; gap: 12px; } /* BUTTONS */ .btn { padding: 10px 20px; border-radius: 10px; border: none; cursor: pointer; font-size: 14px; font-weight: 600; transition: all 0.2s; display: inline-flex; align-items: center; gap: 8px; } .btn:disabled { opacity: 0.5; cursor: not-allowed; } .btn-primary { background: var(--primary); color: white; } .btn-primary:hover:not(:disabled) { background: var(--primary-dark); } .btn-success { background: var(--success); color: white; } .btn-danger { background: var(--danger); color: white; } .btn-secondary { background: var(--surface-hover); color: var(--text); } .btn-sm { padding: 6px 14px; font-size: 12px; } /* TASK ITEMS */ .task-grid { display: grid; gap: 16px; } .task-item { background: var(--bg); border-radius: 12px; padding: 20px; border-left: 4px solid var(--primary); display: flex; gap: 16px; transition: all 0.2s; } .task-item:hover { background: var(--bg-secondary); transform: translateX(4px); } .task-item.completed { opacity: 0.6; border-left-color: var(--success); } .task-content { flex: 1; } .task-title { font-size: 16px; font-weight: 600; margin-bottom: 8px; } .task-item.completed .task-title { text-decoration: line-through; color: var(--text-secondary); } .task-description { font-size: 14px; color: var(--text-secondary); margin-bottom: 12px; } .task-meta { display: flex; gap: 16px; flex-wrap: wrap; font-size: 12px; color: var(--text-secondary); } .task-actions { display: flex; gap: 8px; } /* PRIORITY BADGES */ .priority-badge { padding: 4px 10px; border-radius: 6px; font-size: 11px; font-weight: 700; text-transform: uppercase; } .priority-high { background: rgba(239, 68, 68, 0.2); color: var(--danger); } .priority-medium { background: rgba(245, 158, 11, 0.2); color: var(--warning); } .priority-low { background: rgba(16, 185, 129, 0.2); color: var(--success); } /* FORMS */ .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; } .form-group { display: flex; flex-direction: column; gap: 8px; } .form-label { font-size: 13px; font-weight: 600; color: var(--text); } .form-label.required::after { content: ' *'; color: var(--danger); } .form-input, .form-textarea, .form-select { padding: 12px 16px; background: var(--bg); border: 2px solid var(--border); border-radius: 10px; color: var(--text); font-size: 14px; transition: all 0.2s; font-family: inherit; } .form-input:focus, .form-textarea:focus, .form-select:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1); } .form-textarea { resize: vertical; min-height: 120px; } /* LOGS */ .log-controls { display: flex; gap: 12px; margin-bottom: 16px; flex-wrap: wrap; } .log-container { background: #000; border-radius: 10px; padding: 20px; max-height: 600px; overflow-y: auto; font-family: 'Monaco', 'Menlo', 'Consolas', monospace; font-size: 13px; line-height: 1.6; border: 1px solid var(--border); } .log-line { margin-bottom: 6px; padding: 4px 8px; border-radius: 4px; } .log-line:hover { background: rgba(255, 255, 255, 0.05); } .log-info { color: #3b82f6; } .log-success { color: #10b981; } .log-warning { color: #f59e0b; } .log-error { color: #ef4444; } /* EMPTY STATE */ .empty-state { text-align: center; padding: 80px 20px; color: var(--text-secondary); } .empty-state-icon { font-size: 64px; margin-bottom: 20px; opacity: 0.3; } /* LOADING */ .loading { text-align: center; padding: 60px; } .spinner { border: 3px solid var(--border); border-top: 3px solid var(--primary); border-radius: 50%; width: 48px; height: 48px; animation: spin 1s linear infinite; margin: 0 auto 20px; } @keyframes spin { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } } /* TOAST */ .toast-container { position: fixed; bottom: 24px; right: 24px; z-index: 1000; display: flex; flex-direction: column; gap: 12px; } .toast { background: var(--surface); border: 1px solid var(--border); padding: 16px 20px; border-radius: 12px; box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4); animation: slideIn 0.3s; display: flex; gap: 12px; } .toast.success { border-left: 4px solid var(--success); } .toast.error { border-left: 4px solid var(--danger); } @keyframes slideIn { from { transform: translateX(400px); opacity: 0; } to { transform: translateX(0); opacity: 1; } } /* FILTERS */ .filter-bar { display: flex; gap: 12px; margin-bottom: 20px; flex-wrap: wrap; } .filter-btn { padding: 8px 16px; background: var(--bg); border: 2px solid var(--border); border-radius: 8px; color: var(--text-secondary); cursor: pointer; font-size: 13px; font-weight: 600; transition: all 0.2s; } .filter-btn:hover { border-color: var(--primary); color: var(--text); } .filter-btn.active { background: var(--primary); border-color: var(--primary); color: white; } /* SEARCH */ .search-box { position: relative; flex: 1; max-width: 400px; } .search-input { width: 100%; padding: 10px 16px 10px 44px; background: var(--bg); border: 2px solid var(--border); border-radius: 10px; color: var(--text); font-size: 14px; } .search-input:focus { outline: none; border-color: var(--primary); } .search-icon { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); color: var(--text-secondary); } /* MODALS */ .modal-overlay { display: none; position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: rgba(0, 0, 0, 0.7); z-index: 1000; } .modal-overlay.active { display: block; } .modal { display: none; position: fixed; top: 50%; left: 50%; transform: translate(-50%, -50%); background: var(--surface); border-radius: 16px; box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6); z-index: 1001; max-width: 600px; width: 90%; max-height: 90vh; overflow-y: auto; } .modal.active { display: block; animation: modalIn 0.3s; } @keyframes modalIn { from { opacity: 0; transform: translate(-50%, -45%); } to { opacity: 1; transform: translate(-50%, -50%); } } .modal-header { display: flex; justify-content: space-between; align-items: center; padding: 24px; border-bottom: 1px solid var(--border); } .modal-title { font-size: 20px; font-weight: 700; } .modal-close { background: none; border: none; color: var(--text-secondary); cursor: pointer; font-size: 24px; padding: 0; width: 32px; height: 32px; } .modal-close:hover { color: var(--text); } .modal-body { padding: 24px; } .modal-footer { display: flex; justify-content: flex-end; gap: 12px; margin-top: 24px; } /* EVENT ITEMS */ .event-item { background: var(--bg); border-radius: 10px; padding: 16px; margin-bottom: 12px; border-left: 4px solid var(--info); transition: all 0.2s; } .event-item:hover { background: var(--bg-secondary); transform: translateX(4px); } .event-title { font-weight: 600; margin-bottom: 8px; } .event-time { font-size: 13px; color: var(--text-secondary); } .event-description { font-size: 14px; color: var(--text-secondary); margin-top: 8px; } /* NOTE ITEMS */ .note-item { background: var(--bg); border-radius: 10px; padding: 16px; margin-bottom: 12px; border-left: 4px solid var(--warning); transition: all 0.2s; } .note-item:hover { background: var(--bg-secondary); transform: translateX(4px); } .note-title { font-weight: 600; margin-bottom: 8px; } .note-content { font-size: 14px; color: var(--text-secondary); margin-bottom: 8px; } .note-tags { display: flex; gap: 8px; flex-wrap: wrap; } .note-tag { padding: 2px 8px; background: rgba(245, 158, 11, 0.2); color: var(--warning); border-radius: 4px; font-size: 11px; } /* RESPONSIVE */ @media (max-width: 768px) { .container { padding: 16px; } .stats-grid { grid-template-columns: 1fr; } .form-row { grid-template-columns: 1fr; } .panel-header { flex-direction: column; align-items: start; gap: 16px; } } /* CONNECTION GRID */ .connection-grid { display: grid; gap: 16px; } .connection-item { background: var(--bg); border-radius: 12px; padding: 20px; border-left: 4px solid var(--primary); display: flex; justify-content: space-between; align-items: center; transition: all 0.2s; } .connection-item:hover { background: var(--bg-secondary); transform: translateX(4px); } .connection-item.active { border-left-color: var(--success); } .connection-item.disconnected { border-left-color: var(--danger); opacity: 0.6; } .connection-info { flex: 1; } .connection-name { font-size: 18px; font-weight: 600; margin-bottom: 8px; display: flex; align-items: center; gap: 10px; } .connection-status { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 6px; font-size: 11px; font-weight: 600; text-transform: uppercase; } .connection-status.active { background: rgba(16, 185, 129, 0.2); color: var(--success); } .connection-status.disconnected { background: rgba(239, 68, 68, 0.2); color: var(--danger); } .connection-details { display: flex; gap: 20px; font-size: 13px; color: var(--text-secondary); margin-top: 8px; } .connection-detail { display: flex; align-items: center; gap: 6px; } .connection-tools { margin-top: 12px; } .tools-list { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 6px; } .tool-badge { padding: 3px 8px; background: rgba(59, 130, 246, 0.2); color: var(--primary); border-radius: 4px; font-size: 11px; font-family: 'Monaco', 'Consolas', monospace; } .connection-stats { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; } .connection-metric { text-align: right; } .connection-metric-value { font-size: 24px; font-weight: 700; color: var(--primary); } .connection-metric-label { font-size: 11px; color: var(--text-secondary); text-transform: uppercase; } /* SCROLLBAR */ ::-webkit-scrollbar { width: 10px; height: 10px; } ::-webkit-scrollbar-track { background: var(--bg); } ::-webkit-scrollbar-thumb { background: var(--border); border-radius: 5px; } ::-webkit-scrollbar-thumb:hover { background: var(--surface-hover); }

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/pablicio/my-mcp'

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