File size: 2,317 Bytes
24caae0
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
/* MCP Tools Styling */

.mcp-tools-button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 4px;
  background-color: #f0f0f0;
  border: 1px solid #ddd;
  cursor: pointer;
  font-size: 18px;
  transition: background-color 0.2s;
}

.mcp-tools-button:hover {
  background-color: #e0e0e0;
}

.mcp-tools-panel {
  margin-top: 10px;
  padding: 15px;
  border: 1px solid #ddd;
  border-radius: 6px;
  background-color: #f9f9f9;
}

.mcp-tools-panel h3 {
  margin-top: 0;
  margin-bottom: 10px;
  font-size: 16px;
  font-weight: 600;
}

.mcp-tools-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 12px;
  max-height: 300px;
  overflow-y: auto;
  padding-right: 5px;
}

.mcp-tool-item {
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 4px;
  background-color: white;
}

.mcp-tool-header {
  display: flex;
  align-items: center;
  margin-bottom: 5px;
}

.mcp-server-name {
  margin-left: 5px;
  font-size: 12px;
  color: #666;
}

.mcp-tool-description {
  font-size: 13px;
  color: #444;
  margin-bottom: 10px;
}

.mcp-tool-execute-button {
  padding: 5px 10px;
  background-color: #3e6ae1;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 13px;
}

.mcp-tool-execute-button:hover {
  background-color: #2a56c8;
}

.close-mcp-tools-button {
  margin-top: 10px;
  padding: 5px 10px;
  background-color: #f0f0f0;
  border: 1px solid #ddd;
  border-radius: 4px;
  cursor: pointer;
  font-size: 13px;
}

.close-mcp-tools-button:hover {
  background-color: #e0e0e0;
}

.no-tools-message {
  color: #666;
  font-style: italic;
  text-align: center;
  padding: 20px;
}

/* MCP Message Styling */
.message .mcp-tool-execution {
  background-color: #f0f8ff;
  border-left: 3px solid #3e6ae1;
  padding: 8px 12px;
  margin-bottom: 5px;
  font-family: monospace;
  font-size: 13px;
}

.message .mcp-result {
  background-color: #f5f5f5;
  border-left: 3px solid #4caf50;
  padding: 8px 12px;
  margin-top: 5px;
  font-family: monospace;
  font-size: 13px;
  white-space: pre-wrap;
  overflow-x: auto;
}

.message .mcp-error {
  background-color: #fff0f0;
  border-left: 3px solid #f44336;
  padding: 8px 12px;
  margin-top: 5px;
  font-family: monospace;
  font-size: 13px;
}