🔧 refactor: Integrate MCPPanel with new MCP components

- **Unified UI Components**: Replace custom MCPVariableEditor with CustomUserVarsSection and ServerInitializationSection for consistent design across all MCP interfaces
- **Real-Time Status Indicators**: Add live connection status badges and set/unset authentication pills to match MCPConfigDialog functionality
- **Enhanced OAuth Support**: Integrate ServerInitializationSection for proper OAuth flow handling in side panel
This commit is contained in:
Dustin Healy 2025-07-21 07:47:33 -07:00 committed by Danny Avila
parent b1e346a225
commit 5e2b6e8eb5
No known key found for this signature in database
GPG key ID: BF31EEB2C5CA0956
6 changed files with 168 additions and 202 deletions

View file

@ -223,7 +223,6 @@ const getAvailableTools = async (req, res) => {
// Handle MCP servers with customUserVars (user-level auth required)
if (serverConfig.customUserVars) {
logger.warn(`[getAvailableTools] Processing user-level MCP server: ${serverName}`);
const customVarKeys = Object.keys(serverConfig.customUserVars);
// Build authConfig for MCP tools
toolToAdd.authConfig = Object.entries(serverConfig.customUserVars).map(([key, value]) => ({