Skip to main content
Glama
masx200

Persistent Terminal MCP Server

by masx200
styles.css5.53 kB
* { margin: 0; padding: 0; box-sizing: border-box; } body { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, sans-serif; background: #1e1e1e; color: #d4d4d4; line-height: 1.6; } .container { max-width: 1200px; margin: 0 auto; padding: 20px; } /* Header */ .header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 30px; padding-bottom: 20px; border-bottom: 2px solid #333; } .header h1 { font-size: 28px; color: #fff; } .header-actions { display: flex; gap: 10px; } /* Stats */ .stats { display: flex; gap: 30px; margin-bottom: 30px; padding: 20px; background: #252526; border-radius: 8px; } .stat-item { display: flex; flex-direction: column; } .stat-label { font-size: 12px; color: #888; text-transform: uppercase; } .stat-value { font-size: 24px; font-weight: bold; color: #4ec9b0; } /* Buttons */ .btn { padding: 10px 20px; border: none; border-radius: 4px; font-size: 14px; font-weight: 500; cursor: pointer; transition: all 0.2s; } .btn-primary { background: #0e639c; color: white; } .btn-primary:hover { background: #1177bb; } .btn-secondary { background: #3c3c3c; color: white; } .btn-secondary:hover { background: #505050; } .btn-danger { background: #f14c4c; color: white; } .btn-danger:hover { background: #ff6b6b; } .btn-small { padding: 6px 12px; font-size: 12px; } /* Terminal List */ .terminal-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(350px, 1fr)); gap: 20px; } .terminal-card { background: #252526; border: 1px solid #3c3c3c; border-radius: 8px; padding: 20px; transition: all 0.2s; } .terminal-card:hover { border-color: #0e639c; transform: translateY(-2px); box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3); } .terminal-card-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 15px; } .terminal-id { font-family: "Courier New", monospace; font-size: 12px; color: #4ec9b0; cursor: pointer; } .terminal-id:hover { text-decoration: underline; } .status-badge { padding: 4px 8px; border-radius: 4px; font-size: 11px; font-weight: 600; text-transform: uppercase; } .status-active { background: #4ec9b0; color: #000; } .status-inactive { background: #888; color: #fff; } .status-terminated { background: #f14c4c; color: #fff; } .terminal-info { margin-bottom: 15px; } .terminal-card .terminal-info { display: block; } .info-row { display: flex; align-items: baseline; margin-bottom: 8px; font-size: 13px; gap: 10px; } .info-label { color: #888; flex-shrink: 0; } .info-value { color: #d4d4d4; font-family: "Courier New", monospace; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 100%; text-align: right; flex: 1; min-width: 0; } .terminal-actions { display: flex; gap: 8px; margin-top: 15px; padding-top: 15px; border-top: 1px solid #3c3c3c; } /* Empty State */ .empty-state { text-align: center; padding: 60px 20px; color: #888; display: none; } .empty-state.show { display: block; } /* Modal */ .modal { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0, 0, 0, 0.7); z-index: 1000; align-items: center; justify-content: center; } .modal.show { display: flex; } .modal-content { background: #252526; padding: 30px; border-radius: 8px; width: 90%; max-width: 500px; border: 1px solid #3c3c3c; } .modal-content h2 { margin-bottom: 20px; color: #fff; } .form-group { margin-bottom: 20px; } .form-group label { display: block; margin-bottom: 8px; color: #d4d4d4; font-size: 14px; } .form-group input { width: 100%; padding: 10px; background: #1e1e1e; border: 1px solid #3c3c3c; border-radius: 4px; color: #d4d4d4; font-size: 14px; } .form-group input:focus { outline: none; border-color: #0e639c; } .form-actions { display: flex; gap: 10px; justify-content: flex-end; margin-top: 30px; } /* Terminal Page */ .terminal-page { height: 100vh; display: flex; flex-direction: column; padding: 20px; } .terminal-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; padding-bottom: 15px; border-bottom: 2px solid #333; } .terminal-header .terminal-info { display: flex; align-items: center; gap: 15px; } .back-link { color: #4ec9b0; text-decoration: none; font-size: 14px; } .back-link:hover { text-decoration: underline; } .terminal-header h2 { font-size: 20px; color: #fff; } .terminal-details { display: flex; gap: 30px; margin-bottom: 20px; padding: 15px; background: #252526; border-radius: 8px; font-size: 13px; } .detail-item { display: flex; gap: 8px; } .detail-label { color: #888; font-weight: 600; } #terminal-container { flex: 1; background: #000; border-radius: 8px; padding: 10px; overflow: hidden; } .input-container { display: flex; gap: 10px; margin-top: 15px; } #command-input { flex: 1; padding: 12px; background: #1e1e1e; border: 1px solid #3c3c3c; border-radius: 4px; color: #d4d4d4; font-family: "Courier New", monospace; font-size: 14px; } #command-input:focus { outline: none; border-color: #0e639c; } /* Loading */ .loading { text-align: center; padding: 40px; color: #888; }

Latest Blog Posts

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/masx200/persistent-terminal-mcp'

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