Get all MCP servers configured for an agent.
Args: agent_id: The ID of the agent status: Optional filter by connection status user_id: The user ID of the current user organization_id: The organization ID of the current user
Returns: List of MCP servers
Raises: HTTPException: If agent not found or access denied
Filter by connection status
Successful Response
Display name of the MCP server
URL of the MCP server
Unique identifier for the MCP server
ID of the agent this MCP server belongs to
When the MCP server was configured
When the MCP server was last updated
Authentication configuration for the MCP server
The endpoint path for tool discovery, defaults to /tools
URL for health check endpoint
Connection status: 'connected', 'disconnected', 'error'
Timestamp of the last health check
Whether the MCP server is enabled for use by the agent
Timestamp when the server was soft-deleted
The timestamp when the OAuth access token expires