Skip to main content
Glama

Office MCP Server

by walkingzzzy
ChatPanel.css4.46 kB
.chat-panel { display: flex; flex-direction: column; height: 100%; background: #ffffff; border-radius: 8px; box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1); } .chat-header { padding: 16px; border-bottom: 1px solid #e1e5e9; background: #f8f9fa; border-radius: 8px 8px 0 0; } .chat-header h3 { margin: 0; font-size: 16px; font-weight: 600; color: #323130; } .error-banner { margin-top: 8px; padding: 8px 12px; background: #fef2f2; border: 1px solid #fecaca; border-radius: 4px; color: #dc2626; font-size: 14px; } .messages-container { flex: 1; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 12px; } .empty-state { display: flex; flex-direction: column; align-items: center; justify-content: center; height: 100%; color: #6b7280; text-align: center; } .empty-icon { font-size: 48px; margin-bottom: 16px; } .empty-state p { margin: 4px 0; } .empty-hint { font-size: 14px; color: #9ca3af; } .message { max-width: 80%; margin-bottom: 8px; } .message.user { align-self: flex-end; background: #0078d4; color: white; border-radius: 18px 18px 4px 18px; padding: 12px 16px; } .message.assistant { align-self: flex-start; background: #f3f2f1; color: #323130; border-radius: 18px 18px 18px 4px; padding: 12px 16px; } .message.system { align-self: center; background: #fff4e6; color: #d97706; border-radius: 12px; padding: 8px 12px; font-size: 14px; max-width: 90%; } .message.error { align-self: center; background: #fef2f2; color: #dc2626; border-radius: 12px; padding: 8px 12px; font-size: 14px; max-width: 90%; } .message-header { display: flex; align-items: center; gap: 8px; margin-bottom: 4px; font-size: 12px; opacity: 0.7; } .message-icon { font-size: 14px; } .message-time { font-size: 11px; } .message-status { font-size: 11px; font-weight: 500; } .message-status.sending { color: #f59e0b; } .message-status.failed { color: #dc2626; } .message-content { line-height: 1.4; word-wrap: break-word; } .message-progress { margin-top: 8px; display: flex; align-items: center; gap: 8px; } .progress-bar { flex: 1; height: 4px; background: rgba(255, 255, 255, 0.3); border-radius: 2px; overflow: hidden; } .progress-fill { height: 100%; background: #10b981; transition: width 0.3s ease; } .progress-text { font-size: 11px; font-weight: 500; } .loading .message-content { display: flex; align-items: center; } .typing-indicator { display: flex; gap: 4px; align-items: center; } .typing-indicator span { width: 6px; height: 6px; background: #6b7280; border-radius: 50%; animation: typing 1.4s infinite ease-in-out; } .typing-indicator span:nth-child(2) { animation-delay: 0.2s; } .typing-indicator span:nth-child(3) { animation-delay: 0.4s; } @keyframes typing { 0%, 60%, 100% { transform: translateY(0); opacity: 0.5; } 30% { transform: translateY(-10px); opacity: 1; } } .input-form { padding: 16px; border-top: 1px solid #e1e5e9; background: #ffffff; border-radius: 0 0 8px 8px; } .input-container { display: flex; gap: 8px; align-items: flex-end; } .message-input { flex: 1; min-height: 40px; max-height: 120px; padding: 10px 12px; border: 1px solid #d1d5db; border-radius: 20px; resize: none; font-family: inherit; font-size: 14px; line-height: 1.4; outline: none; transition: border-color 0.2s; } .message-input:focus { border-color: #0078d4; box-shadow: 0 0 0 2px rgba(0, 120, 212, 0.1); } .message-input:disabled { background: #f3f2f1; color: #a19f9d; cursor: not-allowed; } .send-button { width: 40px; height: 40px; border: none; background: #0078d4; color: white; border-radius: 50%; cursor: pointer; display: flex; align-items: center; justify-content: center; font-size: 16px; transition: background-color 0.2s; } .send-button:hover:not(:disabled) { background: #106ebe; } .send-button:disabled { background: #d1d5db; cursor: not-allowed; } /* 滚动条样式 */ .messages-container::-webkit-scrollbar { width: 6px; } .messages-container::-webkit-scrollbar-track { background: #f1f1f1; border-radius: 3px; } .messages-container::-webkit-scrollbar-thumb { background: #c1c1c1; border-radius: 3px; } .messages-container::-webkit-scrollbar-thumb:hover { background: #a8a8a8; }

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/walkingzzzy/office-mcp'

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